Hey Guys,
I’ve been experimenting with mental ray a lot lately (using Maya) and I am going to be creating a rather large city scene for my end of year project. I want to emulate atmospheric perspective. I have been researching for the last two hours about this, as I was first trying an environment fog but not really getting the results I wanted. Eventually I read about visibility distance.
So, I know changing the visibility without applying it to the lens won’t produce a difference. On a website I found the following MEL Script: connectAttr mia_physicalsky1.message cameraShape.miLensShaderList[0]; - That connected the camera with the physicalsky… so when I render it now it just shows the sky basically. Even if I set the visibility to 0.001 all the way to 10, it shows no objects, nothing, just sky. If I set it to 0, I see everything normally.
I was wondering if it was just the scene itself, so I tried it with simple objects with the same results. I don’t know if it was the size of the objects, so I may them very large, again with no difference.
Super frustrating! But the Lighting community on CG Society has been super helpful, so perhaps someone will be able to lend some advice.
Thanks,
Rob
and really good responses. Tons of rendering gurus hang around those parts