PDA

View Full Version : SHADERLIBRARY SCRIPT for VRAY4MAYA & MENTAL RAY


Ultrasonic
11-04-2009, 11:59 AM
Hallo Guys,

some months ago my friend Paul Dreisen from Parasol Island and me, Oliver Markowski from FULL.BLOWN|IMAGES started to build a WORKING shaderlibrary for Maya.

It first started out as a VRAY4MAYA-only library but has now grown to support mental ray as well.

I have coded the script and Paul converted all VrayMaterials he found on the chaosgroup forum to our library. So we now have a prepacked library of aroud 170 materials for Vray4Maya.

The library is also kind of intelligent and relinks all textures that are found when importing a shader, so you dont have to worry about always putting correct names to your filenodes anymore.

The next big thing that's in progress for this library right now is an upload functionality to have a free community library with one-click maya import!
UPDATE! ITS DONE ;) See the uploaded shaders over HERE (http://fullblownimages.servebeer.com/shaderlibrary)
UPDATE: Not working at the moment!

Because its always easier to see how something works in a video i have setup 3 tutorials on youtube which u can find on my website.

You find the shaderLibrary script and videos here:
http://www.fullblownimages.com/scripts.html
http://www.fullblownimages.com/images/shaderLibrary_161.jpg

Find the latest prepacked library here:
http://www.chaosgroup.com/forums/vbulletin/showthread.php?37161-Vray-materials/page63

The old prepacked library is there:
http://dryzen.com/


We hope u like it and would greatly appreciate feedback!

cheers from munich
Oli

RELEASE NOTES:

---------------------FBI_shaderLibrary INSTALLATION-------------------
-----Author: Oliver Markowski
-----Company: FULL.BLOWN|IMAGES
-----Mail: oliver@fullblownimages.com
-----Web: www.fullblownimages.com
----------------------------------------------------------------------
This is just one MEL Script and a folder which u have to place in one of your maya script directories. e.g.
"C:\Documents and Settings\omarkows\My Documents\maya\2009-x64\"

The folder contains just the previewScenes for each supported renderer and MUST be in the same directory as the script!

After copying restart maya and just type the following in the script editor
source FBI_shaderLibrary;FBI_shaderLibrary("YOUR_LIBRARY_PATH_HERE",""); <- DO NOT USE BACKSLASHES -> \ ONLY Forwardslashes /

Note that you must select the appropriate renderer that you want to use for the preview image before you hit export.

----------------------------------------------------------------------
---------------------------------IMPORTANT----------------------------
This is what i consider a key feature of this library - when importing the shaders, it automaticly relinks all textures to your library location. To achieve this there is a texturepath-namingconvention. When u export a shader from maya,the script will copy all textures to a subfolder in the directory where u export the shader to.

If u dont want to have too much subfolders (although they not displayed in the UI) you can also create a folder called "TEXTURES" in the root folder of your library. This folder can exist anywhere above the directory of your exported shader. The script travels upwards to search. It is not allowed to use folders in "TEXTURES" (but i am working on it)
---------------------------------IMPORTANT----------------------------
----------------------------------------------------------------------

Please give as much feedback as you can!

You can also follow this thread on chaosgroup forums:
http://www.chaosgroup.com/forums/vbulletin/showthread.php?t=47550
or at cgtalk
http://forums.cgsociety.org/showthread.php?f=87&t=822324

----------------------------------------------------------------------
---------------------FBI_shaderLibrary ChangeLog----------------------
Fixes Version 1.2.1

[BUG] fixed directory listing on linux and mac - thx to dominik markota for finding on mac os and richard wardlow for finding and fixing it on linux

[BUG] changed the ui a little to work on linux as well - thanks to richard wardlow

[NEW] window remembers your last directory when u close it and then reopen

Fixes Version 1.2
[NEW] UPLOAD FUNCTION!

[BUG] fixed issue when u want to use Mental Ray and have no vray installed

Fixes Version 1.1.1
[REQ] VIDEO TUTORIAL --- find them here -> http://www.fullblownimages.com/scripts.html

[UPD] update MR testscene....if u have a better one and want to share it, please tell me!!!

[NEW] ADDED PROGRESS BAR

[REQ] UPDATE DIRECTORY BUTTON is now back at the bottom of the window

[BUG] THE FIRST LINES OF THE SCRIPT GOT LOST ... THIS WAS WHERE U COULD PUT YOUR DEFAULT START DIRECTORY...THIS IS NOW BACK ;)

[BUG] Refresh preview now has missed a "_"

Fixes Version 1.1
[REQ] .TEXTURES doesn't work well on MAC/Linux ... renamed to TEXTURES without the dot You must rename your old .TEXTURES folder if you have one

[REQ] always use global textures folder instead of generating one texturefolder for each export - resolved - NOTE: if no folder named TEXTURES is found, then the script stills generates a folder called ".materialName" in your exportdirectory

[REQ] UI improved - only one button left - parent dir button moved in the folder structure and is named ".."

[REQ] Maya Ascii is used for export but only if there are NO unknown nodes in your file...otherwise export will use your current filetype - in most cases .mb

[REQ] other renderers now supported as well - you need seperate files for them - e.g. MentalRay=renderShaderPreview_mr.mb MayaSoftware=renderShaderPreview_sw.mb - RfM will follow

[REQ] only browser part of the window should be scrollable - resolved


----------------------------------------------------------------------
--------------------PENDING REQUESTS & KNOWN BUGS---------------------

[REQ] better preview scenes - waiting for input from community

[REQ] support sub-directories in TEXTURES folder

Skoczylas
11-04-2009, 01:09 PM
Sounds realy awesome. I'm gonna try it for sure. :bounce:

cgbeige
11-04-2009, 02:17 PM
been using the VRay one for a bit - it's really nice

Ultrasonic
11-04-2009, 03:17 PM
If u like it, please spread the word! If you don't like it, please tell me what we should improve!

I think many people need a shaderlibrary....even if u dont want to share materials this script is so easy to use for your own purposes, so please give it a shot!

We have made this script for the community, so our biggest honor would be if many people use it and share their shaders!

I hope i can implement the upload functionality in the next few days! so stay tuned!
EDIT: Works now since v1.2.1

cheerio
Oliver

jasonhuang1115
11-04-2009, 04:36 PM
Thank you for sharing, Oliver(and Paul, too)!
Looking forward to the upload functionality as well as the growing of library.

- Jason

InfernalDarkness
11-04-2009, 04:53 PM
Looks promising! I'd love to see it as a plug-in, and perhaps not so Vray-specific, but it looks like you could use it for any renderer's shaders/materials?

I know Maya is purposely more complex than other applications, but even the cheapest applications available have better material library systems. Good work trying to bring Maya up to speed!

pauldryzen
11-04-2009, 05:01 PM
Looks promising! I'd love to see it as a plug-in, and perhaps not so Vray-specific, but it looks like you could use it for any renderer's shaders/materials?


