[osg-users] Render normal vectors to image

Han Hu huhan8807 at gmail.com
Mon Nov 11 02:53:36 PST 2019


Hi,

Thanks!

I can use osgUtil to compute the normal vectors on the fly. My question is how to render the per-vertex or per-triangles to the image, e.g. the color is the (x,y,z) of the normal vector, rather than the color of texture.

Cheers,
Han

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76895#76895







More information about the osg-users mailing list