great to have a spot to write notes inside the material editor to help communicate to others on a team to what is going on in a specific material.
Announcement
Collapse
No announcement yet.
Material editor notes
Collapse
X
-
-
Originally posted by tct70 View Post
I think it's not very hard to add this directly into vraymtl...
Best regards...
Comment
-
This is indeed possible and rather straight forward...
-Select the object that has the material
-Go to "Animation menu -> Parameter Editor
-Switch the first drop down to "Selected Object's Material"
-Set Parameter Type to "String"
-Add a name in the UI Type group (something like "Comments" would work i guess :P )
-set the Size of the editbox as desired
-set Label above text box to "on" to conserve space
-Add a default text if wanted
-Hit Add on the top
Now take a look at the mat you have an additional rollout "Custom Atrributes" that has your notes box
Regards,
Thorsten
Comment
-
Originally posted by instinct View PostThis is indeed possible and rather straight forward...
-Select the object that has the material
-Go to "Animation menu -> Parameter Editor
-Switch the first drop down to "Selected Object's Material"
-Set Parameter Type to "String"
-Add a name in the UI Type group (something like "Comments" would work i guess :P )
-set the Size of the editbox as desired
-set Label above text box to "on" to conserve space
-Add a default text if wanted
-Hit Add on the top
Now take a look at the mat you have an additional rollout "Custom Atrributes" that has your notes box
Regards,
Thorsten
Comment
-
Well try it. It sounds a lot more work then it actually is once you did it a few times.
If you need it specialised for adding notes to materials it should be pretty straight
forward to do a script that adds notes to the mat selected in the mateditor with
one click i'd say.
Regards,
Thorsten
Comment
-
Originally posted by instinct View PostWell try it. It sounds a lot more work then it actually is once you did it a few times.
If you need it specialised for adding notes to materials it should be pretty straight
forward to do a script that adds notes to the mat selected in the mateditor with
one click i'd say.
Regards,
Thorsten
Comment
-
As i am currently waiting for a realflow sim to finish (sigh!) i hacked something together quickly. Maybe that's useful to anyone:
Code:macroScript add_notes category:"mv_helpers" tooltip:"Add a notes rollout to selected material or map in MEdit" ( notesCA = attributes "Material Notes" ( parameters matNotes rollout:notesRollout ( notesNotes type:#string ui:noteBox default:"Type your notes here" ) rollout notesRollout "Notes and Comments" ( edittext noteBox "" height:250 LabelOnTop:true ) ) CAT_Debug = True mtl = meditMaterials[activeMeditSlot] custAttributes.add mtl notesCA )
Adding it to a toolbar or shortcut will add a notes rollout to the currently selected mat or map in the Material editor. It is supposed to add only one per mat/map but that's without error checking or exception handling. Seems to work tho.
To add a notes rollout to a map you have to instance it to a slot. Doesnt respect currently shown submat or submap.
The notes are preserved with both file saving and within material libraries.
Dunno if that's of any help but i had a minute to spare.
Regards,
Thorsten
Comment
Comment