The library should work with every renderer you can use with Maya. Right now we only have sample scenes for VRay and Mental Ray. Checkout the tutorials on how you can create scenes for other renderes like Renderman for Maya. It is pretty easy to do.

I´ve done a small update on my carpaint library, you can download it here:
http://rapidshare.com/files/281840933/shLib_carshader.rar

Right now I´ve got some projects to finish, but after they are done I will start working on a Renderman scene for the Library.

Paul

kuschel33
11-04-2009, 06:09 PM
I used the internal Maya Shader Library till now, but your script looks very good.
Nice one Oli (and Paul)! Do you have any MR library already?!

Hamburger
11-04-2009, 09:02 PM
Looks extremely useful and much better than Hypershade's system. Thank you for sharing this script!

Ultrasonic
11-06-2009, 04:42 PM
Looking forward to the upload functionality as well as the growing of library.


Upload is already working in my testenvironment...i think i will release it in the next few days!!!


I used the internal Maya Shader Library till now, but your script looks very good.
Nice one Oli (and Paul)! Do you have any MR library already?!


The upload feature will also mark the beginning of the "Mental Ray" Library, cause i think many of you do have shaders to share!

so please stay tuned!
Oli

Ultrasonic
11-09-2009, 03:16 PM
New Version Online!
http://fullblownimages.servebeer.com/download/fbi_shaderLibrary_1.2.rar

You can now UPLOAD YOUR SHADERS, but it is still BETA!

I also fixed a bug which prevented MR Users to use the library if they did not have Vray installed. So if u experienced problems before,they should now be gone! credits for finding this bug go to kuschel33

U can see the online library in its beta stage here:
http://fullblownimages.servebeer.com/shaderlibrary/

Vray shaders have a vray logo in their thumbnail...MR shaders don't.

Hope to see some nice mr shaders in the future ;)

cheers
Oli

tostao_wayne
11-12-2009, 09:30 AM
impresive!!, i have been playing with it this week, and it works perfect with MR,

it can be used to fine tune your materials.


Tnkx

tostao_wayne
11-12-2009, 11:27 AM
One question: how can i know wich materials are MR materials?? i have notice that i have uploaded two, and both have .ma extension, this is the way??

MrHoo
11-12-2009, 12:23 PM
Vray shaders have a vray logo in their thumbnail...MR shaders don't.

Oli

I think that's the way for now.

Cheers

Ultrasonic
11-12-2009, 01:31 PM
One question: how can i know wich materials are MR materials?? i have notice that i have uploaded two, and both have .ma extension, this is the way??

I am going to write EXIF data in the thumbnail-jpegs, so that i can sort them later on...no matter what preview scene was used. But that is going to take some time. For now u can only tell by the logo in the middle.

Nice uploads by the way!

cheers
Oli

cgbeige
11-12-2009, 02:49 PM
Great update - just one request: can you add a directory list/navigation to the interface somehow? It would be nice to be able to use the browse feature to pick folders. If you go to an empty parent directory, it doesn't list anything so you can't dig down to another subfolder. I don't know what the best way is to keep the interface free of clutter though.

Is this bug a configuration problem on my end? It looks like it's failing to relink the shaders (and the texture nodes are black).

DEBUG - GLOBAL_TEX_DIR: - RELATIVE_TEX_DIR: /Users/beige/Library/Preferences/Autodesk/maya/2010/prefs/scripts/FBI_shaderLibrary/free_shaders/Nature//.sand_VRayMtl39SG_textures/
// Warning: COULD NOT RELINK TEXTUREPATH ON shaderImport_diff_1 //
// Warning: COULD NOT RELINK TEXTUREPATH ON shaderImport_diff_2 //
// Replaced 8 names.
// Error: Error creating thumbnail for image C:/Paul_Daten/Shaderlib/tex/diff.jpg //
// Error: Error creating thumbnail for image C:/Paul_Daten/Shaderlib/tex/diff.jpg //
// Error: Error creating thumbnail for image C:/Paul_Daten/Shaderlib/tex/diff.jpg //
// Error: Error creating thumbnail for image C:/Paul_Daten/Shaderlib/tex/diff.jpg //
// Error: Error creating thumbnail for image C:/Paul_Daten/Shaderlib/tex/diff.jpg //
// Error: Error creating thumbnail for image C:/Paul_Daten/Shaderlib/tex/diff.jpg //
// Error: Error creating thumbnail for image C:/Paul_Daten/Shaderlib/tex/diff.jpg //
// Error: Error creating thumbnail for image C:/Paul_Daten/Shaderlib/tex/diff.jpg //

cgbeige
11-12-2009, 02:59 PM
looks like it's a problem with all shaders with bitmaps:

/ Warning: Bitmap file "C:/Paul_Daten/Shaderlib/tex/AS2_bubble_plastic.jpg" failed to load: [LoadImageFile] Failed to open file: no such file

but the file is in the texture support folder:

EDIT: FIXED!

Just read the changelog and noticed that the .TEXTURES changed to TEXTURES. It's working now - and thanks for that change. It's always a pain managing invisible folders.

Ultrasonic
11-12-2009, 03:08 PM
Great update - just one request: can you add a directory list/navigation to the interface somehow?

Are you on mac? if yes you should wait for the next release (or PM me)

directories are working on windows....and soon on linux and mac!

cheers
Oli

pauldryzen
11-12-2009, 03:09 PM
I´ve updated the texture library on my page, but there is no need to download it. A simple change from ".TEXTURES" to "TEXTURES will fix those problems.

Greets Paul

cgbeige
11-12-2009, 07:08 PM
got the new MEL script and changed it to TEXTURES and it's working great, with the path clicking buttons too. Great software guys - I'll make sure to upload a bunch of shaders once I start using VRay more. Any plans for web integration for the interface? The Maxwell 2.0 shader library integration in Maya is amazing and it would be awesome to incorporate the web database, although it might be more trouble than it's worth for you. Either way, it's going be cool to have a really robust community-driven Maya shader library like this for MR/VRay.

Ultrasonic
11-12-2009, 07:27 PM
got the new MEL script and changed it to TEXTURES and it's working great


for all others on the mac, please wait some more hours and i'll release the new script officially!

Any plans for web integration for the interface? The Maxwell 2.0 shader library integration in Maya is amazing and it would be awesome to incorporate the web database, although it might be more trouble than it's worth for you. Either way, it's going be cool to have a really robust community-driven Maya shader library like this for MR/VRay.

Nice idea...i'll note it as a request...stay tuned!

cheers
Oli

tkdmatt
11-12-2009, 08:27 PM
New Version Online!
http://fullblownimages.servebeer.com/download/fbi_shaderLibrary_1.2.rar

You can now UPLOAD YOUR SHADERS, but it is still BETA!

I also fixed a bug which prevented MR Users to use the library if they did not have Vray installed. So if u experienced problems before,they should now be gone! credits for finding this bug go to kuschel33

U can see the online library in its beta stage here:
http://fullblownimages.servebeer.com/shaderlibrary/

Vray shaders have a vray logo in their thumbnail...MR shaders don't.

