Hello Josef,

Josef Grunig wrote:
> I'm using the Intersect Action to retrieve the hit Node/Triangle and
> the Point coordinates.

with getHitTriangle() you also get an index for the TriangleIterator.

> What I need is the texture's UV coords in the intersection point. Does
> OpenSG already compute something similar or do I need to compute it
> myself?
> Some code/hints to share?

from the TriangleIterator you should be able to get the texture 
coordinates and positions of the three triangle vertices and then 
interpolate those to find the tex coords for the intersection point.

        Cheers,
                Carsten

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to