Ejemplo n.º 1
0
def register():
    bpy.utils.register_class(VRayNodeTree)
    bpy.utils.register_class(MyCustomSocket)

    bpy.utils.register_class(VRayNodeBRDFVRayMtl)
    BRDFVRayMtl.add_properties(VRayNodeBRDFVRayMtl)

    bpy.utils.register_class(VRayNodeBRDFLayered)
    bpy.utils.register_class(VRayNodeOutput)

    bpy.utils.register_class(VRayNodesMenu)

    bpy.utils.register_class(VRAY_OT_add_nodetree)

    bpy.types.NODE_MT_add.append(vray_shader_nodes_menu)
Ejemplo n.º 2
0
def register():
    bpy.utils.register_class(VRayNodeTree)
    bpy.utils.register_class(MyCustomSocket)

    bpy.utils.register_class(VRayNodeBRDFVRayMtl)
    BRDFVRayMtl.add_properties(VRayNodeBRDFVRayMtl)

    bpy.utils.register_class(VRayNodeBRDFLayered)
    bpy.utils.register_class(VRayNodeOutput)

    bpy.utils.register_class(VRayNodesMenu)

    bpy.utils.register_class(VRAY_OT_add_nodetree)

    bpy.types.NODE_MT_add.append(vray_shader_nodes_menu)
Ejemplo n.º 3
0
 def draw_buttons_ext(self, context, layout):
     BRDFVRayMtl.gui(context, layout, self.BRDFVRayMtl)
Ejemplo n.º 4
0
    def draw_buttons(self, context, layout):
        layout.prop(self, 'showAll')

        if self.showAll:
            BRDFVRayMtl.gui(context, layout.box(), self.BRDFVRayMtl, node=self)
Ejemplo n.º 5
0
 def draw_buttons_ext(self, context, layout):
     BRDFVRayMtl.gui(context, layout, self.BRDFVRayMtl)
Ejemplo n.º 6
0
    def draw_buttons(self, context, layout):
        layout.prop(self, 'showAll')

        if self.showAll:
            BRDFVRayMtl.gui(context, layout.box(), self.BRDFVRayMtl, node=self)