[REQ] sun and hdri lighting

Feature requests, bug reports and related discussion
Post Reply
11 posts • Page 1 of 1
User avatar
Kosmokrator
Posts: 1141
Joined: Sat Jul 29, 2006 11:52 am
Location: Greece-Athens

[REQ] sun and hdri lighting

Post by Kosmokrator » Fri Nov 17, 2006 9:56 pm

the topic say it all....it wold be ideal to have lighting setup based on sunlight system and exr maps ....what u think?
1)Core i7 965XE stock CLOCK ,PSU:CHIEFTEC 850W
M/B ASUS P6T DELUXE,WATERCOOLING ZALMAN RESERATOR 2
MEMORY:6GB CORRSAIR @1600,Ati HD 4870x2,
MONITOR:LG 1950SQ,CASE:THERMALTAKE SOPRANO

mario
Posts: 38
Joined: Sun Oct 22, 2006 3:57 am
Location: Carbonia(Sardinia Italy)

Post by mario » Fri Nov 17, 2006 10:01 pm

Not only with exr, but with jpg or another (tiff,etc)!!!!!!

User avatar
SmartDen
Developer
Posts: 999
Joined: Fri Oct 13, 2006 10:58 pm
Location: Canary Islands
Contact:

Post by SmartDen » Fri Nov 17, 2006 10:49 pm

Is this really needed? If you use a exr lighing u have already a Sun-lightsource naturally. You can add some emitter light, but i don't sure if it works.
And lighting with a jpg is a humbug! Jpg have not enough light information to illuminate a scene.

8bstudio
Posts: 190
Joined: Mon Sep 11, 2006 9:22 pm

Post by 8bstudio » Sat Nov 18, 2006 12:06 am

SmartDen wrote:Is this really needed? If you use a exr lighing u have already a Sun-lightsource naturally. You can add some emitter light, but i don't sure if it works.
And lighting with a jpg is a humbug! Jpg have not enough light information to illuminate a scene.
Hi! I think that sun+exr is useful because with sun you have very sharp shadows like in sunny day, and with exr you have clouds and light changes around 360° (your object shall be illuminated differently around 360°)! I think!
Solution with emitter and exr... maybe good for sharp shadows!! I'll test!

8bstudio
Posts: 190
Joined: Mon Sep 11, 2006 9:22 pm

Post by 8bstudio » Sat Nov 18, 2006 12:24 am

It seems work well exr+sun_emitter... mmmhh! Very good!
Now I must search dimension (x and y) of emitter to simulate real sun shadow. Someone knows some mathematical or geometrical relation between sun and ipothetical object?

User avatar
SmartDen
Developer
Posts: 999
Joined: Fri Oct 13, 2006 10:58 pm
Location: Canary Islands
Contact:

Post by SmartDen » Sat Nov 18, 2006 1:21 am

8bstudio wrote:It seems work well exr+sun_emitter... mmmhh! Very good!
Now I must search dimension (x and y) of emitter to simulate real sun shadow. ...
I don't think it's trivial. Sun drops parallel shadows, also you have to simulate this. And you must find an exact position of strongest light source in exr image also.

8bstudio
Posts: 190
Joined: Mon Sep 11, 2006 9:22 pm

Post by 8bstudio » Sat Nov 18, 2006 2:00 am

first test with .exr and "sun_emitter"
Image

Too shining on "cu" material! Shadows looks good I think!
Here with sun
Image

8bstudio
Posts: 190
Joined: Mon Sep 11, 2006 9:22 pm

Post by 8bstudio » Tue Nov 21, 2006 8:55 pm

radiance wrote:hey 8bstudio,

can you post your xml ???
i can use this for an urgent project i'm starting tonight...

Yours,
radiance
Which one? First with exr and emitter or second who has only sun? Also textures?[/img]

8bstudio
Posts: 190
Joined: Mon Sep 11, 2006 9:22 pm

Post by 8bstudio » Tue Nov 21, 2006 9:25 pm


8bstudio
Posts: 190
Joined: Mon Sep 11, 2006 9:22 pm

Post by 8bstudio » Thu Nov 23, 2006 9:56 pm

Hi Radiance!
Here xml: http://www.8bstudio.com/bonus/chiosco4-exr-emit.zip

Try to change around "linear scale" or meshlight named "Plane"

I hope it's usefull for you!
Bye!

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Fri Dec 08, 2006 9:54 am

Hi !

I think that one could use LightGen's plugin for HDRShop to define a directional light. Then the rotation has to be translated into a vector, that's a very few maths wich I don't know, sorry... or try to hack into some of the output files format generated, who knows ?

So it's about importance sampling, a simple app or even simpler: send a template of an xml scene with sun to the author:
If you want a new file format, be sure to send me a template for the file that the plugin should generate.
Just ask him to put 1 directional only, then compute the vector ! That'll be so easy I'm sure he will !

Would you ask Radiance ? I'm too new with Indigo to be positive on what features have to be implemented...

LightGen for HDRShop

Post Reply
11 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 14 guests