Page 3 of 3

Re: Shadows

Posted: Tue Jul 08, 2014 6:15 am
by Hyperion
Not quite what I meant, perhaps I should rephrase it. Could a billboarded object cast it's own shadow on something else, like a billboarded asteroid leaving a shadow (or dimming the light a tad to create a soft shadow created by thousands of asteroids far away) in a way that is easier to create than making shadows on a 3D model?

Re: Shadows

Posted: Tue Jul 08, 2014 6:28 am
by Cornflakes_91
You just gave me another idea, one that works with billboards and without: using zone tech for (at least planetary) shadows.

Assume a cone as shadow of the planet, the base sits along the circumfence of the planet and its pointing away from the sun.

Now make a couple of raytrace passes from the tip of the cone for ever larger angles and check if you can see the sun.

from this one angle assume perfect circularity of the planet and create a conic zone based on this.

Every object in the zone is now shadowed by the planet and does not need any costly ratrace passes to determine this anymore.

Precomputed shadow based on zone tech :D

Edit:

Reference
http://www.classroomastronomer.com/meas ... wCones.pdf

Re: Shadows

Posted: Tue Jul 08, 2014 8:31 am
by Talvieno
That's pretty much how I figured it would work, yeah. :D I was assuming a cylinder rather than a cone, but cones make more sense. Implementing planet-only shadows would be easy, and the visual rewards would be huge.

Ships wouldn't be so easy. That'd take a little more computing.

Re: Shadows

Posted: Tue Jul 08, 2014 2:16 pm
by Cornflakes_91
this might be relevant, but they mention that it can be used for lighting..
(i dont know enough about graphics programming by far..)

Re: Shadows

Posted: Tue Mar 21, 2017 8:46 am
by Talvieno
So, with the increased FPS, could this be back on the menu for the future? :squirrel:

Re: Shadows

Posted: Tue Mar 21, 2017 3:59 pm
by Flatfingers
Do not tempt the graphics :monkey: !

:D

Actually, this would be pretty sweet. There are few things in art that will suck your eyeballs out of your head like a Tex Avery wolf more effectively than great lighting, and computer games can do it dynamically.

I think personally I'd like to hear first that simulations confirm LT should run well in a huge universe with interesting AI.

But after that, if Content Josh wants a break, I'm all for unleashing Graphics Josh on some fancy new dynamic lighting (and shadowing) effects. Adding that to the beautiful nebulae he's already figured out how to generate... wow.

Re: Shadows

Posted: Tue Mar 21, 2017 4:31 pm
by IronDuke
Image

Re: Shadows

Posted: Tue Mar 21, 2017 4:45 pm
by Talvieno
Flatfingers wrote:Actually, this would be pretty sweet. There are few things in art that will suck your eyeballs out of your head like a Tex Avery wolf more effectively than great lighting, and computer games can do it dynamically.
I strongly agree. Of course, it would be after Josh finishes everything else... but I really love those shadows.

Re: Shadows

Posted: Tue Mar 21, 2017 9:31 pm
by Flatfingers
Talvieno wrote:but I really love those shadows.
Not the one IronDuke referenced, I hope!

Re: Shadows

Posted: Wed Mar 22, 2017 8:34 am
by Cornflakes_91
Flatfingers wrote:
Talvieno wrote:but I really love those shadows.
Not the one IronDuke referenced, I hope!

those are cool as well :D