CGTalk > Software > Autodesk 3ds max > 3dsMax Resources
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 03-04-2004, 09:12 PM   #1
Pixero
Expert
 
Pixero's Avatar
portfolio
Jan Sandström
Halmstad, Sweden
 
Join Date: Aug 2002
Posts: 895
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-05-2004, 03:01 AM   #2
zkydz
Veteran
 
Join Date: Feb 2002
Posts: 58
These look very interesting! Thanks bunches
 
Old 03-07-2004, 06:10 AM   #3
rohit
Veteran
VFX Artist
 
Join Date: Jun 2002
Posts: 45
sorry for me ignorance but what is mental ray shader all about?

regards, rohit
 
Old 03-07-2004, 05:02 PM   #4
Pixero
Expert
 
Pixero's Avatar
portfolio
Jan Sandström
Halmstad, Sweden
 
Join Date: Aug 2002
Posts: 895
MentalRay is a renderer for Max, Maya and XSI.
MentalRay shaders are custom shaders for it.
 
Old 03-26-2004, 03:31 AM   #5
rohit
Veteran
VFX Artist
 
Join Date: Jun 2002
Posts: 45
http://www.sandstrom.on.to/

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

regards, rohit
 
Old 03-26-2004, 08:59 AM   #6
Pixero
Expert
 
Pixero's Avatar
portfolio
Jan Sandström
Halmstad, Sweden
 
Join Date: Aug 2002
Posts: 895
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-26-2004, 09:44 AM   #7
rohit
Veteran
VFX Artist
 
Join Date: Jun 2002
Posts: 45
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-26-2004, 11:34 PM   #8
Pixero
Expert
 
Pixero's Avatar
portfolio
Jan Sandström
Halmstad, Sweden
 
Join Date: Aug 2002
Posts: 895
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-28-2004, 03:04 PM   #9
rohit
Veteran
VFX Artist
 
Join Date: Jun 2002
Posts: 45
clicked on source map but i don't see any ' plaincolour '

regards, rohit
 
Old 03-28-2004, 07:15 PM   #10
Pixero
Expert
 
Pixero's Avatar
portfolio
Jan Sandström
Halmstad, Sweden
 
Join Date: Aug 2002
Posts: 895
Plaincolor is a MR shader. You can get it at my site.
www.sandstrom.on.to
 
Old 03-28-2004, 07:27 PM   #11
Autarkis
Made of vertices
 
Autarkis's Avatar
portfolio
Boris Blosse
Environment Artist
Belmont, USA
 
Join Date: Jan 2004
Posts: 662
Send a message via AIM to Autarkis Send a message via MSN to Autarkis Send a message via Yahoo to Autarkis
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-29-2004, 05:25 AM   #12
rohit
Veteran
VFX Artist
 
Join Date: Jun 2002
Posts: 45
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-29-2004, 06:44 AM   #13
Pixero
Expert
 
Pixero's Avatar
portfolio
Jan Sandström
Halmstad, Sweden
 
Join Date: Aug 2002
Posts: 895
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-29-2004, 11:25 AM   #14
rohit
Veteran
VFX Artist
 
Join Date: Jun 2002
Posts: 45
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-17-2006, 03:00 PM   #15
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,480
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:00 AM.


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