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
    • Recent
    • Tags
    • Users
    • Login

    Lock imported Materials?

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 327 Views
    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 Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 24/07/2009 at 02:47, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R9.6 
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Hello everybody,

      so I've done this plug in which exports the current Cinema scene to a BSP map for my own game. Everything looks good so far, except for one thing: the textures being used.

      The problem is not the materials being created within Cinema, as they may be exported as "additional" texture only for the exported map, what I'm trying to do now is to import materials from a texture pack file format I wrote, which is neccessary to save disk space.

      The textures need to be imported (using the regular channels: color, transparent and bump), and then LOCK them (the user must not edit them, of course!)

      Is this even possible? Or does the user always have the right to edit materials?

      Thanks in advance,
      Mark

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 24/07/2009 at 02:49, xxxxxxxx wrote:

        You can assign materials to layers and lock the layers.

        cheers,
        Matthias

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 24/07/2009 at 10:43, xxxxxxxx wrote:

          Wow, I see, you don't have to ask your question and then do what you have to do all day long waiting for replies, just like I'm used to from other forums... answers getting posted so quick...!

          Nun, dankeschön Matthias! 🙂

          So will the materials be available for the user just as a regular Material (say, it is listed in the Manager and assignable to objects in the scene by the user)?

          Would be great. At least I know the direction I have to go now.

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

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 27/07/2009 at 05:03, xxxxxxxx wrote:

            Quote: _So will the materials be available for the user just as a regular Material
            >
            > * * *
            _


            Yes, they are just normal materials and can be assigned to objects. Only difference is they are not editable by the user (which is what you want I think).

            cheers,
            Matthias

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

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 27/07/2009 at 05:25, xxxxxxxx wrote:

              Whooh, great, great, great!

              Thank you! 🙂

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