Re: [osg-users] Away on a trip

2009-10-12 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

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

2009-10-12 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] Question about switching between MatrixManipulator

2009-10-12 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)

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

2009-10-12 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.

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

2009-10-12 Thread Shiina Ringo
Hi, JP Thanks for your advice. I have tried setHome() befor, and this funtion just set the default view position for the corresponding MatrixManipulator. Here my problem is that: when I hit the button to switch the 2 MatrixManipulator, if I switch the trackball to the manipulator that I

[osg-users] Multiple Windows

2009-10-12 Thread Russell Morris
Hey all, I've been searching the forums this afternoon and can't seem to find the answer to my question. I have a viewer setup with the following: rViewer = new osgViewer::Viewer(); wm = new osgWidget::WindowManager(rViewer, width, height, MASK_2D, osgWidget::WindowManager::PD_NONE);

Re: [osg-users] Screenshot of Current view at specific size using ScreenCaptureHandler

2009-10-12 Thread Jean-Sébastien Guay
Hi Andrew, I'm using the ScreenCaptureHandler to capture a screenshot of the current view and save it to disk. I would ideally like to save at a specific resolution, say 1280x1024, however the handler is saving the image at the current size of the viewer. The ScreenCaptureHandler is not

Re: [osg-users] Screenshot of Current view at specific size using ScreenCaptureHandler

2009-10-12 Thread J.P. Delport
Hi, also see here for inspiration: http://forum.openscenegraph.org/viewtopic.php?t=3482 jp Andrew Thompson wrote: Hi there, I'm using the ScreenCaptureHandler to capture a screenshot of the current view and save it to disk. I would ideally like to save at a specific resolution, say

Re: [osg-users] Screenshot of Current view at specific size using ScreenCaptureHandler

2009-10-12 Thread J.P. Delport
http://article.gmane.org/gmane.comp.graphics.openscenegraph.user/49179/match=osgposter J.P. Delport wrote: Hi, also see here for inspiration: http://forum.openscenegraph.org/viewtopic.php?t=3482 jp Andrew Thompson wrote: Hi there, I'm using the ScreenCaptureHandler to capture a screenshot

[osg-users] Is there any examples about OpenThreads?

2009-10-12 Thread Shiina Ringo
Hi, Here I just need to implement a Timer for my animation control application , using the OpenThreads library. But actually I have found that it is very hard to work on this multi-threads programming for me, especially connected with OSG. So, I just want to find any example programme, which

Re: [osg-users] Is there any examples about OpenThreads?

2009-10-12 Thread Jean-Sébastien Guay
Hi Shiina, So, I just want to find any example programme, which using the OpenThreads library, and It could be very helpful for me. Well technically, the whole of OSG is an example of OpenThreads... But that might not be useful to you since it's a lot of code to look at. Essentially, you

[osg-users] Silouhette computation and osgShadow::OccluderGeometry

2009-10-12 Thread Tanguy Fautre
Hi, I need to check whether an object occludes another object behind it. To do so, I currently use a class derived from osgShadow::OccluderGeometry to compute the occlude silouhette from the camera point of view, and create an osg::Polytope from that silouhette. Going through

Re: [osg-users] SVN commit bottleneck

2009-10-12 Thread Chris 'Xenon' Hanson
Robert Osfield wrote: Reviewing submissions is a double edge sword, as without keeping tabs on what is happening with the code I'm in poorer position to do support and fix bugs. Reviewing submissions is actually it's not the most burdensome side of my work as project lead. Driving releases

Re: [osg-users] Is there any examples about OpenThreads?

2009-10-12 Thread Shiina Ringo
Hi, J-S Thank you for your fantastic advice! Cheers, Shiina -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18209#18209 ___ osg-users mailing list osg-users@lists.openscenegraph.org