Re: [osg-users] Scaling visitor not working as expected

2018-01-09 Thread Christian Buchner
I just checked a recent osg::Drawable header file and it seems dirtyDisplayList() is deprecated and has been replaced with dirtyGLObjects(). Relevant snippet follows: #ifdef OSG_USE_DEPRECATED_API /** Deprecated, use dirtyGLObjects() instead. */ inline void dirtyDisplayList() { dirtyGLObjects();

Re: [osg-users] Scaling visitor not working as expected

2018-01-09 Thread Christian Buchner
Are display lists active in your scene? if so, maybe a dirtyDisplayList() call might be required on the affected drawables. drawable->dirtyDisplayList() As far as I know display lists are still the default in OSG, unless you explicitly disable them on geometry objects (and possibly enable vertex

[osg-users] Scaling visitor not working as expected

2018-01-09 Thread Werner Modenbach
Hi all, I'm loading 3ds scenes as subnodes into my scene. The 3ds coordinates are in a different scale than my scene. Usually I would solve this by a transform. But because of internal reasons I need the vertices being in MY coordinate measure. So I wrote a scaling visitor, that multiplies al