Re: [osg-users] [osgPlugins] DDS Texture vanish with LINEAR_MIPMAP_LINEAR

2013-01-10 Thread Christian Schulte
Hi, I just tried the compilation of my test code on Microsoft Visual C++, and the problem does not appear so it seems gcc linked... I will try to recompile OSG on my different platforms using cmath in osg/Math, hoping we don't see any other bugs. Will keep you informed later today.

Re: [osg-users] [osgPlugins] DDS Texture vanish with LINEAR_MIPMAP_LINEAR

2013-01-10 Thread Sebastian Messerschmidt
Hi, I can confirm that it is working correctly on MS Visual C++ 2005 and 2010. Platform is Win7 cheers Sebastian Hi, I just tried the compilation of my test code on Microsoft Visual C++, and the problem does not appear so it seems gcc linked... I will try to recompile OSG on my different

[osg-users] getting eye- up- and center-vector from viewer with trackballmanipulator

2013-01-10 Thread DavidHornung
Hello, i am able to read my eye- up- and center-vector from my json config file an set this to homeposition from trackball manipulator. How Can I save/print the acutal values if i changes the view with the mouse? Cheers, David ___ osg-users

Re: [osg-users] getting eye- up- and center-vector from viewer with trackballmanipulator

2013-01-10 Thread Carlos Reig Matut
Have you tried with viewer.getCamera()-getViewMatrixAsLookAt(eye, angle, up) ? Carlos On 10 January 2013 10:04, DavidHornung horn...@googlemail.com wrote: Hello, i am able to read my eye- up- and center-vector from my json config file an set this to homeposition from trackball manipulator.

Re: [osg-users] getting eye- up- and center-vector from viewer with trackballmanipulator

2013-01-10 Thread DavidHornung
thank you, that was it ! Have you tried with viewer.getCamera()-getViewMatrixAsLookAt(eye, angle, up) ? Carlos On 10 January 2013 10:04, DavidHornung horn...@googlemail.com wrote: Hello, i am able to read my eye- up- and center-vector from my json config file an set this to homeposition

Re: [osg-users] [osgPlugins] DDS Texture vanish with LINEAR_MIPMAP_LINEAR

2013-01-10 Thread Christian Schulte
Robert, I just tried another solution, which works and is maybe, let's say, more correct from a coding point of view. Indeed, we want to floor a division of two floats, so we should logically use floorf instead of floor, because in math.h floor is only double. That's also the reason we don't

Re: [osg-users] invalid enumerant with optimization MERGE_GEOMETRY and MAKE_FAST_GEOMETRY

2013-01-10 Thread Christian Schulte
Hi all, I bring up this post again to see if someone else than me has this problem. I still have this kind of problem with the trunk of OSG, and I don't know why this really happens... The only actual solution is OSG_OPTIMIZER="DEFAULT

Re: [osg-users] Video textures on iOS (and audio)

2013-01-10 Thread Alessandro Terenzi
Hi Stefan, thanks for the explanation, I will try to follow your suggestion. Alessandro -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51871#51871 ___ osg-users mailing list

Re: [osg-users] [osgPlugins] DDS Texture vanish with LINEAR_MIPMAP_LINEAR

2013-01-10 Thread Robert Osfield
Hi Christian, On 10 January 2013 09:31, Christian Schulte christian.schu...@onera.fr wrote: I just tried another solution, which works and is maybe, let's say, more correct from a coding point of view. Indeed, we want to floor a division of two floats, so we should logically use floorf instead

Re: [osg-users] invalid enumerant with optimization MERGE_GEOMETRY and MAKE_FAST_GEOMETRY

2013-01-10 Thread Robert Osfield
Hi Christian, On 10 January 2013 09:46, Christian Schulte christian.schu...@onera.fr wrote: I bring up this post again to see if someone else than me has this problem. I still have this kind of problem with the trunk of OSG, and I don't know why this really happens... The only actual solution

Re: [osg-users] invalid enumerant with optimization MERGE_GEOMETRY and MAKE_FAST_GEOMETRY

2013-01-10 Thread Christian Schulte
Hi Robert, yes I also tried on this little code to make an osgconv, that's the way I used to find that the problem comes from the PrimitiveSets. The file generated by osgconv merges the two primitiveSets in only one, ie : Before :

[osg-users] about the OSG SVG plugin

