When using OSG::GrabForeground with OpenSG 2, I find that some parts of the scene graph are not being grabbed. Is there anything besides the traversal mask on the viewport that influences grabbing? The viewport has a traversal mask of 0x1, and as far as I can tell, the nodes that are not being captured have a mask of 0xffffffff. Of the 4151 nodes in the scene graph I just tested, only 4 do not have a mask of 0xfffffff, and those four being included with the image output just as I expect.
In case it makes any difference, the nodes that are being missed are loaded from OSB files. We are using a custom render action, but it is a simple subclass of OSG::RenderAction that adds two data members needed as a conveniences for other parts of our software. The only method that we override is OSG::RenderAction::start(), and that is just so that we can set a value for one of the two added data members. The override calls up to OSG::RenderAction::start() just as it ought to. -Patrick -- Patrick L. Hartling Senior Software Engineer, Priority 5 http://www.priority5.com/ The information transmitted in this communication is intended only for the person or entity to which it is addressed and contains proprietary material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please destroy any copies, contact the sender and delete the material from any computer. ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users