Andy Skinner wrote on Wednesday, November 22, 2006 10:51 AM:
> So as I'm setting up the SceneView, I do this:
> ============
> osg::ref_ptr<EraseNoneRenderBin> prototype(new EraseNoneRenderBin());
> osgUtil::RenderBin::addRenderBinPrototype("EraseNoneBin",
> prototype.get());
> ============
> (EraseNoneRenderBin extends RenderBin and implements
> drawImplementation.)
>
>
> As I'm setting up the StateSet for some geometry, I do this:
> ============
> stateset->setRenderBinDetails(2, "EraseNoneBin");
> ============
>
> What am I missing? I'll go look at RegisterRenderBinProxy.
Maybe there's a bug in EraseNoneRenderBin's copy constructor? Did you
implement EraseNoneRenderBin::EraseNoneRenderBin(const
EraseNoneRenderBin&,osg::CopyOp)? Does it copy everything you'd need for
the copy to print out the message you're expecting?
--
Bryan Thrall
FlightSafety International
[EMAIL PROTECTED]
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/