On 17/04/2014 at 01:44, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R15 Stud
Platform: Mac OSX ;
Language(s) : C++ ;
---------
I have some code that duplicates an object and a material (including bitmap) from one document to another. Then I add the material to the object by creating a texture tag and assigning the material to the texture tag (as you would expect).
When a material is added to an object using the sdk, the default projection (mapping) in the texture tag is something like circular. Doing the same manually (by dragging the material onto the object name) creates a texture tag which uses UV mapping.
There is a method in the texture tag object to set the projection matrix. How do I use this to create a texture tag with UV mapping and not the default circular mapping?