[osg-users] changing dimensions of a box

Mat Monk matthias-minki at web.de
Thu Jun 1 08:42:58 PDT 2017


Hey Robert,

thank you very much.
As you said, I created a static box. But i dont understand the shaders function in the example osgshaders.

I found a example of a rotating quad and modified it, so it includes my box instead the quad. But finally i couldn't change the rotation to changing the dimensions in x-direction for examples.

I added the document with my code.



Thank you!

Cheers,
Mat

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




Attachments: 
http://forum.openscenegraph.org//files/main_557.cpp





More information about the osg-users mailing list