How to debug updates not happening?

13 views
Skip to first unread message

Igor Baidiuk

unread,
Jun 3, 2021, 3:41:30 AM6/3/21
to OpenSceneGraph Users

Hello!

I'm experiencing two particular issues with OSG's internal data updates.
First, node mask change isn't taken into account in some cases, i.e. node is still visible despite mask set to 0.
Second one is osg::Texture's osg::Image buffer object not updated on GPU despite being changed. Yes, I tried both osg::Image::dirty and osg::Texture::dirtyTextureObject.

So my question is. Where can I look for to debug such issues? Some specific spots in some rendering node visitor?

Thanks.

Igor Baidiuk

unread,
Jun 3, 2021, 5:21:52 AM6/3/21
to OpenSceneGraph Users
UPD: Nevermind. That was extremely stupid of me. Issue emerged from me having two separate implementations of the same rendering working at the same time. So I had old implementation always showing the same geometry, and new one drawing atop it same geometry, with obviously no visual impact.
Reply all
Reply to author
Forward
0 new messages