Hope to see some nice mr shaders in the future ;)

cheers
Oli

I don't have V-ray installed but I'm still having a problem when trying to use Mental Ray. I have mental ray set in Maya and when exporting the batch complains about missing the V-ray plugin. This looks like a really cool library system so I'd like to get it working.

EDIT: Seems to be working now, looks like the shader I was using wasn't compatible. BUt all the other mental ray stuff is fine. Cheers for the great library.

InfernalDarkness
11-12-2009, 09:56 PM
I'm also a non-Vray-user, and would love to have the library system be a bit more independent if possible. Sure, Vray could still be your main focus, but I'm sticking with MR for awhile and would love to be able to use/share MR shaders without any Vray-related headaches?

Hamburger
11-12-2009, 10:34 PM
Vray and Headaches is an oxymoron. :)

But seriously, mental ray should work fine with this script. Has anyone tested it with any other 3rd party renderers though?

Ultrasonic
11-13-2009, 08:39 AM
I'm sticking with MR for awhile and would love to be able to use/share MR shaders without any Vray-related headaches?

There will not be headaches! Please give it a try and see for yourself. All previously posted MR problems are fixed. If you find another one, please let me know. I can only make it less "vray-specific" (which it is not) if i get more input from the MR Gang over here!

I have also just updated the script to version 1.2.1 which can be found here
http://www.fullblownimages.com/download/fbi_shaderLibrary.rar
It fixes some bugs with macos and linux. It is not a major release but i thought it would help some of you guys!


Fixes Version 1.2.1

[BUG] fixed directory listing on linux and mac - thx to dominik markota for finding on mac os and richard wardlow for finding and fixing it on linux

[BUG] changed the ui a little to work on linux as well - thanks to richard wardlow

[NEW] window remembers your last directory when u close it and then reopen


cheerio
Oli

Ultrasonic
11-13-2009, 08:56 AM
Vray and Headaches is an oxymoron. :)

But seriously, mental ray should work fine with this script.

I already have uploads of MR shaders on the BETA shaderlibrary website here:
http://fullblownimages.servebeer.com/shaderlibrary/

So i think MR is working well.

Has anyone tested it with any other 3rd party renderers though?

Paul is about to build and test an RfM previewscene to support another major renderpackage.

JohnPetrucci
11-19-2009, 06:19 AM
Hey I just wanted to say thanks for taking the time to create, compile and share the shaders with all of us!

Ultrasonic
11-19-2009, 11:03 PM
Hey I just wanted to say thanks for taking the time to create, compile and share the shaders with all of us!

As is said befor,i really apreciate all your thanks! It always keeps me continuing to improve the script!

Our community library is growing slowly and maybe i can soon host all MentalRay Shaders over at http://mrmaterials.com/ We are currently negotiating.

New release including a new MR Testscene will follow soon as well!

Ultrasonic
11-19-2009, 11:35 PM
Here we go! Version 1.3
[/url][url]http://www.fullblownimages.com/download/fbi_shaderLibrary.rar (http://fullblownimages.servebeer.com//download/fbi_shaderLibrary_1.3.rar)


Changes in Version 1.3

[NEW] changed MentalRay Testscene to the MatLab of mrmaterials.com - credits therefore go to Jeff Patton and Russell Thomas - the hdr in that scene is not allowed to be used for any other purposes than this MR-Testscene!!!

[BUG] update preview now also works if the shader is from a higher maya version

[REQ] MULTI EXPORT for user Kuschel33 aka Elvis - you can now select multiple objects/shaders to export - if more than one is selected the previewrender will block maya instead of just opening a renderwindow!

Ultrasonic
12-07-2009, 08:31 PM
Hey guys,

i have just released version 1.4 The only change is in the community FTP Upload function.

GET IT HERE:
http://www.fullblownimages.com/downl...derLibrary.rar (http://www.fullblownimages.com/download/fbi_shaderLibrary.rar)

Please update your older version!


Changes in Version 1.4

I NEEDED TO MOVE THE COMMUNITY UPLOAD FTP.

Ultrasonic
03-07-2010, 08:38 PM
SAME LOCATION AS ALWAYS:
http://www.fullblownimages.com/download/fbi_shaderLibrary.rar

You will like it! The only thing that changed is the script. so if you own a previous version and have your preview scenes working, you just need to replace FBI_shaderLibrary.mel from the archive.

The previewScenes are still from Maya 2009. I'll take care of them in the next release.


Changes in Version 1.5

[REQ] support sub-directories in TEXTURES folder --- BETA --- please report bugs...i put some lines of debug-info in the code // TEXTURES MUST BE STORED IN YOUR PROJECTS SOURCEIMAGES DIRECTORY!!!

[NEW] UI Redesign: - directory browser moved to the left
- added information what renderer is currently in use.
- highlights directories that contain the word *shader* (not case sensitive) for faster navigation - mail me if u have more suggestions for highlighting

[REQ] Possibility to rename shader before export - only workin for single shader export...not when multiple shaders are selected // THX to throb!

[REQ] Delete shader confim dialog

[BUG] shaders do not get uploaded anymore if missing textures are found

cgbeige
03-08-2010, 01:17 AM
awesome - thanks. works well in 2011 BTW. I'd post a screenshot but then my head would explode.

Ultrasonic
03-08-2010, 10:28 PM
Please re-download....it should now say version 1.5.1 in the window title...besides the bugfix I added one more requested feature


Changes in Version 1.5.1

[BUG] IMPORT was temporary screwed up...hope this is fixed ... THX TO JENSL from chaos-forums for reporting this bug!!
also added more debug info...

[REQ] option to "auto-apply" the imported shader to the current selection - requested by throb...



PIC OF THE NEW INTERFACE:
http://www.fullblownimages.com/images/shaderLibrary_151.jpg

Hamburger
03-09-2010, 01:33 AM
Thats awesome, appreciate all the work on this

kennez
03-09-2010, 05:21 AM
Looks great! Just a small request. Can you make the download available on a different website, such as Creative Crash? I can't access the download where it currently is.

Thanks!

***EDIT***
Ok, managed to get onto the site. The internet connection was just behaving badly.

chuckie7413
03-10-2010, 04:44 PM
Hi Oliver,

I have justed installed the script and must say that it is excellent!!! Thank you for sharing this with us.

A few things i would like to know is can the shader preview thumbnail be rendered and displayed at a higher resolution within the shader library browser?

Also it would be great to have the option to be able to create a new folder in the library browser window itself. At the moment everytime i want to create a new folder catagory of shader i have to browse to the shader library folder path manually. Would be cool just to be able to create an new folder in the shader library browser.

Thanks again for sharing this amazing script. I think i will be using it for a long time.

Keep up the great work.

Rich

Additional Feedback:

When you delete a shader could you add the ability to delete it's relevant texture folder? That would be handy :-)

Cheers.

Hamburger
03-10-2010, 09:45 PM
I used to have an older version now when I put in the most recent one and try and launch the script I get this message:

DEBUG - Scriptpath: C:/Users/Username/Documents/maya/scripts/

