PDA

View Full Version : Ray_marcher & Mib_volume


Wish
11-09-2006, 07:16 AM
Guys, can you tell me, how I can use Rib_marcher node and Mib_volume(not Parti_volume)?
Thanks
________
Vermont Marijuana Dispensary (http://vermont.dispensaries.org/)

mental ray
11-10-2006, 03:50 AM
Good question. I always thought that you could create afterburn like shaders using these shaders but could never achieve this. If not are there any voxel shaders out there for mental ray besides the built in Maya one for fluids?

Wish
11-10-2006, 06:58 AM
So, this shaders is for fluids? Really interesting. Maya is rendering fluids, but what shader is lay on fluids? Ray marcher??
________
HOT BOX VAPORIZERS (http://hotboxvaporizers.com)

dub
11-15-2006, 08:26 AM
You guys are really only talking about something similar to to these shaders. Something as specific as rendering fluids can be what these shaders do but they are only a peice of the puzzle, not the whole shader graph. Both of these shaders are representatives of the 'each shader does a specific task' paradigm in mental ray.

The ray marcher is used (commonly) to calculate depths of a volume. As the ray marcher casts out light into the volume, it returns the subdivided weight as it passes through the volume. There is an input on the shader to which you supply any sort of surface shader that will be used in conjunction with the weight value returned to give you renderable pixels.

I haven't been able to find much info on mib_volume but I would expect it to be used similarly to the parti_volume as in with participating media effects.

cheers

Wish
11-16-2006, 04:39 AM
?h, thanks!!!
________
TRICHOMES (http://trichomes.org)

BigBucks
11-18-2006, 03:13 PM
I would like to use this shader to return a depth from a specified light. Could someone please give the connections to make this possible.

Thanks

mental ray
11-20-2006, 12:32 AM
Hey Dub,

Can you share a sample scene with a raymarcher node setup?

Thanks in advance.