Re: [osg-users] extracting the current image and depth information

2009-12-02 Thread Eric Coppock
Hi, After enough repetitions of using my head as a blunt instrument, I am seeing the results I was looking for. I thought I would post back here a simplified version of the code I'm now using, in case somebody else comes along with the same question I was asking at a very beginner level.

Re: [osg-users] extracting the current image and depth information

2009-12-01 Thread J.P. Delport
Hi, Eric Coppock wrote: Hi, Thank you JP, the osgprerender example application in particular is helping me figure out a lot of stuff. It's taking me a while ... I'm coming up to speed on several things at once, and wading through the callbacks and the reference-counted object stuff is

Re: [osg-users] extracting the current image and depth information

2009-11-25 Thread Eric Coppock
Hi, Thank you JP, the osgprerender example application in particular is helping me figure out a lot of stuff. It's taking me a while ... I'm coming up to speed on several things at once, and wading through the callbacks and the reference-counted object stuff is stretching my brain. With that

[osg-users] extracting the current image and depth information

2009-11-16 Thread Eric Coppock
Hi all, Here's my second question... where I make it painfully obvious just how extremely noob I am with OSG... I have OSGviewer incorporated into my own application, and responding nicely to viewpoint changes coming from a separate flight simulator. I want to extract the current image

Re: [osg-users] extracting the current image and depth information

2009-11-16 Thread J.P. Delport
Hi, a few pointers... For just a screenshot type app, look at osgscreenshot example. To get depth information you would have to attach a texture to a Render to Texture (RTT) camera's depth buffer. An RTT camera can also give you a copy of the rendered view. Search the archives for RTT