Hi Stacho, I also have a NVidia card in my computer! Does it help if I send you the output from the compilling? Can it be that it has to do with the changed Makefile (removed -lvtkjpeg -lvtkpng -lktkzlib)? Greetings Wolfgang Stacho Mudrak wrote:
I am almost sure this is not the case on Linux system - it was (still is???) a limitation of Win32 OpenGL. But loch does this interpolation internally - it scales every image to a square 2^n pixel size, before it use it as a texture.
I do not know where the problem on Linux is - it has probably something to do with Linux OpenGL architecture - on both other platforms (Win32 and Mac OS X), texture mapping works as expected. And it works on Linux also - at home I have NVidia OpenGL driver (with NVidia OpenGL shared library) and there it works also.
OK, I will try to install some plain Linux without hardware acceleration and debug it.
Regards, S.
Philip Schuchardt wrote:
I think I explained it wrong???
Your image dimesion needs to be a factor of 2.
Examples: overlay.png has a dimesion of 128x128 or overlay2.png has a dimesion of 512x256
Is that what your doing?
You can easily re-scale the images using gimp.
Philip Schuchardt
On Sunday 15 April 2007 4:55 pm, Wolfgang Zillig wrote:
it does not change much: it is still gray but in some cases strange triangles occur.
I've tested 0.5 2 4 and 8 as factors. But with 8x the limits of my computer seem to be almost reached.
Any other ideas? Greetings Wolfgang
PS: I'm using 0.5.0 v of therion. Has something changed in the development version?
Philip Schuchardt wrote:
You have interpolate the pixel graphics.
On Sunday 15 April 2007 4:13 pm, Wolfgang Zillig wrote:
Hi Philip,
what do I have to do? Interpolating the pixel graphic or changing something in my .th file?
Greetings Wolfgang
Philip Schuchardt wrote:
Ahh. The linux version of loch has a bug preventing rendering correct texture mapping. I think it has to do with openGL problem factor of 2 texture mapping. The textures dimensions need to be a factor of 2. I'm just guessing that this is the problem. Try to re-scale your overlay to be a factor of 2(1, 2, 8, 16, 32, 64, 128 ... etc). Tell us if it works.
Philip Schuchardt
On Sunday 15 April 2007 3:30 pm, Wolfgang Zillig wrote:
> I had to adapt the path to vtk and remove -lvtkjpeg -lvtkpng -lktkzlib > from the makefile. (the terminal was not configured to scroll through > so many lines and therefore I did not see the uppermost error) . There > were a lot of warnings like: "warning: dereferencing type-punned > pointer will break strict-aliasing rules" during compillation. If > needed I can send you the full screen output. > > I can compile my project but the surface graphic is missing! Only a > gray surface is displayed. Is this due to the skipped parameter > -lvtkjpeg? Do I need to compile vtk from sources? I've installed > libvtk5 and libvtk5-dev (5.0.2-4ubuntu1). > > Thanks for any help > Wolfgang > > Stacho Mudrak wrote: > >> I am not sure, but probably loch compilation does not work by >> default. List of libraries needed for loch is at loch/README. >> >> Regards, S. >> >> Wolfgang Zillig wrote: >> >>> Hi, >>> >>> is there somewhere a list with all the libraries that are needed to >>> compile therion under linux? Or a kind of manual? >>> >>> I just tried "make" but I'm getting errors, so I suppose that I miss >>> some libraries. >>> >>> Greetings >>> Wolfgang >>> _______________________________________________ >>> Therion mailing list >>> Therion@speleo.sk >>> http://www.speleo.sk/mailman/listinfo/therion >>> >> _______________________________________________ >> Therion mailing list >> Therion@speleo.sk >> http://www.speleo.sk/mailman/listinfo/therion >> > _______________________________________________ > Therion mailing list > Therion@speleo.sk > http://www.speleo.sk/mailman/listinfo/therion > _______________________________________________ Therion mailing list Therion@speleo.sk http://www.speleo.sk/mailman/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk http://www.speleo.sk/mailman/listinfo/therion
Therion mailing list Therion@speleo.sk http://www.speleo.sk/mailman/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk http://www.speleo.sk/mailman/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk http://www.speleo.sk/mailman/listinfo/therion