New MentalRay shaders

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 03 March 2004   #1
New MentalRay shaders

I have made some MR shaders originally for Maya,
but since MR shader work across different packages I made 3dsmax gui declarations so they also can be used in Max.


JS_fisheye

A fisheye lens shader with extra parameters to get some funky stuff.


JS_panoramic

A panoramic shader with a field_of_view parameter to make it work from 0 to 360 degrees.
I have also added a automatic adjustment of the camera angle when field of view < 360.


JS_wood

A simple wood shader.


JS_wrapmaterial

A phong wraplight material shader for MentalRay for Maya.
Made with help of: http://www.nanomation.co.uk




In the example image you can see the top sphere with an ordinary phong shader lit from the sides.
Notice the dark shaded band around the center.
On the lower sphere the JS_wrapmaterial simulates the real world scattering of light that makes the lighting seem to "wrap" around the sphere and eliminate the dark band.
Adjust the wrap_factor for the wrap effect.



Mental Ray shaders

Enjoy!
 
Old 03 March 2004   #2
These look very interesting! Thanks bunches
 
Old 03 March 2004   #3
sorry for me ignorance but what is mental ray shader all about?

regards, rohit
 
Old 03 March 2004   #4
MentalRay is a renderer for Max, Maya and XSI.
MentalRay shaders are custom shaders for it.
 
Old 03 March 2004   #5
http://www.sandstrom.on.to/

How to install shaders like whirly in 3dsmax 6 available on the above mentioned website?

regards, rohit
 
Old 03 March 2004   #6
The Whirly.dll goes in: 3dsmax6/mentalray/shaders
The Whirly.mi goes in 3dsmax6/mentalray/include

Sadly the shader presets included with the dll are for XSI only.
 
Old 03 March 2004   #7
Those preset are cool & it's sad to know that they are not for max. Anyway downloaded whirly.mi which was not included in the zip folder.

I can see the shader but don't know how to use it.

thanks, rohit
 
Old 03 March 2004   #8
First. I did not write the Whirly shader that was a guy called G. Mohan. I have simply written the Whirly.mi file so that it could be used with Maya and Max.

The shader outputs a scalar (float) value from 0 to 1 but since Max doesnt seem to like scalar output from a shader I use my MR shader Plaincolor to convert its float value to a value from black to white. You can get it at my site. www.sandstrom.on.to

I´ve made a short guide on how to use it in Max.
Here we go...

Create a material, standard will do, and click on the diffuse color map.
Select Gradient Ramp and set the Gradient type to Mapped.
Right click the middle gradient flag and delete it.
Click on Source Map and choose Plaincolor.
Set its color to white and map Whirly to the brighness value.
In the whirly shader click on the Coord map and select UV Generator.
Assign the shader to a object and render using MentalRay.
Now you´ll have a grayscale pattern that could be used for bumpmaps or displacement.
Play with the settings in the Whirly shader until you know what the different settings do.
Now go back to the ramp and change the colors by right clicking on the ramps flags and choose Edit properties.
Add new flags by clicking in the ramp and then change their color to whatever you like.
Render away!
 
Old 03 March 2004   #9
clicked on source map but i don't see any ' plaincolour '

regards, rohit
 
Old 03 March 2004   #10
Plaincolor is a MR shader. You can get it at my site.
www.sandstrom.on.to
 
Old 03 March 2004   #11
Thanks pixero. I'll definitely go play around with those new shaders you're sharing with us

I can never have enough shaders!
__________________
It’s the sensible, logical thing to do, of course, which is why we don’t do it.
 
Old 03 March 2004   #12
PHEN 0.2 error 051011: shader "Whirly" not found


This is what i get when i render the scene. I followed all ur instructions & whirly is installed then why this error?

regards, rohit
 
Old 03 March 2004   #13
MentalRay shaders need two files to work. A .dll and a .mi file.

The error means you dont have the Whirly.dll in the right directory.

Whirly.dll should be in: 3dsmax6\mentalray\shaders
Whirly.mi should be in: 3dsmax6\mentalray\include

Get the Whirly.mi file from my site here
and the Whirly.dll here
 
Old 03 March 2004   #14
thanks for all the effort & does preset creation requires good scripting knowledge? I liked all those presets & want to achieve all those results. That will be great!

regards, rohit
 
Old 01 January 2006   #15
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 03:50 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.