December 03, 2020, 11:12:34 AM

### Author Topic: Strata Nova  (Read 9505 times)

• Hero Member
• Posts: 2006
##### Re: Strata Nova
« Reply #60 on: April 24, 2019, 11:03:23 AM »
the sun isn't shown, but I'm allowing for that with auto shadowing.

Don't forget there is NO 3d used - this is all 2d!

#### therevills

• Hero Member
• Posts: 613
##### Re: Strata Nova
« Reply #61 on: April 24, 2019, 11:14:26 AM »
I actually like the wire-frame look!

#### Derron

• Hero Member
• Posts: 3274
##### Re: Strata Nova
« Reply #62 on: April 24, 2019, 11:30:04 AM »
You might not use 3D stuff but still display it 3D and use the corresponding maths. Dunno how to describe that in other words.

@ sun
You know I did not mean it serious ?!

PS: I do not prefer the the wireframe look as it will look be pretty stuffed sooner or later. For a minimap or 80s "analysis screen" this might work well but for a sleezy scifi strategy game you can use a more cheering display variant.

bye
Ron

• Hero Member
• Posts: 2006
##### Re: Strata Nova
« Reply #63 on: April 24, 2019, 12:27:04 PM »
I've got an idea of merging the wireframe and 2d look into one system. So these are the tests of getting a flat rectangle to look like a solid orb.

Here with a shader and 3 different materials:

@Derron - the sun has been taken into account. the above is with the sun facing the planet. and here with the planets in front of the sun (shadowed):

You can also see that the planet surfaces are not static! - they can rotate and have the surface reflect the rotation as well

Just for Derron:
Nope, you can't use the same maths for 2d as you use for 3d. There are no matrix being used or depth. These are actually flat planes on the same canvas with no depth. Everything you see has had to be constructed from a flat image - No normals, no vertexes (apart from 4 corners), no lighting, no nothing! The things that are used are (my versions) of Spherical mapping, fisheye and some dirty uv mapping.

Here is the same with the last planet showing without and with the shader:

So you can see that the input is just a flat colored image...

#### Derron

• Hero Member
• Posts: 3274
##### Re: Strata Nova
« Reply #64 on: April 24, 2019, 12:38:20 PM »
Lighting looks cool.

Thanks for the explanation.

Maybe ... maybe we can whip up some procedural textures for the planets (We have users here in the forums doing stellar simulation games ... maybe they enjoy it). Different Ice planets and so on. Could be cool stuff.

Next to the planets yo will have to come up with "rings" (which should be split into two parts for "front" and "background" of a planet).

bye
Ron

• Hero Member
• Posts: 2006
##### Re: Strata Nova
« Reply #65 on: April 24, 2019, 12:43:19 PM »
The textures are all taken care off...

yep. ring would be simple to do

• Hero Member
• Posts: 2006
##### Re: Strata Nova
« Reply #66 on: April 24, 2019, 12:47:28 PM »
So...(this is the concept photoshop version), we could end up with something like:

• Hero Member
• Posts: 2006
##### Re: Strata Nova
« Reply #67 on: April 24, 2019, 03:11:50 PM »
Lets get carried away and dream...

(spaceship not mine, just quickly photoshopped in)

• Hero Member
• Posts: 2006
##### Re: Strata Nova
« Reply #68 on: April 25, 2019, 08:59:19 AM »

basically you can see the far planets are behind and the near planets in-front, with the shader operating correctly as a sun.

#### Derron

• Hero Member
• Posts: 3274
##### Re: Strata Nova
« Reply #69 on: April 25, 2019, 09:18:39 AM »
This will look sweet with some parallax-effect in the background (1-2 layers of stars or even two dozen of "star objects" with individual depths for a more immersive scrolling). Especially when rotating the view.

Nonetheless - and I know how nice it is to "play around" - do not loose focus on the game itself.

bye
Ron

• Hero Member
• Posts: 2006
##### Re: Strata Nova
« Reply #70 on: April 25, 2019, 11:48:57 AM »
yep, star-fields would be nice

• Hero Member
• Posts: 2006
##### Re: Strata Nova
« Reply #71 on: April 25, 2019, 03:19:26 PM »
all corrected now with shadows and completely random planets and moons:

• Hero Member
• Posts: 2006
##### Re: Strata Nova
« Reply #72 on: April 26, 2019, 07:07:07 AM »
There was going to be nothing to show for a while, but as I've been working on the starfield stuff. I thought someone might like to see the results:

and my favourite one:

#### Derron

• Hero Member
• Posts: 3274
##### Re: Strata Nova
« Reply #73 on: April 26, 2019, 07:10:16 AM »
Think it might look pretty nice when in movement.

bye
Ron