Re: [osg-users] Render normal vectors to image

2019-11-12 Thread Han Hu
Hi, Thank you, Glenn! This is what I need! Cheers, Han -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76905#76905 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Render normal vectors to image

2019-11-12 Thread Glenn Waldron
You're welcome. You might be able to use the osgDB::Registry::setReadFileCallback() method to intercept read calls. At that point you can generate your normals (for example run the osgUtil::SmoothingVisitor) and then return the result to the system. Glenn Waldron / osgEarth On Mon, Nov 11,