pgoeleven
14-11-2008 21:56:02
Hi,
I need to be able to tell the color of a mesh at a certain point of its surface.
The point on the surface is determined by ray cast operations. I know you get u,v coordinates and triangle index etc (and also material, but that is a physx material afaik).
I don't know however, how this data, which is from NxOgre maps to Ogre itself and how exactly I get the color of the material (either with or without texture).
Any help is greatly appreciated.
I need to be able to tell the color of a mesh at a certain point of its surface.
The point on the surface is determined by ray cast operations. I know you get u,v coordinates and triangle index etc (and also material, but that is a physx material afaik).
I don't know however, how this data, which is from NxOgre maps to Ogre itself and how exactly I get the color of the material (either with or without texture).
Any help is greatly appreciated.