Hi Cory,
This is expected behaviour as the draw callback is nested within the
code that sets up display lists, so once the display list is created
it'll not call the callback again. If you disable the use of display
lists via drawable-setUseDisplayLists(false); then your callback will
be called
Robert,
Thanks for the quick reply.
If I understand the NodeMask and CullMask, these would cull entire
nodes, not individual osg::Drawable instances, correct?
For example, I have geode's that contain a text label as one of their
drawables. I thought about using a switch node to toggle the text
On Tue, Jul 6, 2010 at 11:14 PM, Cory Riddell c...@codeware.com wrote:
Robert,
Thanks for the quick reply.
If I understand the NodeMask and CullMask, these would cull entire
nodes, not individual osg::Drawable instances, correct?
Yes, but you can store one Drawable per Geode node, or
Robert Tim,
Thanks for the information and advice. I guess it's time to take some
measurements and see what the cost of my draw callback actually is.
Cory
On 7/6/2010 5:13 PM, Tim Moore wrote:
On Tue, Jul 6, 2010 at 11:14 PM, Cory
Riddell c...@codeware.com wrote:
Robert,
4 matches
Mail list logo