Adding the sun to image basedlighting environment

Hi Anne,

That could be a problem with the mapping function in your .cal file. To me it seems strange to get 360 degree information only from one image, but I've never used a chrome sphere for ibl. Anyway, it seems strange that the image is white (did you change the exposure) You can check the .cal file to find why is it giving a division by zero, or you can post it to the list?

Also, note that mksource ignores any local geometry (i.e. it considers only source objects), which makes sense because otherwise you'd have to define the viewpoint origin. That's why it was ignoring the sphere, so you should have no problems now.

Hope this helps.




From: [email protected] on behalf of Anne Iversen
Sent: Tue 24/11/2009 01:38
To: radiance-general
Subject: [Radiance-general] Re: Re: Re: Adding the sun to image basedlighting environment

Thanks Lars and Santiago,
Yes you are right, it doesn't make any sense to have the sun at infinite distance outside the sphere of finite distance. And yes, I'll keep it simple, no optimization with mksource at this point ;o). And a third: Yes - Radiance is tricky, therefore it is so good that this list is active!

However, when changing the 'sphere environment' from sphere to source I cannot display my scene any longer. My source description is
env_glow source sphereenv
0 0
4 0 1 0 360
The simulation approach now follows exactly the one in the Image Based Lighting tutorial from Debevec, p. 31, I get a white image and the rvu message:
rvu: warning - compute error for colorpict "hdr_env"
rvu: Division by zero
rvu: Division by zero

Do you maybe also have tips on how I can solve this?

Electronic mail messages entering and leaving Arup business
systems are scanned for acceptability of content and viruses