2013-01-10 Thread Gianluca Natale
Hi all, I'm trying to use the OSG SVG plugin to read some .svg file, to be used as textures on some surfaces. Since .svg is a 'vector' graphic format, it could be rasterized at any resolution. So, I should be able to ask any desired size for the image read by the plugin. I'm using following

[osg-users] Trackball Manipulator change FOV

2013-01-10 Thread DavidHornung
Hello, please correct me if I should be false. With the trackball manipulator i can change the UpVector, the Position, and the Point the camera is looking at. Can I Also change the Perspective Projection Matrix, espacially the vertical FOV ? Thank you! David

Re: [osg-users] Trackball Manipulator change FOV

2013-01-10 Thread Robert Osfield
Hi David, On 10 January 2013 12:43, DavidHornung horn...@googlemail.com wrote: please correct me if I should be false. With the trackball manipulator i can change the UpVector, the Position, and the Point the camera is looking at. Can I Also change the Perspective Projection Matrix,

[osg-users] Cross-compiling from XP64 for Windows 7 64: Crashing when rendering with shaders

2013-01-10 Thread Johannes Scholz
Hi, we have a sort of cross-compiling problem in our software. Our developer systems are Windows XP 64-Bit. Using the NVidia Cuda 4.0 Developer Driver. Using 3rdparty binaries from Alphapixel for Visual Studio 2008 Express. Now we recently tested to run the application on a machine running

Re: [osg-users] Cross-compiling from XP64 for Windows 7 64: Crashing when rendering with shaders

2013-01-10 Thread Johannes Scholz
Hi, I just tried the following: Build a naked OSG-3.1.2 using VS2008 Express with Alphapixel binaries on Xp-64 Ran it on Win7-64: osgviewer test_geometry.osg - Crash Build a naked OSG-3.0.1 using VS2008 Express with Alphapixel binaries on Xp-64 Ran it on Win7-64: osgviewer test_geometry.osg -

Re: [osg-users] Cross-compiling from XP64 for Windows 7 64: Crashing when rendering with shaders

2013-01-10 Thread Johannes Scholz
Hi, Jesus. I'm now compiling any OSG release from 3.0.1 to trunk to see where the error occurs first. Hopefully tomorrow I'll find something. Meanwhile I'd be glad for recommendations... Thank you! Cheers, Johannes --- Johannes Scholz Software Engineer P3 Voith

[osg-users] R: about the OSG SVG plugin

2013-01-10 Thread Gianluca Natale
Sorry for that silly question, I just realized that I have to pass the required dimensions in 'options' in osgDB::readImageFile(filename, options). Da: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] Per conto di Gianluca Natale Inviato: giovedì 10

[osg-users] seg fault with text-setText(mystring) called in NodeCallback

