Horde3D

Next-Generation Graphics Engine
It is currently 03.12.2021, 01:31

All times are UTC + 1 hour




Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: StarFall - Planets
PostPosted: 28.04.2008, 23:59 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
Image Image
Click for orbital view
Click for ground view

Here are a couple of shots from the early stages of my planet plugin. First shot is from about 5,000 km altitude, and the second from less than 100 m. Frame rates are not ideal close to the ground, as I have not integrated any culling yet. Equally I am only using altitude shading on the terrain, using a low-resolution height map of the earth (polar->cubic projection of 2D height map), which only provides 80-metre height resolution.

The next few features planned are procedural detail, slope/altitude dependent texture splatting, and atmosphere shaders. Further refinements will hopefully add vegetation and trees.

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
 Post subject: Re: StarFall - Planets
PostPosted: 29.04.2008, 06:32 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1149
Location: Germany
Hey, that sounds really interesting! Keep up the good work!


Top
 Profile  
Reply with quote  
 Post subject: Re: StarFall - Planets
PostPosted: 29.04.2008, 18:27 
Offline

Joined: 26.03.2008, 02:58
Posts: 160
drooling... you have to post a vid or demo. Very nice!

Are you aiming for something along the lines of Qube ( http://www.qubesoft.com/index.php?main= ... -preview-2 )


Top
 Profile  
Reply with quote  
 Post subject: Re: StarFall - Planets
PostPosted: 29.04.2008, 19:47 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
DDd wrote:
drooling... you have to post a vid or demo. Very nice!
Quite a ways from a demo, but a video will be forthcoming once I reach my next milestone: procedural detail (working already, but not pretty yet), texture-splatting and atmosphere.

DDd wrote:
Are you aiming for something along the lines of Qube ( http://www.qubesoft.com/index.php?main= ... -preview-2 )
Nice link, I hadn't seen Qube before. There seems to be an explosion of planet rendering lately, but my current system builds on the techniques of Ysaneya, followed closely by Spore.

If anyone has a burning interest in this topic, I also have a small library worth of links to articles and techniques squirrelled away :)

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
 Post subject: Re: StarFall - Planets
PostPosted: 29.04.2008, 23:17 
Offline

Joined: 19.11.2007, 19:35
Posts: 218
That's really sweet!


Top
 Profile  
Reply with quote  
 Post subject: Re: StarFall - Planets
PostPosted: 29.04.2008, 23:35 
Offline

Joined: 26.03.2008, 02:58
Posts: 160
swiftcoder wrote:
If anyone has a burning interest in this topic, I also have a small library worth of links to articles and techniques squirrelled away :)


Sure. I am always interested in learning new techniques. I wish i had the time to help you out :cry: this is a very cool project.


Top
 Profile  
Reply with quote  
 Post subject: Re: StarFall - Planets
PostPosted: 25.05.2008, 16:17 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
I don't want to turn this into a support thread, but if anyone cares to take a look/make suggestions, I am having a lot of trouble with my tangent basis: support thread on gamedev.net

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
 Post subject: Re: StarFall - Planets
PostPosted: 25.05.2008, 17:24 
Offline

Joined: 18.05.2008, 17:47
Posts: 96
is this normal map for a plane or a sphere. it is weird for a normal map for a sphere. definitely it is created from a sphere but if you use the normal map on a sphere it may look weird


Top
 Profile  
Reply with quote  
 Post subject: Re: StarFall - Planets
PostPosted: 25.05.2008, 22:16 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
kal wrote:
is this normal map for a plane or a sphere. it is weird for a normal map for a sphere. definitely it is created from a sphere but if you use the normal map on a sphere it may look weird
it is technically the normal map of a cube - unfortunately it doesn't work on a cube either ;)

The 4 sides map correctly, as they are intended to, but the top and bottom have somehow reversed tangent space (not normals, the normal map and normals are fine).

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
 Post subject: Re: StarFall - Planets
PostPosted: 29.05.2008, 16:52 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
One of the joys of living in the Caribbean - the phones and internet have been out for 3 days. I did however solve my normal-mapping problem in the interim, by switching to world-space normal maps.

I also separated out the ground into a land layer and a water layer, and added an atmosphere layer to try out integrating Sean O'Neil's atmospheric-scattering shaders - his shader's look pretty good right out of the box, but they push my card to its knees - in fact, I have gone from pixel bound to vertex bound as a result!

Image
Click for larger normal-map view

Image
Click for larger atmosphere view

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
 Post subject: Re: StarFall - Planets
PostPosted: 29.05.2008, 21:35 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
The atmosphere looks good. It's a cool project, I'm really curious to follow your progress!


Top
 Profile  
Reply with quote  
 Post subject: Re: StarFall - Planets
PostPosted: 30.05.2008, 02:26 
Offline

Joined: 08.11.2006, 03:10
Posts: 384
Location: Australia
Very nice!

I skimmed a paper yesterday that pre-computes a giant lookup-table for all the scattering data, trading off video memory for a lot less processing. I'll try and find the link...
[edit] http://www-ljk.imag.fr/Publications/Basilic/com.lmc.publi.PUBLI_Conference@119f111f339_18c3679/index.html

BTW, this site is great for looking up new graphics research:
http://kesen.huang.googlepages.com/


Top
 Profile  
Reply with quote  
 Post subject: Re: StarFall - Planets
PostPosted: 30.05.2008, 18:55 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
DarkAngel wrote:
I skimmed a paper yesterday that pre-computes a giant lookup-table for all the scattering data, trading off video memory for a lot less processing. I'll try and find the link...
[edit] http://www-ljk.imag.fr/Publications/Basilic/com.lmc.publi.PUBLI_Conference@119f111f339_18c3679/index.html
Nice link there! I am going to give that a shot in the next few days.

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
 Post subject: Re: StarFall - Planets
PostPosted: 31.05.2008, 13:23 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
swiftcoder wrote:
DarkAngel wrote:
I skimmed a paper yesterday that pre-computes a giant lookup-table for all the scattering data, trading off video memory for a lot less processing. I'll try and find the link...
[edit] http://www-ljk.imag.fr/Publications/Basilic/com.lmc.publi.PUBLI_Conference@119f111f339_18c3679/index.html
Nice link there! I am going to give that a shot in the next few days.

That was fairly trivial to implement, seeing as I had the full source code before me, but the result didn't perform as well as I had hoped. My intention is to have the system viewable (though not necessarily very pretty) on SM2.0 cards, though that may not turn out possible.

So on that note, I am starting out to develop a new technique to 'fake' the atmosphere using only the depth buffer and a fullscreen quad. Results so far less than satisfactory, but I think I have the basis in place, and a little more work should do the trick:

Image
Click for full size

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
 Post subject: Re: StarFall - Planets
PostPosted: 03.08.2008, 02:12 
Offline

Joined: 26.03.2008, 02:58
Posts: 160
Hey Swiftcoder, how is this project coming along? You have to give us a little update :)

I am keeping an eye on this one, as it is a very interesting project and i love space games.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2, 3  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group