Hello Michael,

On 04/16/2014 04:59 PM, Michael Raab wrote:
>   OSG::VisitSubTreeUnrecPtr fboStageSubTreeVisit =
> OSG::VisitSubTree::create();
>      OSG::NodeUnrecPtr pVisitNode = OSG::Node::create();
>      pVisitNode->setCore(fboStageSubTreeVisit);
>      OSG::StageUnrecPtr pStage = OSG::Stage::create();
>      pStage->setRenderTarget(fbo);
>      OSG::NodeUnrecPtr fboStageNode = OSG::Node::create();
>      fboStageNode->setCore(pStage);
>      fboStageNode->addChild(pVisitNode);

I think there is a call like
fboStageSubTreeVisit->setSubTreeRoot(someNode); is missing, i.e. the 
VisitSubTree has nothing to actually visit.

> There are 2 things that I could discover:
> 1.) I don't get any result :-(
> 2.) And more significant, after the one attempt, my main rendering seems
> to be broken. It starts flickered .. only every second image is rendered
> correctly, the others remain black!

However, 2.) should not happen even in that case; I'll see if I can 
reproduce it.

        Cheers,
                Carsten

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to