point light

Started by lonewolf, January 20, 2008, 01:20:21 AM

Previous topic - Next topic

lonewolf

Quote from: nikita on February 03, 2008, 08:10:43 PM
Quote from: JimB on February 02, 2008, 07:45:03 AM
That being said - if the lighthouse had a rough but subtle surface, that might do the trick.
(IF its walls are made of stone)

That might be one of the steps I will take on my daytime picture. By using a small amount of displacement on the main surface and perhaps a soft fill light, it might look real enough.

Iain

JimB

#31
Quote from: nikita on February 03, 2008, 08:10:43 PM
Quote from: JimB on February 02, 2008, 07:45:03 AMGood point Matt. However, we don't see a harsh terminator on planets without atmosphere.
But that's not due to the sun being an area light. It's more or less the small structures that throw longer shadows....

Sorry, but I have to thoroughly disagree with that. If it were the case then white reflective spacecraft would show a completely sharp contrast between their light and dark sides, which they don't. There's just no getting around the Sun not being a singularity point light, and that it has a surface that emanates light from its surface (edge to edge, so to speak), in all directions. Even seemingly hard shadows from an object onto another object scatter at the edges the further they get from the source shadow casting object. This happens in space as well. An eclipse seen from space illustrates this nicely, where there is no atmosphere on the Moon to diffract the rays:


http://www.mreclipse.com/SEphoto/TSE1991/TSE1991galleryB.html


http://ali.apple.com/space/images_earth.shtml
Some bits and bobs
The Galileo Fallacy, 'Argumentum ad Galileus':
"They laughed at Galileo. They're laughing at me. Therefore I am the next Galileo."

Nope. Galileo was right for the simpler reason that he was right.

nikita

I don't disagree with that, I'm just saying that there are several effects, that cause soft shadows. The area light effect is just comparatively small.
(I'll do some calculations on that. If I'm wrong, I'll find out. :) )

rcallicotte

This is interesting, Jim.  Thanks for the explanation and I especially appreciated the examples.  I hadn't seen these.
So this is Disney World.  Can we live here?

nikita

Soooo...
The transition between light and dark side is about 0.465% of the diameter of the object in question. Here are some examples:
Moon: 16km (10miles). So, if you take this image http://upload.wikimedia.org/wikipedia/commons/1/18/HalfMoon.jpg that zone is about 3.5px wide.
Earth: 60km (38miles)
Space Shuttle: 8.1cm (3.2inch)

Now it's up to you to the artist to decide if that's harsh or not.

I admit, that effect is stronger than I thought.  :)

Matt

#35
Quote from: JimB on February 02, 2008, 07:45:03 AM
Good point Matt. However, we don't see a harsh terminator on planets without atmosphere. I personally put it down to the Sun being much larger than any of the planets, which means light is hitting the 'spheres' from a wider source and wrapping around slightly.... That 0.5 degrees makes a big difference because the surface area being illuminated is actually quite large.

The absolute size of the sun isn't important, only the angle subtended by its visible disc at the distance from the sun to the planet. As Nikita says that wraps around about 0.4% to 0.5% of the diameter of the planet (or cylinder, whatever). In some scenes you might notice the difference. On the moon, however, near the terminator the roughness of the terrain casts shadows over much larger distances than that, so you would mostly notice the difference on smooth plains or if you look at the edges of individual shadows.

QuoteI've used the technique before and you get two desirable things; a soft division between the day and night side, and a more even spread of light on the day side which smooths out the distribution of light. The latter means you don't get a very harsh polarisation of light where the planet's surface is pointing more directly towards the Sun, which we see in actual planetary photos (it was one of those things that always bugged me about singularity light sources).

Yes, that wrap around is an important effect that should be simulated. TG2 doesn't do this yet. You will get better results with a proper area light.

The second benefit you mention above about reducing the extreme variation in brightness is something you should only see if you use a much larger angle. The real reason the moon, for example, doesn't behave like a CG sphere (has a much flatter appearance at full moon etc.), is mostly down to its reflective properties, and 0.5 degrees of area light can't correct for that (or if it does then there is a bug in the area light model). If a large area light solves that problem then I wouldn't argue that you shouldn't use it :) but I'd worry about it then creating too much softness elsewhere.

Quote
I did a very quick test in TG2 last night and you are definitely correct that the Atmosphere is diffusing the light and softening the terminator. However, if you have clouds that are very (and unrealistically) high they show a harsh terminator, possibly because of the scattering which might be similar to specular shading?

I wouldn't rely on TG2 to test these theories ;) You are right that high clouds in TG2 show a hard terminator, and that's a combination of various limitations in TG2's models, including the lack of decent area light support that you're looking for.

Quote
I think my point is, more importantly, that when applying a specular surface, be wary of making the specularity too rough and tweak it. Far better to use proper soft reflections with just a little bit of specularity thrown in. There are CGI lighting techniques that can throw out ambient occlusion and final gathering completely by using soft reflections only.

