[osg-users] SceneView and Multi-camera render to texture

Argentieri, John-P63223 John.Argentieri at gdc4s.com
Mon Mar 17 13:53:03 PDT 2008


Robert,

I don't disagree with you, BUT we have certain requirements that we
would need from osgViewer in that case.

1) The window it runs in has already been created by us before calling
run().
2) Do we really have to extend GraphicsWindowEmbedded if we want to
support [1] for 		X11 and Win32?
3) Multiple views (windows) attached to one scene graph.
4) The ability to scrap all osg handlers for events, or to leave out
osgGA completely.
5) We need to dynamically modify the scene graph. If [3] is
multi-threaded that could be trouble.

Will osgViewer support these requirements? Is is possible to create a
single instance of osgViewer and add osg::Camera subtrees per each new
window during runtime?

P.S. Our network has problems with lists.openscenegraph.org, and I am
sending to osg-users at openscenegraph.org instead. Has this changed again?

Thanks,

John Argentieri
Software Engineer
GENERAL DYNAMICS
C4 Systems 
(407) 281-5568
John.Argentieri at gdc4s.com

"This email message is for the sole use of the intended recipient(s) and
may contain GDC4S confidential or privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If
you are not an intended recipient, please contact the sender by reply
email and destroy all copies of the original message."

-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Robert
Osfield
Sent: Monday, March 17, 2008 3:28 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] SceneView and Multi-camera render to texture

Hi John,

As you are rolling your own viewer its really open ended how you are
doing things, so its hard to know where to start.  Are you using
pbuffers?  frame buffer objects?   How are you creating graphic
contexts?

Personally I'd recommend using osgViewer, it does mean that you know
it'll work and providing support at our end is much more sane as we
won't have to ask dozens of question trying to work out what setup you
have.  Rolled you own viewer is really expensive for us to support.

Robert.

On Mon, Mar 17, 2008 at 5:46 PM, Argentieri, John-P63223
<John.Argentieri at gdc4s.com> wrote:
>
>
>
> Robert and pals,
>
> We are using osg 2.0. I am trying to duplicate the behavior of the 
> osgdistortion example, but we are using osgUtil::SceneView and not 
> osgViewer::Viewer.
>
> I have been unable to mimic the behavior of the example. If I set my 
> texture camera to PRE_RENDER, all I get is a blank quad set to the 
> color of the osg::geometry. If I set it to NESTED_RENDER, which is 
> wrong, I think it draws the texture to the back buffer, because I can
see it on the screen.
>
> Can anyone offer me some advice in this area?
>
> Thanks for your help....
>
> John Argentieri
> Software Engineer
> GENERAL DYNAMICS
> C4 Systems
> (407) 281-5568
> John.Argentieri at gdc4s.com
>
> "This email message is for the sole use of the intended recipient(s) 
> and may contain GDC4S confidential or privileged information. Any 
> unauthorized review, use, disclosure or distribution is prohibited. If

> you are not an intended recipient, please contact the sender by reply 
> email and destroy all copies of the original message."
> _______________________________________________
>  osg-users mailing list
>  osg-users at lists.openscenegraph.org
>  
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.
> org
>
>
_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g


More information about the osg-users mailing list