Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Assets Management

    Cinema 4D SDK
    2
    5
    685
    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.
    • RenatoTR
      RenatoT
      last edited by

      Hi all,

      I have problems with the assets management.
      I'm working on a shader that has a lot of sub textures.
      Where i can find a good example to understand how i must handle it?

      Thanks in advance
      Renato T.

      1 Reply Last reply Reply Quote 0
      • P
        PluginStudent
        last edited by

        What "problems" exactly do you have? What do you want to do? What are "sub textures"? What do you want to "handle"?

        If you want to support "Save Project with Assets", see NodeData::Message() Manual. (see also HandleShaderMessage() is you have sub-shaders).

        RenatoTR 2 Replies Last reply Reply Quote 1
        • RenatoTR
          RenatoT @PluginStudent
          last edited by RenatoT

          @PluginStudent Hi, thank for answer.

          I hape problem when save project with asset it used. Seem to work not well. Texture manager also have problem.. missing textures.

          For "Sub Texture" i mean that this is a shader like Layer or Filter. This shader have layers and each layer can have a lot textures inside.

          I would like to "handle" to know, so i asked to detailed example to learn and understand why we have so problems in texture manager and loading saved scene with assets. Texture are not miss at all but something is missing in the management of assets.

          Thanks
          Renato

          1 Reply Last reply Reply Quote 0
          • RenatoTR
            RenatoT @PluginStudent
            last edited by RenatoT

            @PluginStudent
            About HandleShaderMessage() in Message().

            There is a specific message to do that or i need to use HandleShaderMessage() any time Message() is called?

            EDIT: MSG_INITIALCHANNEL seem to be.
            EDIT2: no... no MSG

            1 Reply Last reply Reply Quote 0
            • RenatoTR
              RenatoT
              last edited by RenatoT

              Ok, i solved my problem was my miss. Thanks again.

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