Maxon Developers
    • Downloads
      • All Downloads
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
      • Cinema 4D Python Examples
      • Cinema 4D C++ Examples
      • Project Tool
      • SDK Database
    • Documentation
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
    • Forum
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Forums
      • Overview
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • News & Information
      • Downloads
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Cannot set texture projection

    SDK Help
    0
    2
    43
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post