Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Community
Arnold for 3ds Max Forum
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding a note to a material

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
robw
433 Views, 3 Replies

Adding a note to a material

Hi, is there a way I can add a text note/comment to a material?

Reason being, in order to get my wireframe material to render polygons and not triangles, I added an Arnold Properties to the object, and turned on subdivisions, then set to zero. But I'm likely to forget that next time I need to do it, so adding a note/comment to the material would be very useful.


Thanks

Tags (2)
Labels (2)
3 REPLIES 3
Message 2 of 4
madsd
in reply to: robw

Not the closure, but you can type up a header in a node that does nothing except parsing the original signal through and call it something like REMEBER.

You format the code like in html with breaks and such, headers.


shader REMEMBER
[[    string help =        "<h3>REMEMBER!!!!</h3>"
                        "Do the thing about colors<br>"
                        "Don't forget to feed the cat<br>"
                        "Pancakes taste good<br>"
                        "End of discussion<br>",
]]
(
    color In = 0,
    output color Out = 0,
    output float FOut = 0,
)
{
    Out = In;
    FOut = Out[0];
}


1.png


Message 3 of 4
madsd
in reply to: robw

Here is a slightly more complex integration using QT.
You would need a .ui file for this kind of formatting.

Also here, this can be done as a passthrough node.
you cannot add a unique note to the Material it self, so just do it on a dummy shader.

ccccc.png

Message 4 of 4
robw
in reply to: robw

Very good. Thanks

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report