Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Texture tag mapping

    SDK Help
    0
    4
    397
    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

      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?

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

        On 17/04/2014 at 13:38, xxxxxxxx wrote:

        Do a forum search for SetParameter()
        That's how we change attribute options.

        -ScottA

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

          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

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

            On 19/04/2014 at 05:45, xxxxxxxx wrote:

            Thanks Scott - Sorted 👍

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