Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 05-10-2012 , 06:35 AM
zestken's Avatar
Registered User
Join Date: Sep 2012
Posts: 31

Problems With GI

Hello everyone. After following lessons on Mental Ray by Digital Tutors. I've been trying to work on this scene known as FourScripts from 3drender.com


I've worked with manual lights in Maya. It's just mental ray I'm not much used to.

So following are the issues I'm having.

1> First of all I'm using AreaLight as my photon emitter but unable to make GI behave the way I've followed from the tutorials and their practical scene files. As you can see from the image that the photon distribution is not satisfactory.
user added image
**I'm just following the setup not the exact attribute settings.**

2> The second thing is when I use Area Light with Use Light Shape attribute turned on the photon distribution gets more even.
user added image

Settings are as follows:-
user added image
user added image

Photon Distribution:-
user added image

Also these are Maya Lambert Material and I've tried with Mia_Material too but that didn't help.

Any help would be great. Thanks

# 2 05-10-2012 , 05:19 PM
David's Avatar
SM Tea Boy
Join Date: Apr 2002
Location: Prague
Posts: 3,228
You're trying to light a scene with just GI, and an area light? While this is possible is not IMO a very good way to do it. In fact I can tell by your shot your not using an exposure node on the camera which is why you have the hot spot in the window.

Your going to run into huge problems lighting a scene this way. The scene below was set up in less than 5 minutes and while not a great example of lighting it's the starting point of a GI based workflow, that you can then add to.

I'll include the scene file. Follow this method and you'll run into far far less problems. Whats more doing it the right way will get you from nothing to the overall lighting in the scene below in 5 minutes. leaving you more time to work on the additional lighting tweaks and materials that can really make your scene shine.

Good luck
https://simplymaya.com/development/basic_lights.rar

Attached Thumbnails

From a readers' Q and A column in TV GUIDE: "If we get involved in a nuclear war, would the electromagnetic pulses from exploding bombs damage my videotapes?"
# 3 05-10-2012 , 07:23 PM
zestken's Avatar
Registered User
Join Date: Sep 2012
Posts: 31
@David
Thanks a Lot Sir user added image.

Actually I was not trying to Light the entire scene with GI alone. I've already gone through the exact setup as you've suggested.

But the thing is that I need to have an independent control over the photons. So I removed the "Mia_Portal_Light" from "Photon Emitter". You were absolutely right about me not using any exposure settings for camera.
Accidentally I've removed it when trying to see the GI distribution in isolation, Stupid me user added image.

Anyway here's the deal with GI :- Now when I've independent control over GI. I still cannot setup to get satisfactory result. I mean when using portal light you've to stick with "Use Light Shape" Turned On Which according to me gives a more washed out GI distribution. Maybe I might be wrong on this. But please help me out.

Here's the screen shot with just the area light(on visible window)turned on with "Mia_Portal_Light" as light shader and GI.
user added image

I'm having another problem with the scene file. It's having this object which disappears every time I open the scene. And only shows up when I try to manipulate it. The huge problem is that if I don't make that object appear by manipulating it. It will cause maya to crash when rendered in mental ray using my setup. Please download the file from the link below and you'll know what I mean.

By the way the object name is "Wall1". The Culprit. user added image

https://www.megafileupload.com/en/file/369636/a-rar.html

Thanks again.

# 4 06-10-2012 , 08:57 AM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
Something is up with that last link because it isn't working. Anyway what do you mean "washed out"?


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 5 06-10-2012 , 09:11 AM
zestken's Avatar
Registered User
Join Date: Sep 2012
Posts: 31

Something is up with that last link because it isn't working. Anyway what do you mean "washed out"?

Sorry, that the link has gone bad.

But it's basically the same scene file uploaded by Sir David. I've just removed the "Mia_Portal_Light" from both the area lights Photon Emitter in order to have manual control over the GI photons. But the problem is that I feel the GI distribution is not working well with the scene as you can make out from this screen shot. GI turned on for just one area light which is visible in the render.

And by "Washed Out" I mean that you get different results of GI distribution when Use Light Shape is off and on. And I'm talking about the latter when the Use Light Shape is On. Could you please explain.

Thanks

# 6 06-10-2012 , 05:13 PM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
Turning on "use light shape" turns a Maya light into an MR light. Without photons even being involved Maya and MR area lights behave differently.


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 7 06-10-2012 , 05:18 PM
zestken's Avatar
Registered User
Join Date: Sep 2012
Posts: 31

Turning on "use light shape" turns a Maya light into an MR light. Without photons even being involved Maya and MR area lights behave differently.

Yes Mam, I agree. But could you please keep an area light in the visible window and enable it to cast GI photons. I really need to know the correct way of GI emission as from the results I'm getting it's not proper.

The scene is available with Sir David's post. If you could guide me it will be great help.

Thanks


Last edited by zestken; 06-10-2012 at 06:51 PM.
# 8 06-10-2012 , 06:17 PM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
Don't know a lot of guys name Genny but ok lol.

Anyways I think you're on the right track when you disconnected the portal light from the area lights photon shader channel(I've never gotten good results with it plugged in there, just never looked right to me). In the following renders, fg acc 32, point density 0.1, 4 bounces and default GI settings. Light settings were, 'use light shape' on, 'visible' on, 'emit photons' on, photon intensity 80000(eyeballed it!), 'suppress all maya shaders' on, portal light plugged into 'light shader' channel only. Oh and turned on unified sampling, shouldn't make a difference with the issue at hand but thought I'd mention it anyway. Hopefully I didn't forget anything because I'm dead tired ugh!

Yep forgot something. Ao on mia materials, and some crucial tweaks to the exposure node to compensate for it being an interior shot.

Attached Thumbnails

- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::

Last edited by GecT; 06-10-2012 at 06:21 PM. Reason: don't type while tired
# 9 06-10-2012 , 06:58 PM
zestken's Avatar
Registered User
Join Date: Sep 2012
Posts: 31

Don't know a lot of guys name Genny but ok lol.

Anyways I think you're on the right track when you disconnected the portal light from the area lights photon shader channel(I've never gotten good results with it plugged in there, just never looked right to me). In the following renders, fg acc 32, point density 0.1, 4 bounces and default GI settings. Light settings were, 'use light shape' on, 'visible' on, 'emit photons' on, photon intensity 80000(eyeballed it!), 'suppress all maya shaders' on, portal light plugged into 'light shader' channel only. Oh and turned on unified sampling, shouldn't make a difference with the issue at hand but thought I'd mention it anyway. Hopefully I didn't forget anything because I'm dead tired ugh!

Yep forgot something. Ao on mia materials, and some crucial tweaks to the exposure node to compensate for it being an interior shot.

Thanks a lot Mam. This is the kind of look I'm after. But could you do me a one last favor please? If you still have that scene could you just post a render with the area light just emitting GI photons from a camera angle similar to mine. This would answer the doubt I'm having.

Thanks again.

# 10 07-10-2012 , 04:48 AM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
GI only, default settings. It looks as expected, blotchy and undefined shading in the corners.

Attached Thumbnails

- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 11 07-10-2012 , 06:21 PM
zestken's Avatar
Registered User
Join Date: Sep 2012
Posts: 31

GI only, default settings. It looks as expected, blotchy and undefined shading in the corners.

The render is looking good enough for GI Photons. But still there's something wrong on my side. Ohk I'll have to work on it for more days to find out.

By the way nice blog. Please keep updating.

Thanks a lot. user added image

Posting Rules Forum 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

Similar Threads