Re: [osg-users] [vpb] Building VPB

2011-11-18 Thread Kevin Smith
I'll answer my own post - found the fix in another post, ( being only my second post, I'm unable to put a link here...) I can now generate nice terrain easily ! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43955#43955 __

Re: [osg-users] osgText and GLES2

2011-11-18 Thread Thomas Hogarth
Any takers ;) I should be able to implement any fix needed, just need a bit of guidance as I'm not too familiar with the internals of osgText. Thanks Tom -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43953#43953

Re: [osg-users] [vpb] Get lat lon of a vertex within a CoordinateSystemNode

2011-11-18 Thread Ethan Fahy
Wait a sec I think I spoke too soon. I used [/code]osg::Matrixd transformMatrix = osg::computeLocalToWorld(this->getNodePath(),true); Code: to create a transform matrix to go from local to world coordinates, but what does world coordinates mean in this case? What if I've read in my ive terr

Re: [osg-users] Menus and Dialog Boxes

2011-11-18 Thread Jason Daly
On 11/18/2011 02:36 PM, dan marshal wrote: Hi, I did a search of this forum, and have not seen anything yet in osg docs to suggest how to add a basic menu or dialog box to an osg application. Short of trying to tie osg with qt does anyone have a simple way to open a file dialog, or simply to

[osg-users] Menus and Dialog Boxes

2011-11-18 Thread dan marshal
Hi, I did a search of this forum, and have not seen anything yet in osg docs to suggest how to add a basic menu or dialog box to an osg application. Short of trying to tie osg with qt does anyone have a simple way to open a file dialog, or simply to change settings? I would like to stay within

Re: [osg-users] [vpb] Get lat lon of a vertex within a CoordinateSystemNode

2011-11-18 Thread Ethan Fahy
Chris 'Xenon' Hanson wrote: > On 11/18/2011 9:23 AM, Ethan Fahy wrote: > > > I think I may have to somehow use the Matrix in the CoordinateSystemNode to > > get out the global xyz values from the vertex coordinates, then convert the > > global coordinates to lat lon using > > osg::EllipsoidMo

Re: [osg-users] [vpb] Get lat lon of a vertex within a CoordinateSystemNode

2011-11-18 Thread Chris 'Xenon' Hanson
On 11/18/2011 9:23 AM, Ethan Fahy wrote: > I think I may have to somehow use the Matrix in the CoordinateSystemNode to > get out the global xyz values from the vertex coordinates, then convert the > global coordinates to lat lon using > osg::EllipsoidModel::convertXYZToLatLongHeight > Is thi

Re: [osg-users] OSG 2.9.10 on iOS

2011-11-18 Thread Büsra Gülten
Hi, I have a question about the CMake variables for iOS Porting. I know that they configure the use of OpenGL ES. But I would like to get more information about each variable. > > -D OSG_BUILD_PLATFORM_IPHONE_SIMULATOR:BOOL=ON \ > -D BUILD_OSG_APPLICATIONS:BOOL=OFF \ > -D OSG_BUILD_FRAMEWORKS

[osg-users] [vpb] Get lat lon of a vertex within a CoordinateSystemNode

2011-11-18 Thread Ethan Fahy
Hello, I have read in an ive terrain database created with the following command: osgdem --geocentric -d dted.geotiff --POLYGONAL --no-terrain-simplification -o terrain.osg What I want to do is find the lat lon of a given vertex within the coordinateSystemNode. I am able to read in the ive as

[osg-users] Carmack rewriting Doom 3 source code to dodge legal issues | VG247

2011-11-18 Thread Chris 'Xenon' Hanson
http://www.vg247.com/2011/11/17/carmack-rewriting-doom-3-source-code-to-askew-legal-issues/ I'm not sure if osgShadow might be impacted, or if it uses this technique at all. -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Digital Imaging. OpenGL.

Re: [osg-users] [osgPPU] FIX: osgPPU rendering not working in the first frame

2011-11-18 Thread Art Tevs
Hi Alex, ok, this is of course pretty bad. Actually, I think the correct way would be to apply the texture to the osg::State within the FBO::apply(). This would ensure that the state is tracked correctly. Of course, unfortunately this requires a patch to the main osg core. In general, I thi

[osg-users] OsgParticles one frame latency ?

2011-11-18 Thread Eric Pouliquen
Hi, I'm using osgParticles to make a smoke trail on a node moving very fast in the scene. It seems particles have one frame latency so that the starting point of the trail is late on the trajectory compared to the moving node. Is it something due to particles architecture ? How to avoid this be

Re: [osg-users] [osgPPU] FIX: osgPPU rendering not working in the first frame

2011-11-18 Thread Alexander Irion
Hello Art, glPushAttrib / glPopAttrib works as well, but it's not available in GLES and I also use osgPPU with GLES. However in GLES there are no 3D textures, only 2D and cube maps. Regards, --Alex -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=

Re: [osg-users] update callback with multiple node path

2011-11-18 Thread Vincent Bourdier
Hi, The update callback is done to be updated each frame in the traverse() method. Rewriting it is necessary to update it. So add a callback on the decorator and update it in traverse() method. Regards, Vincent Le 18/11/2011 09:39, xbee a écrit : Hi all, I'm trying to make "blinking" a part

[osg-users] update callback with multiple node path

2011-11-18 Thread xbee
Hi all, I'm trying to make "blinking" a part of my scene by adding a "decorator" node (a group node with a shader) like this: Original graph root | _ _ | | node1 node2 "decorated" graph root | _ _ _ | | | deco | node2