[osg-users] osg::CameraNode doesn't render the scene behind the osgProducer::Camera
don at andesengineering.com
Wed Sep 19 16:11:45 PDT 2007
I would suggest that you post this question on the Producer list. Robert
has dropped Producer and support for osgProducer along with it. There are
those of us on that list that will attempt to answer your question beyond
the suggestion of upgrading.
On 9/19/07, "zarrandreas" wrote:
> Thanks for the tip, but I can't use osgViewer, because I use custom
> framework and this framework use osgProducer::Viewer.
> The Prerender Example in osg framework use also osgProducer::Camera and
> osg::CameraNode to render the scene to the texture. Maybe the problem is
> the using of the screen aligned quad (=> I align the quad to the screen in
> the vertex shader).
> -----Original Message-----
> From: osg-users-bounces at lists.openscenegraph.org
> [mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Robert
> Sent: Wednesday, September 19, 2007 7:20 PM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] osg::CameraNode doesn't render the scene behind
> On 9/19/07, zarrandreas <zarrandreas at web.de> wrote:
> > Hello,
> > I use osg::CameraNode to render the scene to a texture, and then I
> > this texture on the screen aligned quad.
> > Problem: If I fly throw the scene, osg::CameraNode don't display
> > 1) The osg::CameraNode clips the scene and this is the reason, why it
> > doesn't display anything
> > 2) osg::CameraNode has position and the osgProducer::Camera clips the
> > osg::CameraNode, because osg::CameraNode is behind the
> > osgProducer::CameraNode.
> > What do you think? What can it be?
> What do I think? I'm confused.
> BTW, try updating to 2.x and use osgViewer rather than osgProducer, it
> might not directly solve your problem but it should clear up some of
> the confusion over different camera classes as there is just one -
> osg::Camera ( what was called CameraNode).
> osg-users mailing list
> osg-users at lists.openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users