Maya 8 - MentalRay AreaLights

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 10 October 2006   #1
Maya 8 - MentalRay AreaLights

i already posted a bug report to autodesk, but still i want to comment about that here :

the new MR arealights are nice and everything but still have a very severe bug ...
when you make an area light, switch on the MR option, set the high samples to 32, high sample limit to 2 , low samples to 16, it renders fine ... but when u save the scene, open it up again it is grainy ... why ? because the settings are now : 16, 2 , 1 ....
save it this way, open again, now its 8,2,1 ...
looks like maya sets the high samples to the value the low samples are set if they are above 1 ...
workaround : key the high samples and the low samples ... problem with that : low samples will lose its connection and will be set to 1 again ... only high samples will be kept .. .

actually working workaround : run a pre-render-mel script thats sets the high and low limits for each light ... but that sucks ...
if anyone comes up with a solution to the problem (probably in the area light script of maya) i would appreciate it ,.. i dont know when maya 8.0.1 comes out and if that even fixes the problem ...
Old 10 October 2006   #2
ya that happend to me too,
Old 10 October 2006   #3
yeah, this is an annoying bug
Old 10 October 2006   #4
I wrote a script that added two new attributes to areaLight called lowSample and HighSample and connected them areaLightShape's equivalent fields thinking it would then hold the values nomatter what.

Well, on bringing up the scene again, HighSamples was correct as expected, but the LowSamples connection was automatically broke and the expression changed! It went from

areaLightShape1.areaLoSamples = areaLight1.lowSamples;


.O[0] = areaLight1.MinSamples;

wtf? I thought it was an easy work around, but no... Maya had to go and rewrite my stuff.
twitter | vimeo
Old 10 October 2006   #5
Workaround: don't use the new arelight.. or pray the lord
So you get NOTHING! You LOSE! Good DAY sir!
Old 10 October 2006   #6
it's a bug and it occurs when you have a low samples value different than the default <1>
when you open the scene again maya just sets the high samples as your low samples were and leaves the low samples to 1.

tho that's not a reason not to use these rocking area lights!
Old 10 October 2006   #7
Jeez what a stupid bug... it seems to me that those area lights were perhaps a tad of a rushed job for such a bug to escape their testing. Hope they are planning a patch release soon, hopefully they can address this and perhaps implement the MR 3.5 FG auto mode and multi mode officially too.. and also perhaps that little bit about the cc-meshes.

Old 10 October 2006   #8
Hi, in maya 8 . I create a light ...but the mr tab no area lights....did Autodesk ...move it somwhere elso or??? Does anybody have same prob?
Old 10 October 2006   #9
ya Maya 8 has changed

just create a normal area light and that will have hte mental ray att. in it
Old 10 October 2006   #10
10x man...i find new maya ..."maxed"
Old 10 October 2006   #11
by the way , i recieved notice from autodesk that this bug is now officially under investigation and will be fixed in an upcoming release ...
wasnt fixed in the patch 3 though .....
hopefully it will with maya 8.01 or so ...

other than that, i still like the new mr area lights a lot
Old 11 November 2006   #12
I found the problem- it was a name collision in the creation of the samples attributes. Maybe other people found it too. You can download the fix here:

twitter | vimeo
Old 11 November 2006   #13
physicalAreaLight Script

I have also written a few new scripts I use for creating area lights.

This one creates an area light with a physical shader, but makes connections so that you control the lights color and intensity through the normal maya attributes at the top of the attribute editor (kind of handy). It also sets up the photon energy to be physically accurate (the photon color in the editor doesn't always reflect the changes, but it still renders correct).

Try it, edit it.
twitter | vimeo
Old 11 November 2006   #14
Thanks man, I'll test it soon.
Old 11 November 2006   #15
great Shawn
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 09:33 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.