Space backgrounds

General discussion about anything related to Transcendence.
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

I've been working on adding some nice space backgrounds to the game:
http://multiverse.kronosaur.com/file.he ... pImage.jpg

Image
User avatar
Xephyr
Militia Captain
Militia Captain
Posts: 857
Joined: Fri Dec 14, 2007 1:52 am
Location: Orion Arm, Milky Way
Contact:

This looks really impressive, I'm looking forward to seeing this implemented.
Project Renegade (Beta) : "The Poor Man's Corporate Command!"
Real programmers count from 0. And sometimes I do, too.
JohnBWatson
Fleet Officer
Fleet Officer
Posts: 1452
Joined: Tue Aug 19, 2014 10:17 pm

Cool. I like how light is blocked by the asteroids, will this also occur with stations?
NMS
Militia Captain
Militia Captain
Posts: 569
Joined: Tue Mar 05, 2013 8:26 am

JohnBWatson wrote:Cool. I like how light is blocked by the asteroids, will this also occur with stations?
I don't. What are they casting shadows on? For there to be less light coming from those regions, the light coming from the brighter areas would have to be reflected light from the local star. But it's not - it's light from other, far away stars. I approve of objects such as asteroids, planets, and ships being dynamically lit on the side facing the star, and ships passing behind planets and asteroids being shadowed, but not of casting shadows on the background, making it look like a flat surface.
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

NMS wrote:
JohnBWatson wrote:Cool. I like how light is blocked by the asteroids, will this also occur with stations?
I don't. What are they casting shadows on? For there to be less light coming from those regions, the light coming from the brighter areas would have to be reflected light from the local star. But it's not - it's light from other, far away stars. I approve of objects such as asteroids, planets, and ships being dynamically lit on the side facing the star, and ships passing behind planets and asteroids being shadowed, but not of casting shadows on the background, making it look like a flat surface.
This is just a very exaggerated version of zodiacal light (http://en.wikipedia.org/wiki/Zodiacal_light)

The shadow is not on the background nebulae--in fact you should be able to see the background more clearly in the shadow of a planet or moon. Instead, the light from the star illuminates the dust on the ecliptic. This washes out the background just like light pollution washes out the sky.

But I've still got to work on the second part of your comment: since the planets are currently pre-rendered, I can't change the lighting based on the sun angle. I've got to do a different change to the engine to support that, but that's in the plan.
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

JohnBWatson wrote:Cool. I like how light is blocked by the asteroids, will this also occur with stations?
Thanks!

I'm not going to do shadows on stations (or ships) for several reasons:

1. Stations are (obviously) out of scale relative to planets. They are too small to cast much of a shadow on the very tenuous space dust.
2. I like the visual separation between the background and the foreground.
3. The shadow is somewhat expensive (computationally) so I pre-render it for efficiency. I can't do that for moving objects.
bzm3r
Militia Lieutenant
Militia Lieutenant
Posts: 100
Joined: Tue Oct 23, 2012 2:38 pm

This is beautiful.

Can we have more pictures?
User avatar
Song
Fleet Admiral
Fleet Admiral
Posts: 2801
Joined: Mon Aug 17, 2009 4:27 am

Very nice work. Looking forward to seeing it ingame.
Mischievous local moderator. She/Her pronouns.
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

If an object is destroyed, does its shadow disappear?
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

PM wrote:If an object is destroyed, does its shadow disappear?
Currently no, unfortunately, which is another reason for only adding it to immutable planets and asteroids.

But it wouldn't be too hard to add code to handle that case if it becomes a problem. Also, I could add code to add a shadow when an object is created.

Moving shadows (i.e., shadows on moving objects) would be harder.
User avatar
pixelfck
Militia Captain
Militia Captain
Posts: 571
Joined: Tue Aug 11, 2009 8:47 pm
Location: Travelling around in Europe

Wow, looks great!

Would this be compatible with parallax worlds?

~Brigand
Image
Download the Black Market Expansion from Xelerus.de today!
My other mods at xelerus.de
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

pixelfck wrote:Wow, looks great!

Would this be compatible with parallax worlds?

~Brigand
No, unfortunately. I can't move the shadows yet because they are pre-computed. I need to add code to exclude shadows from any object with parallax.
Watch TV, Do Nothing
Militia Captain
Militia Captain
Posts: 803
Joined: Sun Feb 05, 2012 12:22 am
Contact:

This is great! Will you be addressing the shade stepping issue near stars? Right now it seems like bands of colors are produced that are alternately slightly redder or greener, creating an exaggerated stripe pattern.
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

I have a mod that destroys ore-bearing asteroids after they have been mined, which was why I asked the question of object destruction. I have also considered a mod that adds a planet-killer like the Death Star, either as an enemy (you need to stop it before it destroys planets) or a godmod (because blowing up planets is fun).
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Watch TV, Do Nothing wrote:This is great! Will you be addressing the shade stepping issue near stars? Right now it seems like bands of colors are produced that are alternately slightly redder or greener, creating an exaggerated stripe pattern.
Yes--this is addressed by implementing 24-bit color. There's still a tiny bit of banding, but there are no more color artifacts.
Post Reply