RUS New site

Site menu
Login form

Search
Donate
Our poll
What would you most like to see in the next version of SpaceEngine?
Total answers: 53914
Statistics


Now on site:
Total online: 26
Guests: 23
Users: 3

Today visited:

Blog

Main » 2011 » July » 30 » Detail Textures For Planets
13:28
Detail Textures For Planets
Recently I experimented with increasing the level of detail on planetary textures. Previously, each planet had a small texture generated (only 5x8 pixels) which contained the colour palette: The first axis assigned to point height/latitude, and the second axis assigned to point slope. The shader that generates procedural textures for planets, uses this texture to determine the colour of planetary surface points (IE the color of pixels from the generated texture). To achieve such great detail, it was necessary to significantly increase the number of octaves of various noise functions and write custom functions to generate textures of different materials (for example, in version 0.94 you can see the strata on the mountains - this would be an example of such a function).

Now the color palette texture becomes the surface material ID table. I.e. values from the texture are now interpreted as an index in the texture atlas. The texture atlas is a huge single texture, that contains many looped 256x256 textures (tiles) of images of different surface types: grass, sand, rocks, etc. I use two atlases with 8x8 textures in each, these give 128 textures in total. Now the Generator's shader can sample one tile of texture atlas instead of simply taking one color from the palette texture. This method improves level of detail and increases the realism of planetary surfaces greatly, as you can see in the pictures below:

The level of detail of the planet surface is about one meter per pixel (this means if you approach the surface from less than 100 meters, you can notice pixelations). This is a limitation of the engine, due to floating-point precision hit. I plan to eliminate this restriction and reach the level-of-detail at around 0.1-1.0 cm per pixel.







Views: 10350 | Added by: SpaceEngineer | Rating: 5.0/4
Total comments: 131 2 »
1  
That's Cool man surprised

2  
More textures and realism To planetary surface :3

3  
Nice to see you now have a blog on development. smile I will read your entries with much interest. Looks like more great work is happening on the engine. I can't wait to see what's coming in your next release. smile

4  
YEP!!! biggrin

5  
Awesome!!! I can't wait for the next update!

6  
imagine combining this whit a space game simulator, whit battles and such. that would be amazing :), and great job whit this app, i'm looking forward to see the improvement in the next version

7  
What a great resoruce this text is.

8  
ONE QUESTION FOR NOW.... CAN I IMPORT SOME OBJECT FROM 3D MAX OR MAYA AND MAKE A VIDEO ?
SORRY THIS IS THE FIRST TIME WHIT THIS PROGRAM ,I'M STILL DISCOVERIT.

THANKS FROM ARGENTINA.

9  
No, you can't.

10  
I really, really enjoy space emgine a lot! I think space engine should have a spaceship, realistic orbital physics, and gravitational effects from the planets, stars and other celestial bodies! Thanks!

Cheers,
Vincent

1-10 11-13
Only registered users can add comments.
[ Registration | Login ]