Definitely.

Matt
Just because milk is white doesn't mean that clouds are made of milk.

Matt

Another thing to think about... even if the sun were a singularity and it were illuminating a rough surface there would be a wider transition zone (just as the craters on the moon can sometimes catch light beyond the theoretical terminator line because of chances of line-of-sight). With displacement, TG2 can simulate that to some extent, but its accuracy depends on the detail levels. So if the surface shaders are not designed to simulate these statistical variations (and in TG they're not), then an area light source with a larger diameter could help with that. As long as you don't mind it affecting the softness of shadows elsewhere.

Matt
Just because milk is white doesn't mean that clouds are made of milk.

JimB

Righto  ;) I'm gonna check all this out once I've finished my current job, and set up a mini Solar System. But one thing I haven't figured out is if the Sun's corona adds illumination, extending the illumination further than the surface  ::) ???
Some bits and bobs
The Galileo Fallacy, 'Argumentum ad Galileus':
"They laughed at Galileo. They're laughing at me. Therefore I am the next Galileo."

Nope. Galileo was right for the simpler reason that he was right.

Matt

In the real world? Theoretically yes, but it's got to be some rediculously miniscule percentage of the main illumination from the photosphere... You'd have to have the camera's exposure cranked up so high that any illumination from the photosphere would blow everything out. But I think you know that already :)
Just because milk is white doesn't mean that clouds are made of milk.

Cyber-Angel

Quote from: JimB on February 04, 2008, 01:21:14 PM
Righto  ;) I'm gonna check all this out once I've finished my current job, and set up a mini Solar System. But one thing I haven't figured out is if the Sun's corona adds illumination, extending the illumination further than the surface  ::) ???

Jim,

What kind of information would you need I might be able to do some research and find some for you, if I knew the kind of data or information that would be the most helpful in this matter?

Regards to you.

Cyber-Angel   

JimB

#40
Quote from: Cyber-Angel on February 04, 2008, 07:06:41 PMJim,

What kind of information would you need I might be able to do some research and find some for you, if I knew the kind of data or information that would be the most helpful in this matter?

Thanks CA. All I really need to know is if there is any perceivable added illumination from the corona, and what that might be compared to Sun's photosphere? As Matt says, it's likely negligible, but it would be good to know for sure. Would the corona be bright enough to increase the softening of the Moon's shadow on the Earth?

I did a quick setup last night, and I was more than surprised that the shadow cast from the Moon onto the Earth is far harder (although still soft edged) than the photos above. However, in a turn of the expected tables, it was similar to the time lapse frames of a lunar eclipse in this link (green text): http://www.geocities.com/the_150mm_reflector/moon.htm and like this photo:



Does anyone know if the Moon interferes with the light at its edges during a solar eclipse?
Some bits and bobs
The Galileo Fallacy, 'Argumentum ad Galileus':
"They laughed at Galileo. They're laughing at me. Therefore I am the next Galileo."

Nope. Galileo was right for the simpler reason that he was right.

Cyber-Angel

It is highly likely that any perceptible additional illumination from the corona is more then likely to be swamped by the intense glare emitted by the photosphere, and in all likely hood would probably contribute (And this is speculation at this point) about 0.3-0.5 of a percentile of relative over all Lux value to the apparent illumination of the sun at lest as far as the visible spectrum is concerned: you could look at the sun with other spectra such as Gamma and X-rays but they don't apply in terms of rendering applications.

I have done some preliminary searching but cannot find any hard data at this time: this is due to me probably using incorrect search criteria; plus me been out of my field (Deep Space Exploration) with this.

I am wondering if the lunar regolith is responsible for defuse scattering of the light across the surface relative to the angle of incidence with some kind of subsurface scattering taking place on the lunar surface (Speculation on my part) and that this is causing the softness your seeing in the photographs, since TG2 dose not account for the aforementioned then it produces a hard shadow edge instead of a defuse softened one.

Regards to you.

Cyber-Angel                 

nikita

#42
I think, the soft shadow of the moon on the earth results from clouds scattering light into the shadow. You can see that the shadow on the photo you posted is yellowish or reddish because red light is more likely to be scattered than blue light.
I guess TG2 just doesn't respect that effect to the extent it would be necessary for such special applications?

Maybe there's also a small amount of light diffracted by the moon but that's probably not that much?

As for the coronas brightness. The german wikipedia says it's about as bright as a full moon.

JimB

Thanks guys. Will play with all that soon.
Some bits and bobs
The Galileo Fallacy, 'Argumentum ad Galileus':
"They laughed at Galileo. They're laughing at me. Therefore I am the next Galileo."

Nope. Galileo was right for the simpler reason that he was right.

lonewolf

Ok guys, here is my daytime lighthouse image. Not sure what happened to the water on the right hand side, and the piece of land directly behind to the left of the lighthouse looks a little unnatural.
Overall though, I'm quite happy. Comments, critique and suggestions welcome.

Iain
[attach=#]