Could you please elaborate on this a little bit?  I am trying to do the same 
thing with CompositeViewer (one color buffer and one depth) but seems to have 
similar trouble.  For me the color buffer works but depth buffer doesn't (just 
showing a black background).  


Yeraze wrote:
> Just updating the status.. I finally figured this out, about 2am after 
> several more attempts.
> 
> Basically, I learned that OpenSceneGraph isn't "magic" and simply traverses 
> the graph in order, so I had to be a bit more careful about the order that I 
> did things like constructing GC's, assigning viewports, and attaching to the 
> main graph.
> 
> Also, I finally learned how to use osgViewer::Viewer andm 
> osgViewer::CompositeViewer effectively.. Tu rns out I didn't need a Composite 
> Viewer, I could get my same functionality with multiple contexts/viewports in 
> a single Viewer.. and it's simpler, faster, and less error-prone.
> 
> Liking OSG so far.. Bit of a learning curve from basic OpenGL, but not as bad 
> as I thought once I quit expected it to do magic things for me :)
> 
>  ------------------
> Post generated by Mail2Forum


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=50540#50540





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to