UV Coordinates

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 25/07/2011 at 15:31, xxxxxxxx wrote:

Hy there,

is there a way to retrieve UV coordinates for certain coordinates?

I have for example a sphere with a bitmap projected onto it. Now I would like to read out the UV coordinates for a certain point that I project onto the sphere.

Thank you,
maxx

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 27/07/2011 at 06:54, xxxxxxxx wrote:

Hi maxx_981, for example you can take a look at c4d.UVWTag.GetSlow. With a polygon ID you can get the UVW coordinates for this polygon and get the coordinates for the points. Cheers, Seb

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 27/07/2011 at 09:10, xxxxxxxx wrote:

Ok, thank you. I will check it out!

Cheers,
maxx

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 27/07/2011 at 14:13, xxxxxxxx wrote:

Ok, I can retrieve the correct polygon-id now and read out the uvwdict with the UV coordinates. 
Do I have to interpolate the values or is there too a function around for this?

Thank you,
maxx

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/07/2011 at 16:24, xxxxxxxx wrote:

Seems I have to make it a habit to resolve my questions by myself ;)

I found the barycentric-coordinates available from the GeRayCollider. So I do the interpolation with these.

Cheers,
maxx