[osg-users] Getting area affected by TexGen

Isaac Wolf ijwolf8 at gmail.com
Tue Feb 19 09:36:53 PST 2019


Hello all,

Is there any way to calculate the area affected by a TexGen / TexGenNode? For example, I have a model that has a known area, and a texture is projected only on a portion of it. I'd like to know what % of the known area it is being applied to.

In addition, how do you keep TexGens from projecting through multiple surfaces? In the attached .gif, you can see I "apply" the texture, then move the model around to see it has bled through all surfaces.

Thanks so much for your time!

Regards,

Isaac

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




Attachments: 
http://forum.openscenegraph.org//files/projectthrough2_173.gif




More information about the osg-users mailing list