Re: [osg-users] Restoring a Viewer's MatrixManipulator

2009-10-11 Thread J.P. Delport
Hi, also have a look at these old emails. It is still something I want to add to the manipulators to enable smooth switching between them. Basically, the internal state of the manipulator is not fully encoded in the view matrix. http://article.gmane.org/gmane.comp.graphics.openscenegraph.us

Re: [osg-users] Question about switching between MatrixManipulator

2009-10-11 Thread J.P. Delport
Hi, have you tried the home() and setHome() functions? jp Shiina Ringo wrote: Hi, Here just a quetion confused me: I have a KeySwitchMatrixManipulator , which served as a swithcer between 2 MatrixManipulator : a default Trackball and a MatrixManipulator that I defined(bounding to a object) .

[osg-users] VPB: How to get and convert model coordinates?

2009-10-11 Thread Alejandro Aguilar Sierra
Hello: I want to be able to pick local coordinates from a terrain and convert them to model coordinates so I can obtain GIS data from a GIS data base, using those coordinates. Using the osgpick example code, I can get local and world geometries. I suppose I must get the corresponding TerrainTile,

Re: [osg-users] Away on a trip

2009-10-11 Thread Mathias Fröhlich
Have Fun!!! Mathias -- Dr. Mathias Fröhlich, science + computing ag, Software Solutions Hagellocher Weg 71-75, D-72070 Tuebingen, Germany Phone: +49 7071 9457-268, Fax: +49 7071 9457-511 -- Vorstand/Board of Management: Dr. Bernd Finkbeiner, Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Ze

Re: [osg-users] FrameBufferObject is a StateAttribute?

2009-10-11 Thread Paul Martz
Thanks, Art -- I wasn't aware that attaching FBOs to StateSets was supported. There are no examples that demonstrate this usage. I like the idea of leaving FBOs as StateAttributes and forcing the app to set them up explicitly, as opposed to the current FBO handling in Camera and RenderStage wh

Re: [osg-users] Away on a trip

2009-10-11 Thread Paul Martz
Have a good time! Paul Martz Skew Matrix Software LLC _http://www.skew-matrix.com_ +1 303 859 9466 Robert Osfield wrote: Hi All, It's school mid term holidays so my family and I are heading off to see the extended family for the week. I'll be beavering away on

Re: [osg-users] How do I toggle the osgViewer::Viewer full screen mode?

2009-10-11 Thread Ash Pat
Hi J.P. Delport, Thank you. That was very helpful. Cheers, AP -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18185#18185 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.op

[osg-users] Question about implement a Timer thread

2009-10-11 Thread Shiina Ringo
Hi, I just want to make a "Timer" , using the OpenThreads library , for my own animation control method. In other word , I want to make a "Timer thread" , which provide the precision time signal every second. But I have never work on the programming about mult-threads , especially here using th

Re: [osg-users] Away on a trip

2009-10-11 Thread Kim Cheung
Hi Robert, You mention that the problem is hanging somewhere in the new texture object management code; I have seen osgcatch hang on exit before your new object management code was added. This leads me to believe that either the two issues are separate, or they are both related to the same th

Re: [osg-users] txp database issue

2009-10-11 Thread Matt Franklin
Hey gents, I've come across the same problem with txp databases.Thanks so much for the quick fix I have been banging my head against this for a day trying to figure out what triggers it and whether it was my code changes or osg. It is definitely due to changes since 2.6.1. I found it is triggered

Re: [osg-users] New OpenGL texture object and buffer object pool support

2009-10-11 Thread Cedric Pinson
Hi Robert, I think to address the problem but i need to finish other stuff before. A way i thought to resolve that should be to add to osgViewer a cleanup method that would release all singleton and data that make it safe to quit an application. A method like that could be called automatically by

Re: [osg-users] Texture Wrapping Texture2DArray (Clamping doesn't work)

2009-10-11 Thread Johannes Schüth
Hi, i think i found a workaround that will work for me. I just implemented the clamping in my fragment shader myself :) Code: #extension GL_EXT_gpu_shader4 : enable uniform sampler2DArray base_texture; varying vec2 texCoord; void main() { vec4 borderColor =vec

[osg-users] Replaying saved animatio path

2009-10-11 Thread Andreas Goebel
Hi, I have saved an animation path in osgViewer with z , z, after that the animation path is replayed correctly. However, if I want to restart the model with the path via osgviewer -p saved_animathion.path, nothing happens. Am I doing something wrong? Regards, Andreas P.S.: The reason for doi

Re: [osg-users] FrameBufferObject is a StateAttribute?

2009-10-11 Thread Art Tevs
Hi Robert, Paul I think having FBOs as a StateAttribute shouldn't be changed. In this way one can use FBOs also without cameras, which is very appropriate for osgPPU for example. However I think we should change how they are handled by the cameras. Currently there is a problem when mixing FBO