object lights


#1



      mentalray supports arbitrary geometric objects as area lights. 
      maya too, if you use the ctrl_objectlights. :)
      
      [[img]http://img240.exs.cx/img240/1723/ctrlolightmayainterface3ui.th.jpg[/img]](http://img240.exs.cx/my.php?loc=img240&image=ctrlolightmayainterface3ui.jpg)
     **
     ctrl.studio

#2

Ummmm…cought (linux) cough.:):slight_smile:


#3

just great francesca!

i was ready to go to bed, but now i guess i’ll be spending some more time in maya :wink:
i’ve been looking forward to a straightforward process off having objects as area lights and i can’t believe that no vendor has implemented this funtionality of MR inside a UI, since it’s been on the MR feature list for quite a while.

well, thank’s again to you and your fellow colleagues at ctrl.studio.

p.s. over on xsibase i’ve seen that your studio has released multipass shaders for mental ray. any chance we get these in maya too? these might very well come in handy.

good night,

andy


#4

wow this will be great for tonnes of situations!
Thank you francescaluce.


#5

:buttrock: !!! francescaluce!!!:love:


#6

Yes yes yes!! I’ve wanted this ever since Maya first got Mental Ray!!

:thumbsup: :thumbsup: :thumbsup: :thumbsup:


#7

Hi,

got some problems. I’m using Maya 6.0.1.
First I could not create an objectlight by help of the usage notes … means, I did the connections and everything without errors, but in the rendering the effect didn’t appear.

So, I tried the sample scene, but this one isn’t working too. For that the connections could not be made and there are following error messages:

// Error: line 1: The ctrl_objectlights ‘ctrl_objectlights1’ has no ‘S11’ attribute. //
// Error: line 1: Could not make connection; could not find source plug ctrl_objectlights1.S11’ //

Besides, what is the pCube2 in the sample scene for?


EDIT

problem solved. see post below.

EDIT

ciao,
nando.


#8

excuse my ignorance, but whats the difference between this shader and using a surface shader?

ditto what jackdeth said :smiley:

MunCH


#9

Ummm… I guess the advantage of a light is it emits light. It is able cast proper shadows, shade your objects properly and even emits photons. If you used a surface shader you’d need to have fg on by the way…

Thx a million for that francesca! How did you solve it? I’ve been trickling around with that a while but couldnt get it to work within maya…


#10

about my problem i posted before, i did found some more information.

API 0.0 error 301030: C:/Programme/Alias/Maya6.0/mentalray/include/ctrl_objectlights.mi, line 5: mi file requires ray version 3.4 or newer, this is 3.3.1

:confused:

so, my fault. I put the Maya 6.5 include files into my Maya 6.0.1 Installation. Strange, that there was no error message for mental ray starting up.

ciao,
nando.


#11

one more time,
thanks a lot francesca,
it is realy cool…


#12

Hey all!

Could someone please compile this for the OS X version of Maya 6.5? Have been wanting this for quite some time. Thanks in advance.

Cheers,

Gary


#13

thnx francesca,
:thumbsup:
what you do by sharing all this great work with the mr community is incredible cool.

As Muncher said, I also first thought we are allready able to do so, by turning up the incadescence and render it with FG … but beeing able to do the trick without physical calculation of photons - I wanna have this.

PLEASE OSX


#14

:heart::heart::heart:francesca​:heart::heart::heart:


#15

Great! Many thanks for this contribution!
More descent stuff is coming from you in the last time than from Alias ; - )

The shader goes nice with maya-glow. Though It’s a mixture of ctrl_geolight and the incadescence approach:
test with glow

(no fg, fg, fg+glow, fg+glow)

I switched back to incadescence because when you use a decay the geometry light visible part behaves strange (fades out)

I tested a bit, but I’m not sure if the photons are really emmiting from all over the geometry.

If I find some time I’ll test it with mr volume!

cheers
J-Wicz


#16

pfiooouuuu! a other great one:thumbsup:

many thanks !!!


#17

made some more quick tests
hallway test
1.) (top left) no decay, no fg, no gi
2.) gi YES! the photons are really emmited from all over the geometry light : - )
3.) quadratic decay
4.) quadratic decay and fg

This time the decay worked fine and I did not get the incorrect fading I mentioned in my previous post, so I assume I screwd up some options in my first test.

cheers


#18

oh my…!!
u’re so great!! :scream: :scream:
many many thanx francesca :love: :love:


#19

cough…any news on the linux version…cough :smiley:

MunCH


#20

ctrl_geocolor for maya,
allows a ‘textured’ object to influence color shadows and falloff of the linked light.

  [img]http://img174.exs.cx/img174/3489/ctrltwoside3em.jpg[/img]
  
  [img]http://img212.exs.cx/img212/61/ctrlgeolightsshdws3jv.jpg[/img]