Using MEL

source FBI_shaderLibrary.mel;FBI_shaderLibrary("","");

EDIT: Nevermind, missing this line:

$shaderLibPath="D:/Library/Shaders";

onetime
03-12-2010, 09:42 AM
Oliver, your script is working pretty well. Thank you so much for sharing. This definitely has the potential to help a lot of users.

Some issues I've had so far that perhaps you can help resolve. I'm curious if cgbeige has experienced any of these on the Mac:

• In order for the "Export Selected Shader" to render the preview image, I had to modify the script slightly to work on OS X. When I tried to export a shader, the shader file itself would export successfully, but the preview would not render because the renderShaderPreview_mr.ma file could not found. I changed the \\ to / in the two separate lines that referenced the "renderShaderPreview_" file as follows:

before:
""+$scriptPath+"\\FBI_shaderLibrary\\renderShaderPreview_"+$renderer+".ma\"");
after:

""+$scriptPath+"/FBI_shaderLibrary/renderShaderPreview_"+$renderer+".ma\"");

I am not a mel guru, so I don't know how you might implement this fix so that it works on both platforms without maintaining separate scripts for each platform.

• There seems to be a relatively minor redraw problem on the Mac, but cgbeige has not mentioned them, so maybe it's resolved in 2011. Mainly, there is an empty row in between each row of shaders. I think this screenshot illustrates the issue.
http://i.imgur.com/x9K3L.jpg
• The creation of invisible folders and renderdata in the Library could eventually become a messy annoyance. You can also see this in the screenshot above.

• I noticed that I need to select the shader engine before I click export. If I select the MIA material, it says I'm exporting multiple shaders and proceeds to export several versions of the same shader. I'm not sure what's happening here.

I have not tried exporting any shader with a texture file or sharing, so I can't report how well that works yet. Keep up the good work! I'm looking forward to future developments and sharing some shaders!

Edit: I have been trying to export a shader with file nodes, but the texture files are not copied to the textures folder in my shader library. When I import the shader, the file is linked with its original path.

Sorath
03-12-2010, 09:18 PM
exactly what I'm looking for!
Thanks olli and paul! keep up doing amazing work.

all the best from cph.
Bastian

Ultrasonic
03-13-2010, 08:50 AM
Some issues I've had so far that perhaps you can help resolve. I'm curious if cgbeige has experienced any of these on the Mac:

Hey onetime,

thx for reporting all this issues...since i have no mac around it's always good to have people like you posting their problems....don't hesitate to report more problems on mac.


• In order for the "Export Selected Shader" to render the preview image, I had to modify the script slightly to work on OS X. When I tried to export a shader, the shader file itself would export successfully, but the preview would not render because the renderShaderPreview_mr.ma file could not found. I changed the \\ to / in the two separate lines that referenced the "renderShaderPreview_" file as follows:

before:
""+$scriptPath+"\\FBI_shaderLibrary\\renderShaderPreview_"+$renderer+".ma\"");
after:

""+$scriptPath+"/FBI_shaderLibrary/renderShaderPreview_"+$renderer+".ma\"");

I am not a mel guru, so I don't know how you might implement this fix so that it works on both platforms without maintaining separate scripts for each platform.

that should be easy...i just need to use the toNativePath command which ensures the correct slashes on every OS...



• There seems to be a relatively minor redraw problem on the Mac, but cgbeige has not mentioned them, so maybe it's resolved in 2011. Mainly, there is an empty row in between each row of shaders. I think this screenshot illustrates the issue.
I will try to fix this...but it seems i have to rewrite the part where i create the shaderbrowser...maybe it is easier than i think...


• The creation of invisible folders and renderdata in the Library could eventually become a messy annoyance. You can also see this in the screenshot above.

I know that it is annoying ... but as i can see in your edit you have already found the solution using the gloabl TEXTURES folder...so i think this is not a problem anymore...


• I noticed that I need to select the shader engine before I click export. If I select the MIA material, it says I'm exporting multiple shaders and proceeds to export several versions of the same shader. I'm not sure what's happening here.

can you mail the shader to me? oliver@fullblownimages.com
Or just tell me if it has multiple conenctions to the shadingGroup? this could be the problem.


Edit: I have been trying to export a shader with file nodes, but the texture files are not copied to the textures folder in my shader library. When I import the shader, the file is linked with its original path.
Please post the DEBUG messages from the script editor...

thx for your feedback!

cheerio
Oli

Ultrasonic
03-13-2010, 08:53 AM
exactly what I'm looking for!
Thanks olli and paul! keep up doing amazing work.

all the best from cph.
Bastian

remember when i gave u the first lines of code for this back in may 2008?

greetz to cph
Oli

Ultrasonic
03-13-2010, 09:02 AM
A few things i would like to know is can the shader preview thumbnail be rendered and displayed at a higher resolution within the shader library browser?

I think this is a task for the future cause u are not the first person who wants that feature. The only thing would be,that u have to rerender all previewImages for every shader u get from other people. but generally it should be possible to let u choose the thumbsize. I'll see what i can do!


Also it would be great to have the option to be able to create a new folder in the library browser window itself.
Jackpot! This is really annoying ! I KNOW ;) AND I WILL FINALLY IMPLEMENT THIS...


When you delete a shader could you add the ability to delete it's relevant texture folder? That would be handy :-)
If u use the global textures folder u cannot guarantee that the texture isn't in use by another shader...so i can only delete the specific folders that are create when u haven't setup a global Tex folder...i have to check why i haven't implmented this by now...maybe i just forgot it ;)



thx for your feedback dude!
cheers
Oliver

Ultrasonic
03-13-2010, 02:54 PM
New Version released...just use the known location...minor fixes for all those who encounter the bugs that onetime reported...major changes will follow as soon as i have more time for coding ;)

Changes in Version 1.5.2

[REQUEST] the uber-feature ;) has been implemented ... create folder button --- THX TO chuckie7413

[MACBUG] changed all \\FBI_shaderLibrary\\ to /FBI_shaderLibrary/ ... thx to onetime from cgtalk

[BUG] fixed a bug that occurs when a shader has more than one connection to a shadingGroup - thx to onetime

--------------------PENDING REQUESTS & KNOWN BUGS---------------------
[REQ] re-write shaderbrowser to fix bug with empty space on mac - by onetime
[REQ] anonymize paths - remove information about server or project name!!! - by jensl
[REQ] intelligent checking what renderer should be used! check VRayMtl or mia and stuff....
[REQ] integrate web library into maya-ui - like maxwell 2.0
[BUG] delete textures folder as well when deleting a shader - chuckie7413

Sorath
03-14-2010, 04:12 PM
hey olli,

I remember.. and I'm glad you kept on developing the import export thingy.
That's some useful stuff.. hope I can get into using vray and your shaders soon.

THExDUKE
03-15-2010, 10:56 AM
Hey there. A very nice script and I / we appretiate sharing this.

