Really cool project! Now I get why you needed the sky textures
Just a note: As it is an eary demo you might already be aware of it but you should consider packing your textures differently. It transferred nearly 175MB on loading the page.
I guess using jpeg for everything but normals would be enough to make it better. Or you could use .basis maybe?
Normals need to be high quality so I always stick to png for them. But I don’t know if you need the full resoltion. Smaller size textures can make a big difference but you have to see yourself if you can live with that.
It took a couple of attempts to figure out “move to click”.
Was expecting wasd. Also, BABYLON.TOUCHUI would be cool.
You probably already have plans for those things.
Are you planning to land on planets or moon?
For that, a solution to GRAVITY was found using an internal ‘truncated cuboid’.
Giving 6 flat planes to be detected with a downRay, when a different plane is detected, the core rotates up.
Ico-sphere gravity solution would be ideal. I couldn’t get multi-directional gravity to work (for all objects AND the camera)[tricky] So I just pull the whole planet into “top” position. Surely, better solutions await. Astr0neer appears to use a “conversion” from sphere to flat plane, once the sphere is close enough (to land).
If I get another chance, I might solve gravity more like that (illusion of a round planet, switch to plane). But that implies a whole different trickiness!
Maybe this is helpful, or just amusing. : )
Anyway,
LIKE the atmosphere around planet and sun - is that atmosphere shader?
I’m aiming at desktops but might add touch controls at a later stage.
I don’t have plans to land on planets, just docking on stations for now.
Next is stations, generating a galaxy and jumping to other star systems.
The sun is a sphere and a particle system.
The planet is 3 spheres, one for the surface, one a little bigger for the clouds and one for the atmosphere. The atmosphere needs work, its just a sphere with a blend mode.
Got basic galaxy generation working.
Generates star systems with planets, moons, stations and asteroid fields.
The result is saved to a json file and loaded by the server.
Added a basic mini map, system map and galaxy map.
You can jump to another system, just click on one of the dots on the galaxy map.
Menus are now shown, you can create an account or just click trough to use the test account.
Added:
Remote player loading
Position updates
Music cycle
12 music tracks
Stations
Station docking and launch
Galaxy map system selection and jump button
System map selecting and icon
Left mouse selecting and selection icon
Right click menus
I dug through my old files and found my old Celest generator. It will let you generate the data for a pseudo-scientific solar system. Never got to the moons, but it will handle the star type, and the major bodies around it. Just change the seed that you feed the system to get a whole new star system. Don’t expect to see a “Sun” like star though as they are rare rare rare rare rare.
If you look in the console you will see the output. It will tell you the Star, its gravitational sphere of influence, the light data, its mass, its rarity, the strength of its hydrogen lines etc. Then the zones around the star and its features. Everything is randomly generated from as many real world values as I could find at the time and creates mathematically probable star systems.
You could use this data in your game. It is missing some of the rarer and theoretical planet types as well like Binary planets, Circumbinary, Coreless etc.
Hope its useful for you and if you need any help with it let me know.
Working hard on the space station gui and logic, when finished i can finally start on game-play.
Added:
7 space stations
6 space station skins
Space station icon to mini map
Space station gui
Asteroid field icon to system map
Jumping to asteroid fields
Ship editor
Ship stats
Player stats
Server account updating and saving
Name generator for planets and stars