Material Assign Preset
Material Assign Preset
In the Material Editor, the Assign Preset button brings up a new window with preset picture icons for several different presets. I have downloaded materials from the Indigo library and would like to include these in the available preset icons. How do I do that?
Thank you,
Jim
Thank you,
Jim
Re: Material Assign Preset
Hi roodyj,roodyj wrote:In the Material Editor, the Assign Preset button brings up a new window with preset picture icons for several different presets. I have downloaded materials from the Indigo library and would like to include these in the available preset icons. How do I do that?
Thank you,
Jim
This can't be done at the moment. This has been requested before so I will see if I can add it to a future release.
Re: Material Assign Preset
It would be wery usefull to do that
Also, it would be great to add name next by material. Thanks

Skindigo
i7 5820K @3.3Ghz | GTX 660 Ti 3gb
i7 5820K @3.3Ghz | GTX 660 Ti 3gb
Re: Material Assign Preset
manual method....Whaat wrote:Hi roodyj,roodyj wrote:In the Material Editor, the Assign Preset button brings up a new window with preset picture icons for several different presets. I have downloaded materials from the Indigo library and would like to include these in the available preset icons. How do I do that?
Thank you,
Jim
This can't be done at the moment. This has been requested before so I will see if I can add it to a future release.
on ...\Plugins\skindigo directory
open presets.html
add a line like
Code: Select all
<img id="fluor34wwarm" src="fluor34wwarm.jpg" onclick="tellSU(this.id)" title="34W Fluorescent Tube (warm)">
on \Plugins directory
open skindigo.rb (sorry Whaat... if you don't like it, I will remove all immediately)
look for a string like
Code: Select all
when "fluor34wwarm"
apply_34WTFW(sm)
Code: Select all
when "material's internal name"
apply_NAME(sm)
Code: Select all
def apply_34WTFW(material)
...
...
end
Code: Select all
def apply_NAME(material)
'insert the material settings'
end
isn't simple... but works!

Re: Material Assign Preset
no problem...I doubt very many are brave enough to start tweaking the code anyway. 

Re: Material Assign Preset
Hi Snorky! Smart workflow you have built here! Interesting topic!
Why don't you make a complete tut?
(and post it at indigo-italia too?)
Why don't you make a complete tut?
(and post it at indigo-italia too?)
Re: Material Assign Preset
a full tutorial? hehehhe no for 2 reasonsPibuz wrote:Hi Snorky! Smart workflow you have built here! Interesting topic!
Why don't you make a complete tut?
(and post it at indigo-italia too?)
- little free time
- I hope in a future version of skindigo

Re: Material Assign Preset
C'MOOOOOOOOOON MAAAAAAAN!
Re: Material Assign Preset
Or better yet, someone should just download the entire Indigo Materials library, then fetch all the info using above's method, and finally add some custom code (headers and clearfix's) to separate the different materials. Then post it here. It can be further customized by creating an HTML <option></option> list which shows the materials by category. Or even better, using DataTables to sort in any way you like (i.e. by material, material property (Glossy, Oren Nayar, Etc.), etc.).
I would be able to do this with the HTML skills I have. I imagine it's not all that difficult. Just don't have time to do it now. But, I will wait for Whaat's next release and see if I can cook something up in the meantime. Those steps above sure will save a lot of time though. I've been looking for a way to start giving back here so this might be it.
EDIT: I forgot to add, once this is posted here (the HTML file plus any linked files) it can be given a version which says "All Indigo materials up to such and such date.". And then update it periodically when new materials come out.
EDIT 2: I wish I had time to do this, this seems like a fun project to me! I've already got a bunch of ideas to make this a really cool toy.
I would be able to do this with the HTML skills I have. I imagine it's not all that difficult. Just don't have time to do it now. But, I will wait for Whaat's next release and see if I can cook something up in the meantime. Those steps above sure will save a lot of time though. I've been looking for a way to start giving back here so this might be it.

EDIT: I forgot to add, once this is posted here (the HTML file plus any linked files) it can be given a version which says "All Indigo materials up to such and such date.". And then update it periodically when new materials come out.
EDIT 2: I wish I had time to do this, this seems like a fun project to me! I've already got a bunch of ideas to make this a really cool toy.
Who is online
Users browsing this forum: No registered users and 4 guests