However ive found a little thing which might be kind of related to onetimes post / bug. It mostly appears when you scroll down the menu and it seems that it kind of keeps the image partially visible till it is not supposed to be there anymore.

a little screeny should show you what I mean.

Further I would like to know how to handle for instance if certain shaders require maybe a certain lighting. Since the ref-scene is not with GI or Caustics. How would be a good approach to handle this? Maybe considering of a second GI scene and somehow decide within the script whether it renders with or without GI or even Caustics. I know there are millions of possible setups, but maybe this could become handy if its just basic ;) !

The last thing is if it makes sense to add a little info on each shader. Maybe a spot where peeps could place some additional info on how to handle the shader, give tips for lighting or similar. I know there is the note section for the shader, but since we are lazy it would be nice to see a little text maybe next to the shader! :P
Its just suggestions.

Anyway great work and keep it up!

Cheers

Ultrasonic
03-16-2010, 08:36 AM
Hey there. A very nice script and I / we appretiate sharing this.

However ive found a little thing which might be kind of related to onetimes post / bug. It mostly appears when you scroll down the menu and it seems that it kind of keeps the image partially visible till it is not supposed to be there anymore.

a little screeny should show you what I mean.

Yes....that seems to be the same issue. It's already on the list and i'll fix it asap...

Further I would like to know how to handle for instance if certain shaders require maybe a certain lighting. Since the ref-scene is not with GI or Caustics. How would be a good approach to handle this? Maybe considering of a second GI scene and somehow decide within the script whether it renders with or without GI or even Caustics. I know there are millions of possible setups, but maybe this could become handy if its just basic ;) !

The best way for such special cases would be to render the shader in an separate scene...then fit the image to 256x256 px and replace the "yourshadername.1.ma.jpg" by this image. voila! ;)

The last thing is if it makes sense to add a little info on each shader. Maybe a spot where peeps could place some additional info on how to handle the shader, give tips for lighting or similar. I know there is the note section for the shader, but since we are lazy it would be nice to see a little text maybe next to the shader! :P
Its just suggestions.

This is also already on my list. I would like to add EXIF Metadata to the thumbnails and read that back into maya. Just wait for one of the next releases...


Anyway great work and keep it up!Cheers
Thx! I'll do my best...it's also very pleasing to hear that you guys like and USE it ;)

cheerio

tkdmatt
03-17-2010, 03:37 AM
I've been trying out the script and it's great. We've only had a couple of problems though, the mia wiht the multiple connections to the shading group generate 3 times, this is annoying as mia are our most commonly used shader. And only my machine will generate the thumbnails, on all other machines they fail to generate the thumbnail.

Other than that, it's a great script.

Ultrasonic
03-17-2010, 09:36 AM
I've been trying out the script and it's great. We've only had a couple of problems though, the mia wiht the multiple connections to the shading group generate 3 times, this is annoying as mia are our most commonly used shader. And only my machine will generate the thumbnails, on all other machines they fail to generate the thumbnail.

Other than that, it's a great script.

Please re-download the script...it should be fixed in the latest release - version 1.5.2 ...if u still have problems with the mia,please tell me and maybe send me your shader to oliver@fullblownimages (http://forums.cgsociety.org/oliver@fullblownimages)

cheers
Oli

tkdmatt
03-17-2010, 08:29 PM
Please re-download the script...it should be fixed in the latest release - version 1.5.2 ...if u still have problems with the mia,please tell me and maybe send me your shader to oliver@fullblownimages

cheers
Oli
Whereabouts is the latest version hosted? I just downloaded the script again from your site and it's still version 1.5 with the mia bug.

Also is it possible to add a button to create folders in the UI? This would be really useful for the artists to quickly set things up without having to navigate to our server directory.

Ultrasonic
03-17-2010, 09:55 PM
Whereabouts is the latest version hosted? I just downloaded the script again from your site and it's still version 1.5 with the mia bug.

My fault! Now the correct version is online!
www.fullblownimages.com/download/fbi_shaderLibrary.rar



Also is it possible to add a button to create folders in the UI? This would be really useful for the artists to quickly set things up without having to navigate to our server directory.
This also already implemented in version 1.5.2 from the above link!

have fun!
Oli

tkdmatt
03-18-2010, 01:07 AM
That works great Oliver! Cheers. The mia's are going fine and the folders makes things quicker, we're still have problems with 2 of the artists machine's won't work. Basic test for them is to create a shader, such as a blinn, set renderer to mental ray, click on the script to export the shader, the cmd comes up and the render starts, it show's the first couple of lines then whips through the rest before you can see it. The .ma file is generated but the jpeg is not.

Could this have anything to do with system paths or env variables?

Ultrasonic
03-18-2010, 09:52 AM
That works great Oliver! Cheers. The mia's are going fine and the folders makes things quicker, we're still have problems with 2 of the artists machine's won't work. Basic test for them is to create a shader, such as a blinn, set renderer to mental ray, click on the script to export the shader, the cmd comes up and the render starts, it show's the first couple of lines then whips through the rest before you can see it. The .ma file is generated but the jpeg is not.

Could this have anything to do with system paths or env variables?

This could happen if u switch to another renderer AFTER the UI of the shaderLibrary has been opened...you can check 2 things:
1. what renderer is displayer right over the folder browser?
2. when starting the mayabatch job to render the preview my script prints the exact command to the script editor. U can copy paste that into and standalone cmd-prompt and check the output there because it does not close automaticly.

Hope that helps...
Oli

Ultrasonic
03-19-2010, 10:10 AM
see the attached script...i'll update the full package on my webiste when i am back from work tonight.

May be you noticed that since v1.5.2 the first folder in a directory is missing. This is fixed now! Thx to Michael Kocan for reporting this!

cheerio
Oli

3DRenderer
03-19-2010, 02:10 PM
..;)..Just wish I could convert every one of these shaders to a mia_material. That'd be cool.

Ultrasonic
03-19-2010, 07:19 PM
..;)..Just wish I could convert every one of these shaders to a mia_material. That'd be cool.

I encourage everyone to try out vray....the most noticeable benefit over MR is that you can render cooler images faster and u don't need to study rocket sience to setup your Indirect Illumination ;)

cheers
Oli

InfernalDarkness
03-19-2010, 08:28 PM
I encourage everyone to try out vray....the most noticeable benefit over MR is that you can render cooler images faster and u don't need to study rocket sience to setup your Indirect Illumination ;)

cheers
Oli


A very educated and useful post. Thank you.

Ultrasonic
03-20-2010, 02:14 PM
A very educated and useful post. Thank you.

Just my personal opinion...i don't want to use this thread for flamewar between MR and Vray. Both renderers have their benefits, but i like vray for it's ease of use....and i also think that MR is highly customizeable and so better for large scale productions cause it is easier to develop your own stuff for it. If anyone wants to discuss this please start a new thread! thx!

greets
Oli

tkdmatt
03-21-2010, 11:42 PM
Well I found out why the other artists couldn't use the script. They were all trying to do it in Maya 2010 while I was in 2009. I tried saving the file in 2010 but it still wouldn't work.

