View Full Version : Renderpasses M7 : Layer based rendering
08-13-2005, 03:49 PM
I'm getting a little bit confused about the Renderpasses way in M7
I have a simple scene with an Plane and a Sphere on top like this:
I want to Renderout mhh, 2 Passes. a Colorpass and Shadowpass.
By now not very difficult. But i want this for every Object.
Sphere : Color and Shadow
Plane : Color and Shadow
Just like in Maya 6.5 where you can Render a Shadow pass. And Maya give's you for every Renderlayer an image
The Problem comes with the Shadow! Because the 2 Objects are interacting with each other. In Maya 7 is it impossible ( i think ) to let Layer interact with others because
if you click on an Renderlayer Maya 7 hides automaticly all content from the other.
So, how can I render in Maya 7 a scene with renderpasses and getting this Passes for different Objects.
08-13-2005, 04:05 PM
To explaine it a little bit simpler. Here the 6.5 way.
Here just the rendered 2 Layers. Only Beauty!
The 2 Render Images for every Layer:
Yeah it seem so simple, and maybe I've got tomatoes on my eyes. So please
take them away and tell me how to do this 6.5 way in Maya 7 :)
08-14-2005, 12:10 AM
Im waiting for a deep going tutorial for maya 7 multipass rendering support. Im confused too :)
08-14-2005, 12:54 AM
well not to hurt you but this is not a shadow pass.
a shadow pass is a black pass with shadows generally
white, also colored to break them in composite.
in this way you have not to worry about each layer
interacting with each other , it is a global pass. if
you need further restrictions to be applied to some
particular objs you'll isolate them in another layer
applying the same underlying method, that is...
select all the objs you need to be involved in your
damn shadow pass plus all the lights, then simply
create an override for your lights main and shadow
color, respectively black and white. turn off primary
visibility as layer override if you wanna pure shdws.
you can do this also with a specialized surface shader
that simply project the shadows as alphas.
if you wanna still follow your method you should
duplicate your layer and turn off primary visibility
for the objs involved, take care that while maya
does not support partitions from within each
layer you should also include your lights and avoid
to set global overrides but instead be used to use
local overrides for each objs.
and to be not confused you should completely
delete from your brain the previous pass system
and simply read the three pages about the new
one in the manual. :)
08-14-2005, 01:23 AM
Ok, delete any render layers you have, and we'll do all this from scratch. So to start with you have a plane, a sphere, and a shadow casting light.
-Select the plane, sphere, light, and click the 'create new layer and assign selected objects' button. Name the layer 'sphere'
-Create a second render layer as above, name it 'plane'.
-Click on the 'sphere' layer to make it active.
Now that you're in a render layer, maya will be watching for basic changes you make to the scene, and store them with that layer. This includes most render globals, object visibilty, shader assignment etc.
In this case, we want to only render the sphere. Here's how:
-Select the plane
Thats it! If you click on the 'masterLayer', you'll see the plane re-appear. Click the 'sphere' layer, it'll be hidden. If you bring up the attribute editor, select the plane, then click the sphere layer, you'll see the visibilty attribute label has turned orange. This is to show you that its been changed for this specific layer.
Ok, now to create the plane layer:
-Click the plane layer to make it active
-Select the sphere, go to the attribute editor, and turn off primary visibility.
Very simple, very powerful way of controlling your render passes.
You'll probably soon hit attributes you wish to alter for a pass, and find it's not being watched by the render layers. All you do is right-click that attribute in the attribute editor, and choose 'create layer override'. It will then turn orange, and you can set it as you please.
edit: I've added a little more info to the maya wiki. http://www.tokeru.com/twiki/bin/view/Main/MayaRender
08-14-2005, 10:52 AM
thank you!!! :)
08-14-2005, 10:52 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.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.