Automatically setups an additional MaterialID framebuffer
to the current pass
and modifies all the applied materials to store a unique color
in that framebuffer.
If you don't like the colors, re-run the script
to make it choose new ones (randomly).
For you convenience, drag it on a toolbar to make a button.
Use it at your own risk.
A local copy can be found here:
http://www.si-community.com/download/sc ... buffer.rar
Automatic MaterialID Framebuffer setup
Plugins linking to this thread: (hide)
MaterialID Setup
Automatically setups an additional MaterialID framebuffer to the current pass and
modifies all the applied materials to store a unique color in that framebuffer.
local backup: Make_MaterialID_Framebuffer.rar
local backup: Make_MaterialID_Framebuffer.rar
author site: n/a / -community thread
Automatic MaterialID Framebuffer setup
- Attachments
-
- Make MaterialID Framebuffer.rar
- (1.53 KiB) Downloaded 463 times
Re: Automatic MaterialID Framebuffer setup
Hi,
Could you explain how to use it? Im completly new to softimage and am slowly learning. But need this function desperatly!!!
Thanks
Could you explain how to use it? Im completly new to softimage and am slowly learning. But need this function desperatly!!!
Thanks
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: Automatic MaterialID Framebuffer setup
Standard procedure for scripts:
View > Scripting > Script Editor
Set the language to "VB Script" (you can tell from the file extension "vbs")
In the file menu of the script editor, goto "File > Open"
Load the script
Press F5 to run or In the file menu of the script editor use "Edit > Run"
All this info can be found in the SDKDocs (not the XSIDocs):
Script Development > Using the Script Editor
You can use the icons in the script editor also,
but these I can't explain in written form
View > Scripting > Script Editor
Set the language to "VB Script" (you can tell from the file extension "vbs")
In the file menu of the script editor, goto "File > Open"
Load the script
Press F5 to run or In the file menu of the script editor use "Edit > Run"
All this info can be found in the SDKDocs (not the XSIDocs):
Script Development > Using the Script Editor
You can use the icons in the script editor also,
but these I can't explain in written form
Stay safe, sane & healthy!
Re: Automatic MaterialID Framebuffer setup
Uncompress the file in a folder (for ex. ".....\Softimage_XXXX\Data\Scripts\")
drag-n-drop the file onto the XSI Shelf (View->Optional Panels->Main Shelf)
to create a button (VB Script)
make or load a scene with objects that have different materials
press the button you previously created,
render,
the MaterialID tiff file is located at "[Scene]/[Pass]_[Framebuffer]"
drag-n-drop the file onto the XSI Shelf (View->Optional Panels->Main Shelf)
to create a button (VB Script)
make or load a scene with objects that have different materials
press the button you previously created,
render,
the MaterialID tiff file is located at "[Scene]/[Pass]_[Framebuffer]"
Re: Automatic MaterialID Framebuffer setup
Dang, not working in 2013. Any other way?
Who is online
Users browsing this forum: No registered users and 33 guests