PDA

View Full Version : Why is my GI not doing anything? help please.


daydreameroperter
04-22-2006, 07:13 AM
Ok as of recently I've found that when I render through maya with mental ray...that my renders with certain settings are identical and shouldn't be. For instance, when I render with global Illumination, it's the same as without it. And I can turn my final gather on or off and get the same result. In this scene I have two spotlights both emmitting photons (although turning photons on and off also makes no difference), and in this scene I've turned on ray tracing in the render globals as well as in my lights attributes, and there's no change in my renders. Does anybody know why this is happening?

P.S. I'd include a picture of the render to assure that there should be a change, however I don't know how to attach one. Could anybody tell me how to do that as well? And lastly how to get rid of the displayed information of my name and whereabouts on all my posts.

AndreasMartin
04-22-2006, 10:57 AM
use www.imageshack.us (http://www.imageshack.us) to store your files

daydreameroperter
04-22-2006, 09:19 PM
http://img60.imageshack.us/my.php?image=thejewelrychallenge5vb.jpg


did that work? if not here's a direct link to the image.. http://img60.imageshack.us/img60/6586/thejewelrychallenge7fr.jpg

The scene file that this render was made from is the scene for the jewelry rendering challenge here on CGtalk.

razorback
04-23-2006, 03:03 AM
You don't mention in much detail how the scene is like so I'm just gonna take a stab at possible common solutions....

1. Did you turn on GI and FG in the render globals ? Set your renderer to mental ray ?(I know its stupid, but some people forget.)
2. You may be emmiting too few photons, or that your lights are so far away that your photons have no energy by the time it gets to your object. Don't be shy, mental ray can handle 100's of thousands of photons and whatever energy is in units.
3. There already seems to be some ambient lighting going on, or maybe its just another light with shadows turned off.
4. Your textures are a flat gray, try changing it to a lighter color blinn.
5. Are there other objects in your scene to be bouncing light around ?

Thats all i can think off right off the top of my head. Good luck with it.

jeremybirn
04-23-2006, 05:10 AM
Usually it's the photon intensity set too low. If 8 thousands is too dim to see, try 800 thousand or 80 million. Just keep adding 0's until something shows up.

(You see the exponent of 2? That's like a Quadratic decay rate on a light, and requires very high numbers in just the same way that a point light with Quadratic decay will require a very high intensity to show up.)

Final Gathering works with or without photons in the scene. It does require raytracing, but otherwise works well on its own. You can make the final gather scale brighter (try a value of 3 or 4 instead of 1) if you want to see it by itself with no other GI.

-jeremy

daydreameroperter
04-23-2006, 08:57 AM
Well first of all thanks to everybody for your replies. And I've made the suggested changes which did change the render a small bit, but not very much. Here is an uploaded image of what the new render looks like.

http://img161.imageshack.us/my.php?image=vb1nz.jpg

There is a small bit more of light in the shadows of the cylinder.

I can confirm that it was rendered with Mental ray, with ray tracing set in the render globals, and all the lights, also that my FG and GI was set on, and that there is geometry to reflect some light. Here are some pictures of the scene with the cylinder made a yellow to stand out, two reflecting walls blue, and the surface that cylinder sits on is green. You can clearly make out the two spot lights, and the small blue curve with the camera at one end looks directly down the other.

http://img81.imageshack.us/my.php?image=wireframe12py.jpg

Here are the changes made since my last render.

1. Both lights are emmitting 200,000 photons
2. the exponent was changed to 10
3. Global Ilumm changed to 20,000

Still somehow I feel as though my renders aren't quite where they should be with the render tecniques used. You can see on the jewelry render challenge on this site's forum that everyone's render of these two simple components in themself look far more life like. I've asked them why without reply so far. Thanks again to everyone here. By the way, Jeremy pleasently surprised to see you on here, I had to read your book for Shading and Lighting at my school. :)

slipknot66
04-23-2006, 09:21 AM
Could you tell me what kind of look you want with this ring?I am asking because you dont need to use those high values for GI and FG.Also try to always position your objects in the midle of the viewport grid, as the size of the scene can make the difference.

jeremybirn
04-23-2006, 02:44 PM
Hi Gabe -

Do not change the exponent to 10. Exponents in MR are like decay settings in Maya lights (0=no Decay,1=Linear,2=Quadratic,3=Cubic). So your light is already decaying very rapidly with distance at 2, probably leaving it at 2 and using a very high photon intensity will make up for it. Even though 2 is physically correct, sometimes people cheat a bit and use a lower value like 1.8 if they want really uniform fill light out of their GI, but 2 should work well. Be sure you have turned up the photon intensity bright enough: try it TOO bright, so your scene goes white, then turn it back down a bit to the intensity you actually want. If you're using GI because you want light to inter-reflect around an environment, make sure you have built a complete environment around the scene. Putting the whole scene and the lights inside a cube or sphere even could help with that, or any other environment that surrounds your models.

Using more photons slows down your render, so don't start using more and more photons until you're sure you have the basic look and brightness you want. Your tests with fewer photons will look blotchy, but blotchy little quick tests should be good enough to get the intensity and colors right.

-jeremy

daydreameroperter
04-24-2006, 12:24 AM
Well with the suggested changes I can see that Mental Ray is at least responding. I put a sphere around the scene as suggested, put my
photon intensity to 400,000, took my exponent to 1.8. And with that I got the exact same render...but brighter. So at least the GI is
working. And to slipknot, the scene is actually already predesigned with the correct placement of the cameras, lights, and objects.
Now to change the size I could throw everything in a group and scale it down to retain the photon's energy. Cool, simple idea.

However in this challenge you can see a noticeable difference in their renders, and mine. Here is a link to the first page of the
challenge.

http://forums.cgsociety.org/showthread.php?t=328799&page=1&pp=15&highlight=jewelry+challenge

And now here is a link to a new render of mine. Using FG and GI, with production quality.

http://img205.imageshack.us/my.php?image=itworkingiguess7ih.jpg


first of all notice that the edges of all the shadows are soft in their render. Mind are hard, despite me using my
penumbra angle. Also the light bouncing up from the ground surface helping give an ambient look. I believe that whatever is
lacking in my rendering process that's not giving those two effects will help...And I would use area lights, but those don't emit photons.
And I don't think I can render out stuff like they are without FG and/or GI. Thanks again for the help. :)

jeremybirn
04-24-2006, 12:42 AM
I see. Looks like a good excercise.

It sounds like you are learning about several things at once, so take stuff in order. Soft shadows are something you can learn about without using GI, and so are setting up shaders with soft reflections. Then, work on the caustics. Other than the caustics, GI seems like the lowest priority thing visually, and also renders the slowest, so that should be the last thing you work on, after you have the shadows, reflections, and caustics all working well.

-jeremy

daydreameroperter
04-24-2006, 04:49 AM
I see. so soft shadows can be expressed through the shader rather than the light's attributes, and render tecniques. so where would i begin with learning about that?

jeremybirn
04-24-2006, 04:56 AM
I see. so soft shadows can be expressed through the shader rather than the light's attributes, and render tecniques. so where would i begin with learning about that?

Was that a mis-reading of something I said?? Anyway, nobody is going to type the whole manual for you into this thred, but you can fix your lighting to get soft shadows. Then work on setting up soft reflections. Then caustics...

-j

slipknot66
04-24-2006, 06:30 AM
I just downloaded the file (obj) provided for this challenge, and all the objects are not visible in reflection and refraction. do this, select all the objects, then go to Window---General Editors---Attribute Spread Sheet, look for the render tab, you will see "Visible in Reflection" and "Visible in Refraction",click on the first and then shift click on the second, turn all that to "on". I think now your GI,FG and caustics will work fine.

CGTalk Moderation
04-24-2006, 06:30 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.