Physical sky without sun

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Physical sky without sun

Post by Pibuz » Wed Jan 23, 2008 11:39 pm

..sorry i bother again (i don't even know if it's the right place to post), but i'd like to ask Whaat if it sould be possible to implement the "Sun and sky" section by adding a checkbox about exporting sun's direct light. I mean, sometimes i found useful to have the possibility to maintain sky colors' shade at a certain hour of the day, but without direct sunlight.

(i used to see this checkbox in Maxwell..)

Could this be possible?

User avatar
psor
1st Place Winner
Posts: 1295
Joined: Sun Jun 25, 2006 1:25 am
Location: Berlin
Contact:

Post by psor » Thu Jan 24, 2008 12:51 am

@Pibuz

Sorry to say that, but AFAIK Indigo will output an error if you try to
remove the sun from the skylight element. :? :( :roll: :wink:



take care
psor
"The sleeper must awaken"

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Post by Pibuz » Thu Jan 24, 2008 2:45 am

Hi Psor! Thank you for your quick answer!

..but..
I think the implementation i'm speaking about is not so difficult..

I mean: i'm not a programmer, of course, and i can be really wrong..
But i say: INDIGO already recognizes a Global Illumination coming from the sky (shaded in relation to sun's coordinates); all it would have to do in addition, would be to "ignore" direct lighting..

Is it really that difficult?

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Thu Jan 24, 2008 3:08 am

Why should you want to entirely remove the sun?
You can simply set the sun direction to 0 0 0 ;)
This wont give any error.

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Post by Pibuz » Thu Jan 24, 2008 3:26 am

..but like this i'll only obtain ONE shade of sky! (..or not?)

Instead, i could want the 6-PM sky, let's say, but without the 6-PM shadows..

6-PM sky is very different from 10-AM sky, as everybody knows :D

..i don't know if i'm clear..
i'm sure that if anyone here has ever used maxwell (even for trial only) he knows what i'm speaking about :roll:

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Thu Jan 24, 2008 3:56 am

I don't know, how it looks, actually. I just know, it works^^

Well, about the time: Indigo changes the sun position with and without BiDir or Exit Portals, anyway, so it wont be that accurate, as long as Ono doesn't spot the reason and fixes it. And I guess, it's a hard one to spot....

One idea, though: If you have a quite clean sky - and the sky usually clears out quickly - you can simply use the healing brush or something to remove the sun ;)

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Post by Pibuz » Thu Jan 24, 2008 5:51 am

I know: it is absolutely no work, erasing a small dot in the sky (the sun, obviously); it's just that i don't want sun's SHADOWS!

You know: in Skindigo you can set "sun and sky" or "sketchup background color" as an environment. If you choose "sun and sky" you get a nice sky shade (according to sun position), and sun's direct shadows.
If you choose "sketchup background color" you get a diffuse lighting and no direct shadow.

I just want no direct shadows and the nice sky shade, simply..

crojack
Posts: 396
Joined: Tue Dec 04, 2007 1:48 pm
Location: Portland, Oregon
Contact:

Post by crojack » Thu Jan 24, 2008 6:00 am

Out of curiosity, why would you not want shadows? I'm not questioning your wants :) just curious. Is it to have a nice sky, but then have shadows from lights you place or??

In my experiments with exr maps, I've gotten a "sky" but the shadows are almost non-existent, no hard shadows at all. maybe that would work.

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Post by Zom-B » Thu Jan 24, 2008 6:07 am

It seems you have to go for env_maps dude!

generating an cloud free sky is very easy using a gradient,but you need to do this in 32bit mode!

Hmmm... some fre Programm did exactly this!
(or a plugin for a tonemaping app?! I can't remember)

**EDIT**
ohhh.... the older CloudWright Beta period is over and it doesn't work anymore :(
polygonmanufaktur.de

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Thu Jan 24, 2008 6:12 am

To soften or remove the shadows you can place your scene in a Glossy Transparent glass-house:

http://www.indigorenderer.com/joomla/fo ... php?t=3397

You should still be able to see the sky colour through the glass and the shadows are controllable by using the Exponent setting on the Glossy Transparent glass.

User avatar
Pibuz
1st Place 100
Posts: 2646
Joined: Tue Dec 11, 2007 7:58 am
Location: Padua, Italy
3D Software: SketchUp

Post by Pibuz » Thu Jan 24, 2008 6:18 am

@ crojack

After a few trial and error, i found that simple models lit by a physical sky only (without direct sunlight) most of the times give the idea of a real model photographs. It's useful for us architects when we have to give photos of model for competitions and we have no time for making a real model.. :roll:

So, does any developer (...magic whaat?) think that a "sun and sky" system is something realizeable? PLEASEPLEASEPLEASE......

User avatar
OnoSendai
Developer
Posts: 6244
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Thu Jan 24, 2008 6:47 am

Hi Pibuz, it would have to be done in Indigo.
It's kind of a silly request (clear sky without a sun? :) ) but I'll think about it.

crojack
Posts: 396
Joined: Tue Dec 04, 2007 1:48 pm
Location: Portland, Oregon
Contact:

Post by crojack » Thu Jan 24, 2008 6:58 am

Pibuz wrote:@ crojack

After a few trial and error, i found that simple models lit by a physical sky only (without direct sunlight) most of the times give the idea of a real model photographs. It's useful for us architects when we have to give photos of model for competitions and we have no time for making a real model.. :roll:

So, does any developer (...magic whaat?) think that a "sun and sky" system is something realizeable? PLEASEPLEASEPLEASE......
That's what I do all day long (architecture), but in the outside models I've done, having the shadows there helps greatly in the realization of the model. how else to show the nuances of small shadow lines in the building, or depth? matter of opinion of course :)

I'd like to see an example though if possible, even if it is with maxwell.

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Post by Zom-B » Thu Jan 24, 2008 6:58 am

OnoSendai wrote:Hi Pibuz, it would have to be done in Indigo.
It's kind of a silly request (clear sky without a sun? :) ) but I'll think about it.
If you think about it, perhaps think about a feature to generate a gradient, by defining position & color... maybe even a value for a possible noisy transition using some perlin... :)
polygonmanufaktur.de

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Thu Jan 24, 2008 7:25 am

If you just don't want the shadows, you can do it like this:
sun direction 0 0 0 (the light should come uniformly from all the directions)
2nd render with *only* the sky
3rd with alpha-channel-mode of your scene :)

or the same but instead of direction 0 0 0, use a kinda sky-coloured BGcolour ;) (around 6500-7500 K, if you use an emitter dome... though, you can change it, so that it kinda fits your sky... that way, you'd become any colour you want ;))

Post Reply
23 posts