Re: [Therion] Problem when compiling on MacOS

2021-06-22 Thread Martin Budaj
Hi,
using cmake instead of make for compilation should help with the issues
related to linking to the external libraries.
M.


On Tue, Jun 22, 2021, 19:30 Philippe Vernant  wrote:

> Hi Martin,
>
> It worked ok for xtherion with the latest commit in the master branch. I
> just have to deal with a vtkHybrid library that doesn’t seems to exist for
> VTK8 or VTK9 releases and I will also have loch.
>
> Thanks a lot for your help !
> Phil
>
>
> > On 18 Jun 2021, at 18:33, Martin Budaj  wrote:
> >
> > Hi,
> >
> > try to compile the latest commit in the master branch, which contains
> > the updated Catch2 library – not sure if the issue has been fixed,
> > though.
> > You can also use cmake to link to the system Catch2 library (details
> > on cmake compilation are in the thbook).
> >
> > Martin
> >
> > On Thu, Jun 17, 2021 at 10:51 PM Philippe Vernant
> >  wrote:
> >>
> >> Hi guys,
> >>
> >> Has anyone been successful compiling xtherion on a Mac with the M1 chip
> and Big Sur ? I can compile and run therion but I have the following error
> message and fail to compile xtherion :
> >>
> >> extern/catch2/catch.hpp:8205:13: error: unrecognized instruction
> mnemonic, did you mean: bit, cnt, hint, ins, not?
> >>CATCH_BREAK_INTO_DEBUGGER();
> >>^
> >> extern/catch2/catch.hpp:7916:83: note: expanded from macro
> 'CATCH_BREAK_INTO_DEBUGGER'
> >>#define CATCH_BREAK_INTO_DEBUGGER() []{ if(
> Catch::isDebuggerActive() ) { CATCH_TRAP(); } }()
> >>
>   ^
> >> extern/catch2/catch.hpp:7881:34: note: expanded from macro 'CATCH_TRAP'
> >>#define CATCH_TRAP() __asm__("int $3\n" : : ) /* NOLINT */
> >> ^
> >> :1:2: note: instantiated into assembly here
> >>int $3
> >>^
> >> 1 error generated.
> >> make: *** [utest-main.o] Error 1
> >>
> >> Thanks,
> >> Phil
> >>
> >> ___
> >> Therion mailing list
> >> Therion@speleo.sk
> >> https://mailman.speleo.sk/listinfo/therion
> > ___
> > Therion mailing list
> > Therion@speleo.sk
> > https://mailman.speleo.sk/listinfo/therion
>
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] xtherion - Multiple background sketches

2021-06-22 Thread Bill Gee
Hi Olly -

Thanks for the hints!  I was able to get several sketches combined in GIMP.  
Looking at the result, it is very obvious that much more work is required in 
the cave.  There is a huge hole in the middle which has no detail at all.  
There are missing walls in several places.

My plan now is to print the combined sketches on a piece of paper.  The next 
survey trip I will draw more on it.  That will then become the background in 
Therion.

The room is not so big as to be a problem in Therion.  It would probably fit in 
a bounding box 25 meters on a side.  That is a large scrap, but I think it 
should be no problem to draw.  The two entrances to the room are well-defined, 
so adding it to the map will be fairly easy.


Bill Gee


On Monday, June 21, 2021 6:24:28 PM CDT Olly Betts wrote:
> On Mon, Jun 21, 2021 at 04:31:45PM -0500, Bill Gee wrote:
> > Now I need to figure out how to set transparency on each layer.
> 
> Bring up the Gimp "Layers" dialog (shortcut key is Ctrl+L) and you can
> click on each layer and drag the "Opacity" slider to make them partly
> transparent.  Or you can change the mode on each layer to "Darken only"
> and the result will be the darkest part of any layer, which is probably
> what you're after (assuming your sketches are dark lines on a white
> background).
> 
> > I wonder if Bruce's faint memory about setting transparency with an
> > external editor worked because of using PNG format?  My own faint
> > memory is that xTherion uses different libraries to handle png and jpg
> > files.  Handling of transparency is probably a feature of the image
> > library rather than xTherion.
> 
> I don't think the standard JPEG format supports transparency.
> 
> Cheers,
> Olly
> 




___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] xtherion - Multiple background sketches

2021-06-22 Thread Martin Sluka via Therion

> 21. 6. 2021 v 23:31, Bill Gee :
> 
>  "Double-right-click" is probably not an accurate description.

I apologize myself for misunderstanding. For me to move an object in an 
application on computer screen is always click or double click, hold and drag 
that object. Sorry again.

When one uses xvi file which includes transparent rectangular grid and 
centerline with stations and splay shots and it is on top of stack of sketches 
and xvi files in scrap setup one may positioned correctly a sketch very easy, 
because stations are visible both on xvi layer and on sketch. Double click with 
right button on particular station on sketch, hold right button and drag mouse 
you may move sketch to correct position. 

Another possible way is to use windows with coordinates of lower bottom corner 
of an object and change them manually. Correct coordinates you may read in 
right lower corner of map editor window, where the coordinates of cursor are 
showed.

And if one uses morphed sketches from xvi, they should fit with all stations on 
that sketch. If one uses extra points splay shots should fit too.

Martin

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] xtherion - Multiple background sketches

2021-06-22 Thread Bruce Mutton
>> Handling of transparency is probably a feature of the image 
>> library rather than xTherion.

>I don't think the standard JPEG format supports transparency.

Correct, jpg does not support transparency, so you must use png to have any 
hope of achieving a transparent background to an image.

Bruce

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion