So far when it comes to rendering using mental ray I found out that objects (In Maya) only shows when there's no skybox obstructing the way...however I am currently working on a world right now and I need a skybox to go with it.
I'm using an High Dynamic Range Image map for the light source but does anyone know a more appropriate setting for mental ray to render without it? I've only used that method so far and as far as I have tried for myself, everything renders out pitch black.
Lemme know.
Replies
It'd be great if you tell me the little steps though.
And no, my skybox is juts a dome shape by itself with the default assigned to it as of now.
Create a cube or sphere that surrounds the whole scene.
Create a new lambert shader in hypershade. Create a new file texture node and load your HDR image or sky texture.
Connect the outColor from the file node to the color and ambientColor attributes of the new lambert shader. You can do this in hypershade.
Apply the new lambert shader to the box or sphere surrounding the scene.
Now in your Render Settings turn Final Gather on in the mental ray tab. To get a good result you should increase the number of Final Gathers Rays to something like 500. You can play around with this value until you find a result you like.
Render scene.
Here're the results - The first one's using a featureless sky texture map, the one below is using the bright HDRI map.
Lemme what else I can do on the first one to make it better lit.
Thanks
I used raytrace shadows with default settings.
I used 600 rays for final gathering.
I used adaptive sampling with min sample at 1 and max sample level at 3
Other tabs under ray tracing was turned off or to low settings (i.e reflection level, refractions) except shadows.
Before all this when I was getting pitch black results, I used the same settings but used the hdri map as an environment map.
Put a plane as close to the camera as realistically possible in the top left corner, probably just the front end of the plane. Whatever looks good.
And add a point of interest like a tank or an explosion at the end of the long street.