We're currently in a transitional stage going from 2009 on an old project to 2010 in a new one. Do you have any idea Oli why it wouldn't work in 2010?

Ultrasonic
03-23-2010, 03:23 PM
Well I found out why the other artists couldn't use the script. They were all trying to do it in Maya 2010 while I was in 2009. I tried saving the file in 2010 but it still wouldn't work.

We're currently in a transitional stage going from 2009 on an old project to 2010 in a new one. Do you have any idea Oli why it wouldn't work in 2010?

I think i am going to transition to 2011 as soon as i get my hands on it. So please be patient. It is very hard for me to support every single version of maya,but i'll do my best! Promise!

cheers
Oli

tkdmatt
03-23-2010, 06:36 PM
I think i am going to transition to 2011 as soon as i get my hands on it. So please be patient. It is very hard for me to support every single version of maya,but i'll do my best! Promise!

cheers
Oli
The weird thing is though that it works for the shader exporting and importing, it's just the thumbnail generation. So I just assumed creating a 2010 version of the render file would work, but no luck.

If you could shed some light on why this is or give me any clues I could do the rest, we're all really excited about using this here.

Ultrasonic
03-27-2010, 07:26 PM
The weird thing is though that it works for the shader exporting and importing, it's just the thumbnail generation. So I just assumed creating a 2010 version of the render file would work, but no luck.

If you could shed some light on why this is or give me any clues I could do the rest, we're all really excited about using this here.

strange behaviour....Can u open the previewScene and just hit render and see what happens? if this renders,then hit "save" and it should also render every shaderPreview Image....i got some feedback from guys using maya 8.5 and there it worked that way...

cheers
Oli

pixelweave
06-03-2010, 04:30 AM
Great script! A dream come true!

I'm not sure if this is a bug, but I couldn't generate any thumbnail previews unless I had a object in the scene that was named as follows (a NURBS sphere in my case):

exportSphere_SCENE_NAME

I came across this issue, while looking at some directories/scenes that would generate thumbnails, and comparing them to ones that wouldn't. I came up with a workaround by adding a sphere to the scene that wouldn't generate, along with the above naming convention. I then saved the file, and it generated the thumbnail.

I'm using Maya 2011.

magnificat
06-06-2010, 12:07 AM
Hi

I'd like to thank you this amazing script in my, and my friends name...
Besides that, I've encountered a small problem, the shader export didnt wanted to cooperate with me, couldn't reach the renderShaderPreview_vray.ma file... I started to look through the script, but didnt saw any related problem... then i figured it out, that the renderShaderPreview_vray.ma needs to be opened, and save again to the same directory, and since then it works... and btw Im using Maya 2011...
Surely it was mentioned somewhere in your readme, and I just didnt noticed, but anyway, it works now, and Im very, very happy :)

So thanks again this amazing script :) looking forward for improvements :)

Richard7666
10-11-2010, 05:48 AM
I would just like to say this works brilliantly!

Ultrasonic
10-11-2010, 08:53 AM
I am glad you guys are happy with the script!

I am also currently workin on an update which fixes some maya 2011 issues (especially the strange crashes which don't happen in previous maya versions).

There will also be a thumbnail size chooser and less buttons - there will be a right click menu for all other stuff except the import button.

Another major change will be the preview scenes, which will now be split into some more files depending on your maya version. This is especially needed for Mental Ray.

There is also an issue with newer builds of Vray which cause the previews to become overexposed. I fixed that by removing textures from the area lights.

I hope i can release it in a few days...

cheers
Oliver

ChewyPixels
10-11-2010, 01:27 PM
I hope i can release it in a few days...

cheers
Oliver

Sweet! I"m really looking forward to the update to one of my favorite scripts. :bounce:

EightBit
10-12-2010, 03:33 PM
I'll definitely check it out. Thanks so much!

Cuni
10-13-2010, 11:08 PM
Works like a charm in Linux!!!

Thank you very very much!

cgbeige
10-13-2010, 11:24 PM
Looking forward to the update. Loving this.

marcovn
10-20-2010, 06:59 AM
does anyone has a decent number of mentalray presets to share (like these very nice vray-mats)?

dangerweenie
10-22-2010, 04:38 AM
I've been using this with V-Ray and MR on Maya 2011 OSX for about 2 months now.

This script is the tits.

Thanks man.

Bombata
11-09-2010, 01:28 AM
Great script. Really sped up the process of getting my head around vray. Thanks!

Im using 1.6.1 with Maya 2011 on a win machine atm and still having trouble with the thumbnail when using MR. VRAY works perfectly.

With a default install a .ma file (for export) is created for the material but it looks like after that the process stops. It was not until I duplicated the "renderShaderPreview_mr_2009.ma" file and renamed it to"renderShaderPreview_mr_2011.ma" that the import into the preview scene and subsequent render starts. A thumbnail is rendered and saved but when I click Update Current Directory in the UI the thumb is ignored and remains blank. The material works fine to import and use though.

I initially thought this had something to do with ignore version but I have this option checked when opening files and I have also re-saved the preview scene in Maya 2011. Am I missing anything? Or are you aware of this issue and just haven't gotten around to it?

Another small thing. I noticed the exr plugged into the IBL node in the MR preview scene file is missing. I had to grab it from a previous download and correct the path to the file. (DH220SN.exr)

Still really happy with the script though.
Thanks.

__________________
EDIT:
Just got the thumb working with mentalray. All I had to do was open the previewscene and make sure the file format in Render settings is set to jpg. NOT .iff which is my default.

Duh!

ryanimation
12-03-2010, 04:57 AM
How does one use the script to convert .mat MAX materials to maya materials

Hamburger
12-03-2010, 05:04 AM
It doesn't, the script is more like hypershade's shader library but way more advanced.

daddyo
12-09-2010, 04:27 AM
looks awesome, can't wait to try it!!!

nachelyd
02-17-2011, 12:32 AM
how to work those shader from your website if I got MAYA 8.5 and how to set them up in a Mac the procedure???? and in Maya?? thanks I really want to check them out..can anyone help me????

Ultrasonic
02-17-2011, 02:38 PM
Hey Guys,

sorry for not getting back to cgtalk for such a long time. My main focus was bugfixing stuff and i mostly did this for vray and kept only those guys at chaosgroup forums up-to-date.

Supporting Mental Ray is still a major pain for me, since i don't use it anymore since about 2,5 years now.

For everyone having trouble with Installing checkout this:
www.fullblownimages.com/download/README_fbi_shaderLibrary.html
and there are also video tutorials on youtube that show you how to install...find them here:
http://www.youtube.com/watch?v=DYJzvi5MiDU
http://www.youtube.com/watch?v=N4ADcUO3fxI&feature=related
http://www.youtube.com/watch?v=8lVfLJtK41k&feature=related

If you still have problems don't hesitate to email me,but please be specific!
In case of Maya8.5 users i cannot tell if it works since we only support 2009 and up...

cheers
Oliver
BTW: shaderlibrary is free, but donations are gratefully appreciated!

Lightweight
02-27-2011, 06:12 AM
I dont know if I've got this right or not, but is there not a way to import just the shader into the Hypershade without importing all the geometry and lighting setup?

Ultrasonic
02-27-2011, 07:24 AM
It seems you haven't tried the script yet. If so, you would know that no lighting setup or geo is being imported....

Just take a closer look...

voxelize
04-04-2011, 11:31 AM
if you have problem with fbi shader library for vray , thumbnail not showing
please search for this line:
image -w $thumbSizeInt -h $thumbSizeInt -image ($newShaderLibPath+"/"+$shaders[$j]+".png");
replace "png" with "jpg"

hope this help

Ultrasonic
04-05-2011, 08:03 AM
if you have problem with fbi shader library for vray , thumbnail not showing
please search for this line:
image -w $thumbSizeInt -h $thumbSizeInt -image ($newShaderLibPath+"/"+$shaders[$j]+".png");
replace "png" with "jpg"

hope this help

That is NOT RECOMMENDED since every new thumbnail will be a PNG...it would be better to convert all your old .jpg thumbnails to PNG using XnView batch convert...

There is also a new shaderpack which does not have this issue anymore...find it here:
http://www.chaosgroup.com/forums/vbulletin/showthread.php?37161-Vray-materials&p=451754#post451754

cheers
Oliver

RagingBull
04-14-2011, 05:39 PM
Thanks for making this tool, going to try it out over the weekend, looks like it's very useful !
:applause:

Ultrasonic
04-15-2011, 11:41 AM
thx man...if you encouter problems just let me know...

@all: if you like it, you can also checkout the little donate button in the upper right corner ;)

