Home Technical Talk

#ds max Default Material at creation

polycounter lvl 11
Offline / Send Message
bob3636 polycounter lvl 11
Hi guys, im switching from maya to 3dsmax and i have a question is there a way to make the new primitives to come with a default material assigned? (like in maya default lambert i mean) Because i dont like that wireframe and object are displayed with the same color... confuses me! Thank you in advance :)

Replies

  • Swordslayer
    Options
    Offline / Send Message
    Swordslayer interpolator
    Sure, many things are just a few lines of script away :) For example, take this and save it as something.ms in your 3ds max\scripts\startup\ folder (so that it will be run every time your start max):
    callbacks.addScript #nodeCreated \
    "( \
        local obj = callbacks.notificationParam(); \
        if isKindOf obj GeometryClass AND obj == objects[objects.count] do \
        ( \
            obj.material = standardMaterial diffuse:gray; \
            assignNewName obj.material; \
        ) \
    )" \
    id:#defaultMaterial
    
  • bob3636
    Options
    Offline / Send Message
    bob3636 polycounter lvl 11
    Thanks man, you're awesome = )
    But, there is the same thing but for the "enable in vieport" of the spline?? :poly142:
Sign In or Register to comment.