Cannot set texture projection
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/01/2006 at 14:05, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.5
Platform: Mac OSX ;
Language(s) : C.O.F.F.E.E ;---------
I want to set the texture projection of a texture tag to UVW-mapping with C.O.F.F.E.E:var texTag = AllocTag(Ttexture); var con = texTag->GetContainer(); println(con->GetData(TEXTURETAG_PROJECTION)); // Prints 0 = Spherical con->SetData(TEXTURETAG_PROJECTION, 6); println(con->GetData(TEXTURETAG_PROJECTION)); //Prints 6 = Should be UVW obj->InsertTag(texTag);
Although the second println-command verifies in the console window that the TEXTURETAG_PROJECTION-value is set to 6, the projection-setting does not change neither in the perspective view nor the projection-dropdown-box in the attribute manager.
What do i do wrong?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/01/2006 at 12:05, xxxxxxxx wrote:
You're missing the command texTag->SetContainer(con); before the last line. Otherwise no data is set!