Re: soft light as "light photon emitter shader" problem

Date : Mon, 29 May 2006 18:48:30 +0200
To : XSI(at)Softimage.COM
From : Luc Froelicher <lulu(at)alamaison.fr>
Subject : Re: soft light as "light photon emitter shader" problem
digging deeper on this one , it seems that the "soft light" shader , when connected as a "light Photon Emitter Shader"
always behaves as a Point light (ie emitting photons all over the place ...) and don't respect the light type (spot light in my case).
shall I call that a bug , or a limitation ?
I 'm trying to color the photons/caustics according to "mib_cie_d temperature" and I didn't find how to do that (using a spot light) for the moment.


Luc Froelicher a écrit :
I've got a strange behaviour here ...

I'm using a soft light with a mib_cie_d shader connected to his color input.
I'm calculating caustics . the scene is a glass (dielectric material or lglass) object on a diffuse plane , really standart.


in order to get the right color for my caustics (given in Kelvin in the mib_cie_d),
I connected the soft light shader to the "light Photon Emitter Shader" slot of the light ,
toggled the "Use light color as Energy" in the Photon section of the soft light ... and my caustics are now correctly colored (according to mib_cie_d temperature) .


Meanwhile I noticed that , by connecting the softlight to the , the rendering times doubled.
looking at mental ray logs :


soft light not connected :
'INFO : RCGI 0.2 info : light #0 (Spot_Root1/spot_cyclo), caustic emission, emitted: 4183803, stored: 5005
'INFO : RCGI 0.2 info : caustic light #0: light photons 4183803
'INFO : RCGI 0.2 info : caustic light #0: spec. refl. photons 6843
'INFO : RCGI 0.2 info : caustic light #0: spec. refr. photons 10085
'INFO : RCGI 0.2 info : optimizing access to caustic Photon Map with 5005 photons


soft light connected as a light Photon Emitter Shader :
INFO : RCGI 0.2 info : light #0 (Spot_Root1/spot_cyclo), caustic emission, emitted: 9524100, stored: 5005
'INFO : RCGI 0.2 info : caustic light #0: light photons 9524100
'INFO : RCGI 0.2 info : caustic light #0: spec. refl. photons 7241
'INFO : RCGI 0.2 info : caustic light #0: spec. refr. photons 10078
'INFO : RCGI 0.2 info : optimizing access to caustic Photon Map with 5005 photons


so , if I understand correctly , in the second case it has to emit the double amount of photons to store 5000 photons at the end.
is there a logical reason for that , or am I misunderstanding something ... ?


luc
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.