Notifications
Clear all
[Closed] Accessing Lighting and Shadow Data??
Page 2 / 2
Prev
Mar 11, 2010 6:00 pm
Thanks for this Denis T.
How are you able to get the colour of the texture pixel at a 3Point location?
1 Reply
- Get Bary Coordinates of the point in the plane of the specific face (Geo Face)
(see MXS Help meshop.getBaryCoords) - Using Bary Coords get position in UVW space (Map Face)
(see MXS Help How To … Develop a Bitmap Painting Tool – 3D Painting) - Using Size of the texture get position in XY space (pixel position) of the Texture
(see MXS Help How To … Develop a Bitmap Painting Tool – 3D Painting) - Using GetPixels get the color
(see MXS Help getPixels)
Mar 11, 2010 6:00 pm
Thanks for this.I will give it a crack and hopefully post up some working code soon!
Cheers.
Page 2 / 2
Prev