Reply
Reply
 
Thread Tools Display Modes
kodde's Avatar
Old (#1)
Does anyone know any way to get normal map self-shadowing to work with mental ray? With Depth Map Shadows is preferred.

I am trying to come up with an alternative to baking ambient occlusion in Maya.

Thanks.
Offline , dedicated polycounter, 1,366 Posts, Join Date Dec 2004, Location Malmö, Sweden  
   Reply With Quote

frubes's Avatar
Old (#2)
are you talking about being able to get the bump detail out of your normal/bump maps and into and ambient occlusion pass?
Offline , triangle, 267 Posts, Join Date Dec 2007, Location New York, NY  
   Reply With Quote

kodde's Avatar
Old (#3)
Not really, forget about ambient occlusion for the moment.

What I want is shadowing from the normal map "faked" surface. Imagine a flat polygon plane, extrude a central polygon outwards. Generate a normal map from that and apply it to a flat polygon plane. Now... when rendering the low polygon object with the normalmap I would want shadowing on itself from that "faked" extruded face.

And I want this to work in Mental Ray.

I think Brice's BRDF Shader has this, but it wouldn't work in MR so it's not really an option in this case.

Last edited by kodde; 04-03-2009 at 08:25 AM..
Offline , dedicated polycounter, 1,366 Posts, Join Date Dec 2004, Location Malmö, Sweden  
   Reply With Quote

ivars's Avatar
Old (#4)
I think you'll need heightmap data for that.
Offline , triangle, 478 Posts, Join Date Feb 2007, Location Sweden  
   Reply With Quote

kodde's Avatar
Old (#5)
Quote:
Originally Posted by ivars View Post
I think you'll need heightmap data for that.
I was thinking about that as well. A displacement map would probably be on way around this for my grand plan.

But I am curious how NMap self shadowing works in other scenarios. I mean for example Brice's BRDF Shader has Nmap self shadowing, does this use any height data? I should get around to actually trying this out with his shader.
Offline , dedicated polycounter, 1,366 Posts, Join Date Dec 2004, Location Malmö, Sweden  
   Reply With Quote

Brice Vandemoortele's Avatar
Old (#6)
Hi there
indeed relief mapping uses a height map and the shadowing calculation does not rely on the normal map info.
Are you looking for an alternative to ao? like a process that would give more directionality to the baking? Maybe you could take a look at IBL baking, which is more likely to give subtle shadows than procedural lights.
Offline , triangle, 309 Posts, Join Date Jan 2005, Location Belgium Send a message via Skype™ to Brice Vandemoortele  
   Reply With Quote

kodde's Avatar
Old (#7)
I was playing around with a Dome Light Setup application for Maya. I liked the results and tried baking them to textures. I found the results to resemble AO but I found this more appealing and was wondering if I could also get the Normal Map to cast shadows with the Color > Batch Bake (Mental Ray) in Maya.

Therefor the question about Self-Shadowing with Mental Ray.

Thanks for the replies.
Offline , dedicated polycounter, 1,366 Posts, Join Date Dec 2004, Location Malmö, Sweden  
   Reply With Quote

Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 1998-2012 A. Risch