Lock imported Materials?



  • 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



  • 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



  • 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.



  • 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



  • 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! :-)


Log in to reply