2013-01-10 Thread DavidHornung
Hello, i have a seg fault because the osgText::Text::setText(std::string) is not thread-save. It appears from type to time Why get I this seg fault sometimes? I have the following setup class ObjectGroup : public osg::Group { ... ObjectGroup() { ... text =

Re: [osg-users] seg fault with text-setText(mystring) called in NodeCallback

2013-01-10 Thread Robert Osfield
Hi David, Best guess would be that you are running the viewer multi-threaded (it's default if you have a multicore processor) and the update traversal to the text is occurring at the same time as the draw traversal that is reading. The solution is to tell the scene graph that you plan to

Re: [osg-users] Cross-compiling from XP64 for Windows 7 64: Crashing when rendering with shaders

2013-01-10 Thread Chris Hanson
You're just using the AlphaPixel 3rdparty library binaries then? On Thu, Jan 10, 2013 at 8:36 AM, Johannes Scholz osg-supp...@vtxtech.netwrote: Hi, Jesus. I'm now compiling any OSG release from 3.0.1 to trunk to see where the error occurs first. Hopefully tomorrow I'll find something.

Re: [osg-users] Cross-compiling from XP64 for Windows 7 64: Crashing when rendering with shaders

2013-01-10 Thread Johannes Scholz
Chris Hanson wrote: You're just using the AlphaPixel 3rdparty library binaries then? Yes, Alphapixel only. --- Johannes Scholz Software Engineer P3 Voith Aerospace GmbH, Bremen, Germany -- Read this topic online here:

Re: [osg-users] Cross-compiling from XP64 for Windows 7 64: Crashing when rendering with shaders

2013-01-10 Thread Chris Hanson
If you turn up the OSG notification level to DEBUG_FP, do you get any useful information before/at the crash? On Thu, Jan 10, 2013 at 10:55 AM, Johannes Scholz osg-supp...@vtxtech.netwrote: Chris Hanson wrote: You're just using the AlphaPixel 3rdparty library binaries then? Yes,

Re: [osg-users] Which GPGPU postprocessing method is best for me?

2013-01-10 Thread Ethan Fahy
Thanks Wang Rui, I had a look at the effectscompositor code but I wanted to start with something simpler at first so I went to your cookbook. I followed the NVG example from chapter 6 of your cookbook in order to create a render to texture camera to write the scene to, then a hud camera to

[osg-users] OSG and Android

2013-01-10 Thread Jason Daly
Hi, all, I had a question about compiling OSG on Android. I understand that the current advice is to build static libraries instead of shared. I was just wondering why this was the case. Is there some reason that the OSG can't be built with shared libraries instead? The main reason I'm

[osg-users] Loading Model in OSG with android

2013-01-10 Thread Sahar Aseeri
Hello, I have question I need to use OSG on android and on the PC and then I will connect the android with PC by using TCP/IP protocol... the problem is I have object .obj when I use it with the OSG on PC it is work, but when I use the same object on the android there is nothing on the screen...

Re: [osg-users] OSG and Android

2013-01-10 Thread Jorge Izquierdo Ciges
Because the shared linker at execution time in Android works as hell on a bench. It just doesn't call the dependencies of a library... and also your shared libraries are not installed on the system... etc The system is just not friendly to use shared libraries. Can OSG be used as a shared

Re: [osg-users] OSG and Android

2013-01-10 Thread Jason Daly
On 01/10/2013 05:16 PM, Jorge Izquierdo Ciges wrote: Because the shared linker at execution time in Android works as hell on a bench. It just doesn't call the dependencies of a library... and also your shared libraries are not installed on the system... etc The system is just not friendly

Re: [osg-users] OSG and Android

2013-01-10 Thread Jan Ciger
On 01/10/2013 11:49 PM, Jason Daly wrote: OK, if that's all it is, I'm going to give it a shot. After fighting a bit with the platform, we've had some luck with getting other libraries working as shared libraries, so I think we'll be OK here. It's compiling now and seems to be reasonably

Re: [osg-users] Z Buffer Problems

2013-01-10 Thread Jan Ciger
On 01/07/2013 02:56 PM, Robert Osfield wrote: Hi Kevin, From the scant details provided I don't see how others can guess at what the issue might be. The type of difference between the two images could one of many different things, the code segment or description doesn't provide any clues to

Re: [osg-users] OSG and Android

2013-01-10 Thread Jason Daly
On 01/10/2013 06:32 PM, Jan Ciger wrote: On 01/10/2013 11:49 PM, Jason Daly wrote: OK, if that's all it is, I'm going to give it a shot. After fighting a bit with the platform, we've had some luck with getting other libraries working as shared libraries, so I think we'll be OK here. It's

[osg-users] How to get node rotation in world coordinates?

2013-01-10 Thread michael kapelko
Hi. I have one PAT node as child of another one. I've implemented retrieval of its position in world coordinates this way: node-getPosition() * osg::computeLocalToWorld(node-getParentalNodePaths()[0]) This works fine. I've tried the same for rotation: node-getAttitude() *

[osg-users] Osgdem bathymetry problem

2013-01-10 Thread Paul
Hi all, I'm trying to compile blue marble terrain and bathymetry data from two seperate files however its always the last data entered on the command-line that is getting compiled. I thought anything after -d would contribute.. the command I'm using is: Osgdem -d bm-bath-geo.tif

Re: [osg-users] Cross-compiling from XP64 for Windows 7 64: Crashing when rendering with shaders

2013-01-10 Thread Johannes Scholz
Hi Chris, good idea, but actually but does tell me much about the actual problem: Code: OpenGL extension 'GL_ARB_vertex_program' is supported. OpenGL extension 'GL_EXT_secondary_color' is supported. OpenGL extension 'GL_EXT_fog_coord' is supported. OpenGL extension 'GL_ARB_multitexture' is

Re: [osg-users] Osgdem bathymetry problem

2013-01-10 Thread Sebastian Messerschmidt
Hi Paul, any easy workaround is to put your elevation and/or imagery into separate directories and use them as parameters. cheers Sebastian Hi all, I'm trying to compile blue marble terrain and bathymetry data from two seperate files however its always the last data entered on the