Texture tag mapping
-
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?
-
On 17/04/2014 at 13:38, xxxxxxxx wrote:
Do a forum search for SetParameter()
That's how we change attribute options.-ScottA
-
On 17/04/2014 at 13:57, xxxxxxxx wrote:
> >> How do I use this to create a texture tag with UV mapping and not the default circular mapping?
Maybe use the method that is available and you were talking about one sentence before that? If
you have a question regarding this method, please clarify.Best,
-Niklas -
On 19/04/2014 at 05:45, xxxxxxxx wrote:
Thanks Scott - Sorted