nbreslow
04-15-2011, 09:33 PM
Just wanted to say thanks for FBI Shader Library! I have been testing it out and think it is terrific. I look forward to following its progress and have just submitted a donation.

Some random thoughts:

- Add an option to render thumbnails based on a few different geometry templates like the one Jeff Patton made (I know the current one is very similar) and maybe a draped cloth version. Also, add an option for a custom setup. I know that you can manually change the scene but a dropdown to choose the scene to use would be awesome. No big deal as you give clear instructions on how to change the default on your site.

- Extend the 'prompt to rename' dialogue with a checkbox to rename associated texture files on export. Since the current file structure uses a TEXTURES folder at the root it is difficult to keep all those associated textures organized in one directory.

- Improve the file browser to something like the Maya tree structure used in its default file dialogues.

- Add dockControl to the UI so the window can be docked in 2011/12.

- When scaling the window allow the thumbnails to autofit the workspace.

I am sure you are aware of most of this stuff but just wanted to throw my two cents in. Really useful utility that should be part of the V-Ray package.

Thanks,

-Nick Breslow

Ultrasonic
04-17-2011, 12:56 PM
thx a lot nick! Every donation is gratefully appreciated!

All your suggestions just went on my todo list...i am currently very busy, but i think there could be a major update in june (this maybe v2.0)

also thx to everyone else who gave feedback so far!

cheers
Oliver

nbreslow
04-18-2011, 04:32 PM
Look forward to a possible release this summer! If you need anyone to test things out let me know, would be happy to help. Will keep an eye on this thread for news and developments. I hope to be able to organize and add to the current material sets floating out there and will post them when I get to it. Thanks again for such a great tool,

-NB

kenmare
08-05-2011, 11:17 PM
Hey, guys... these vray shaders are obviously superb and a godsend to Maya users (a big thanks to you, Oliver). I have a bit of frustration, though: I've installed both the script and shader library + textures but when when I run the script in the Script Editor in Maya, the UI that pops up doesn't display thumnail images of the shaders. It only shows the various shaders in the form of buttons but no images whatsoever. Does anyone know how to make the thumbnails appear in the UI? Thanks, guys, and keep the community alive.

pauldryzen
08-06-2011, 01:25 PM
Heya,

my mistake, you will need to convert al the jpg images inside the shaderlibray into png files.
You can do that with xnview or any other image view tool.

Paul

Ultrasonic
08-06-2011, 05:06 PM
You can also checkout this page...there is a link to a new shader compilation...
http://www.chaosgroup.com/forums/vbulletin/showthread.php?37161-Vray-materials/page63

cheerio
Oli

Ekenryd
08-09-2011, 03:13 PM
Okay, I installed FBI, then I downloaded the new (I think? "VrayShaders_6in1") library and placed it in the FBI_ShaderLibrary directory. All paths are correct and I can load materials into my scene, but I cannot see any thumbnails. I tried converting all images to .png but they still doesn´t show. I´ve tried right-clicking on thumbnails a selected refresh preview but that doesn´t work either.

Any idea of what might be wrong? Any possibilites that I have some weird script that is conflicting?

Maya 2012 btw.

Ultrasonic
08-18-2011, 10:35 PM
Hi Ekenryd,

sounds strange...maybe a 2012 issue...can u send me details like a sceenshot and script editor output via PM or email. my mailadress is in the readme...

cheers
Oliver

Richard7666
08-19-2011, 06:38 AM
Oliver, you should update the first post with a link to the latest 6 in 1 shaded library :)

arkanoid
08-19-2011, 01:29 PM
Hi Oliver, is still the sharing function active? I've just uploaded a simple MR shader now but the site www.fullblownimages.com/shaderlibrary seems to be down.

Ultrasonic
08-19-2011, 09:07 PM
Hi Oliver, is still the sharing function active? I've just uploaded a simple MR shader now but the site www.fullblownimages.com/shaderlibrary seems to be down.

Yep...this is down at the moment due to a move of my webserver...the new hoster does not support different ftp logins...need to move all the stuff again sometime...

Sadly this feature hasn't been used by the community so i did not fix it til now.

I'll let u know when it'll work again.

cheers
Oli

arkanoid
08-19-2011, 11:23 PM
Ah, ok no problem.
I can guess people don't share so much because they don't feel a real "community" and they don't have other pushes for that. Even the mrmaterials site is deserted (at least the Maya part).

Hamburger
09-24-2011, 04:33 AM
Just to bump this, is there a way to batch render all previews in a library?

Ultrasonic
09-24-2011, 02:16 PM
Just to bump this, is there a way to batch render all previews in a library?
Good point...i am about to implement it...maybe i can release a minor update tonight...

Ultrasonic
09-25-2011, 12:24 AM
1.8.0 released here:
http://www.fullblownimages.com/download/fbi_shaderLibrary.rar

Shader-Upload is also working again...


[NEW] Maya 2012 preview scenes
[NEW] Export batchfile button as requested on cg-talk
[NEW] dummy button to skip preview rendering - TO BE DONE
[FIX] Fixed copying and relinking textures when you had your projects-sourceimages to an absolut path like "X:/TEXTURES" - thx Mr.Dryzen ;)

Hamburger
09-25-2011, 01:43 AM
Cool beans.

I think this is so useful! Donated!

Although there are two things that seem to be a bit funny:

