THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/09/2007 at 04:23, xxxxxxxx wrote:
Cinema 4D Version: 10.111
Platform: Windows ;
Language(s) : C++ ;
Hi there again!
Still working on the exporter.
I've come to a task for which I have no idea how to solve using the C4D SDK, so I'm asking here for directions:
Assume the user has created an object and put a texture tag on it. The projection of this texture tag is set to something different than UVW projection, for example cubic projection.
How can I calculate the UVW coordinates this projection generates for each point?
That is one of the last things (if not the last thing) I'm missing for mesh export. Would be great if someone could point me in the right direction.
Thx for reading.
On 02/10/2007 at 02:56, xxxxxxxx wrote:
You have to calculate your own texture coordinates. Look for the TexData in the SDK docu for a description how to calculate texture coordinates.
On 02/10/2007 at 03:57, xxxxxxxx wrote:
Great! Thx for pointing! Would have searched quite a time for that and it is exactly what I need