1) My pngs don't seem to scale when going below 384 setting, they just get clipped
2) When in 384 mode, shaders begin to dissapear, but when I set thumbsize to 256, they reappear! :)

Panupat
09-25-2011, 04:09 AM
Where can I download that round trophy model thing all vray materials are using?

Ultrasonic
09-25-2011, 09:58 AM
I think this is so useful! Donated!
Greatly appreciated man!


1) My pngs don't seem to scale when going below 384 setting, they just get clipped
2) When in 384 mode, shaders begin to dissapear, but when I set thumbsize to 256, they reappear! :)
Yeah...i know the problem...but i need to blame autodesk for that...maya 2011 was the only version that could scale the previews...since 2012 it seems they dumped that feature again...maybe i need to remove that option from the ui again.


Where can I download that round trophy model thing all vray materials are using?

check out this thread here:
http://www.chaosgroup.com/forums/vbulletin/showthread.php?37161-Vray-materials/
But a simple previewscene is also provided with my shaderlibrary.


cheerio
Oliver

Fedas
09-29-2011, 06:09 PM
Men, You both are genius. i am from brazil and want to thank you both for this very nice tool.

Ultrasonic
09-30-2011, 12:56 PM
Men, You both are genius. i am from brazil and want to thank you both for this very nice tool.
I would not call me genius...it's all just some lines of code...everyone can do this...just takes some time...

Hamburger
11-15-2011, 04:12 AM
Hi, I was wondering how and if it is possible to get this script not to copy textures over to the "TEXTURES" folder when saving out shaders?

It's currently duplicating many textures in my library as I already have them setup in a shared folder.

Ultrasonic
11-15-2011, 09:25 PM
Hi, I was wondering how and if it is possible to get this script not to copy textures over to the "TEXTURES" folder when saving out shaders?

Very good point....haven't thought about that yet....it just went on my todo list...since i am really busy at Pixomondo right now this will take some time...sorry ;)

cheerio
Oliver

Hamburger
11-15-2011, 10:05 PM
No problems at all, I understand.

rcronin
12-24-2011, 10:27 PM
http://www.chaosgroup.com/forums/vb...aterials/page63

In my forum account I get the error "you do not have permission to access this page"

any chance you can post this file somewhere? Thx
ps great script.

R

Ultrasonic
12-27-2011, 02:07 PM
http://www.chaosgroup.com/forums/vb...aterials/page63

In my forum account I get the error "you do not have permission to access this page"

any chance you can post this file somewhere? Thx
ps great script.

R

please try again, cause it is in the public part of the forums...
http://www.chaosgroup.com/forums/vbulletin/showthread.php?37161-Vray-materials/page63

dubistdu
08-18-2012, 03:31 AM
THANK YOU!!!:bounce: :thumbsup:

Geuse
02-20-2013, 02:02 AM
Hi!
Just found this one. However I'm running into some issues =/
I
mporting a shader doesn't link the textures correctly. Is manual browsing the only option?
sourceimages\C:\Paul_Daten\Shaderlib\tex\\body-skin-gator.jpg

Other than that, I'd say it works very well.

I also converted the images to png, but then I'd also liked the preview images to lose the annoying ".mb" suffix. For ex:
Rainbow_v001SG.1.mb.png
becomes
Rainbow_v001SG.1.png

I edited the code for this to work from line 196-201
string $imgName = "";
for ($j=$i * $numRows;$j<$newMax;$j++) { //size($shaders)
$imgName = substitute(".mb", $shaders[$j], "");

columnLayout -h ($thumbSizeInt + 50);
image -w $thumbSizeInt -h $thumbSizeInt -image ($newShaderLibPath+"/"+$imgName+".png");

However, I dug around some, but couldn't quite sort out how to change the name to also be correct when doing the batchrender and saving the preview image.

Other than that, I like it alot. Great job!

Ultrasonic
04-09-2013, 08:19 PM
Hi Guys,

i just wanted to announce an update as soon as i get my 2014 subscription upgrade...so maybe in the next few weeks....i'll also try to incorporate some of your feedback ( especially Geuse ) !!!

stay tuned
Oli

marcovn
04-09-2013, 08:52 PM
great to hear!

Geuse
04-09-2013, 11:22 PM
Cool.
Actually I've started using Sunday Warehouse browser. Seem to be a similar thing as your browser. However I feel it's a bit easier to navigate. I could recommend it for you, but as I can see you've spent time coding your own you'd rather continue doing that.

A few suggestions I feel could be added to improve it.
Easier to navigate than having to press a button to step up in folder hiearachy. Either incorporate the use of backspace(I'm not sure if that's possible though in a cusom UI as such) or as Sunday Warehouse browser is using, a dropdown menu list.

The image size doesn't scale with the icon size so you're losing the image of the different shaders if you go too far down. Also it would be cool if you added ab option to open the icon as a big image while hovering it if that can be done or at perhaps open it in windows image viewer to get a larger view.

One more thing that would be awesome is if you created an option at the bottom of your dropdown list or as a button for a folder, where you have listed all shaders from all the different folders so you could go ahead and browse every shader at the same time in the same dropdown if you weren't sure what you was looking for.

But don't discard the category folder setup you already have in favor to this. Cause most often you'd know what kind of material you want and not having to browse through all the organic and glass materials.

Keep up the good work. :beer:

Hamburger
04-12-2013, 04:34 AM
Hi Guys,

i just wanted to announce an update as soon as i get my 2014 subscription upgrade...so maybe in the next few weeks....i'll also try to incorporate some of your feedback ( especially Geuse ) !!!

stay tuned
Oli

Sweet!

Is it at all possible to have my wishlist in consideration from a few years back please? I'm still missing this, I never got around to fixing it myself because it's quite a big script!

Is possible to get this script not to copy textures over to the "TEXTURES" folder when saving out shaders?

It's currently duplicating many textures in my library as I already have them setup in a shared folder."

Also on 2013.5, I get maya crashing if I delete from the shader library interface.

Thanks Ultra!

op61
04-23-2013, 08:11 AM
Hi Paul

My name is Ofentse.
First of all, I want to say thanks for the amazing work on the FBI shaders that you have shared. :thumbsup:

However, I am having troubles with the script, the preview thumbnails are not showing on my GUI.
So I cannot preview the shaders.

Is it perhaps that I put the 'TEXTURES' file in the wrong place? is there a specific place to put the because the shaders work fine, I just cant seem to preview them. And the youtube videos are so low in quality, I cant follow every step.

I HAVE ATTACHED AN SNAPSHOT OF WHAT MY SCRIPT WOULD LOOK LIKE WHEN I RUN IT.

Hope you find time for a quick response because I would be grateful.


Hope to here from you soon.

Regards.

Hamburger
06-06-2013, 04:11 AM
Hi Guys,

i just wanted to announce an update as soon as i get my 2014 subscription upgrade...so maybe in the next few weeks....i'll also try to incorporate some of your feedback ( especially Geuse ) !!!

stay tuned
Oli

You tease us! :cry:

CGTalk Moderation
06-06-2013, 04:11 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.