Textured planets experiment - discussion here
Moderators: winston, another_commander
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Maybe I’m just a grumpy old grump, but I like my suns so bright you can’t see any detail. Maybe some faint traces of sunspots, animated very slowly.
E-mail: [email protected]
- LittleBear
- ---- E L I T E ----
- Posts: 2882
- Joined: Tue Apr 04, 2006 7:02 pm
- Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.
Well Dajits planets exe isnt far off, but this looks mega-cool!
Any chance you could post you new ship textures as one big OXP on Oosat2? Liked your new adder!
Any chance you could post you new ship textures as one big OXP on Oosat2? Liked your new adder!
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
-
- Quite Grand Sub-Admiral
- Posts: 364
- Joined: Tue Aug 17, 2004 7:05 am
- Location: Orange, NSW, Australia
libnoise can make planets look every bit as good as that, including all the way down to the surface. But it is too slow to do that in-game.
The basic idea for well textured planets is simple - the planet just asks for its texture when it is being initialised, and something generates it.
The "something generates it" is the hard bit - getting speed and good quality is something I've not figured out yet.
It is not feasible to pre-generate textures for all the planets because there are 2048 of them. That is a lot of disk space wasted.
The basic idea for well textured planets is simple - the planet just asks for its texture when it is being initialised, and something generates it.
The "something generates it" is the hard bit - getting speed and good quality is something I've not figured out yet.
It is not feasible to pre-generate textures for all the planets because there are 2048 of them. That is a lot of disk space wasted.
Regards,
David Taylor.
David Taylor.
Quite a many of those 2048 would end up looking a lot alike, I think... How about just making an experiment with a dozen or so different pre-generated textures...? How many different textures would one need to make it look cool from far away as well as from very close up? or does a single texture per planet do the trick just as well?dajt wrote:It is not feasible to pre-generate textures for all the planets because there are 2048 of them. That is a lot of disk space wasted.
Author of Tales from the Frontier - official Elite 4 anthology.
Author of Marcan Rayger adventures - unofficial fan-fic novellas set in the Frontier universe.
Author of Marcan Rayger adventures - unofficial fan-fic novellas set in the Frontier universe.
This is no problem, but i need some time to make all textures. When it is done I pack all in one file.LittleBear wrote:Well Dajits planets exe isnt far off, but this looks mega-cool!
Any chance you could post you new ship textures as one big OXP on Oosat2? Liked your new adder!
I see the problem of the planettextures too, when all textures are loaded at the start of the game. But is it possible to load the textures only when it is needed?
-
- Quite Grand Sub-Admiral
- Posts: 364
- Joined: Tue Aug 17, 2004 7:05 am
- Location: Orange, NSW, Australia
We can unload the textures and I did have code to try and do that for the planet textures, but my lack of Obj-C knowledge bit me and I couldn't make a simple LRU cache work! Pretty embarrasing.
If we pre-generate all textures for all planets we'll end up with 2048 images on disk which will take a lot of space.
Textures-planets generates the textures as they're needed, which takes a lot of time. I was going to then save them on disk for next time they're needed but then we'll still end up with lots of disk files unless they're all deleted when the game is quit.
If we can find a way to generate the textures when they're first referenced, but have it done both quickly and also get good quality, we'll have a great solution.
I'm open to suggestions, but I'd prefer they didn't involve OpenGL shaders because then I can't see them!
If we pre-generate all textures for all planets we'll end up with 2048 images on disk which will take a lot of space.
Textures-planets generates the textures as they're needed, which takes a lot of time. I was going to then save them on disk for next time they're needed but then we'll still end up with lots of disk files unless they're all deleted when the game is quit.
If we can find a way to generate the textures when they're first referenced, but have it done both quickly and also get good quality, we'll have a great solution.
I'm open to suggestions, but I'd prefer they didn't involve OpenGL shaders because then I can't see them!
Regards,
David Taylor.
David Taylor.
Would that involve a lot of work, and how much space would be needed.dajt wrote:If we pre-generate all textures for all planets we'll end up with 2048 images on disk which will take a lot of space.
Memory storage seems to get bigger and bigger every year, so is it a real constraint?
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
- Dr. Nil
- ---- E L I T E ----
- Posts: 983
- Joined: Thu Sep 28, 2006 5:11 pm
- Location: Nearest Hoopy Casino
- Contact:
It would be really nice if models were only put into memory as they were needed. That and the ability to add subentities with roles would be the two things that I imagine making it possible to make some flavor expansions that really add a lot of visual variants without demanding too much from the hardware.
300 billboards in Your Ad Here!
Astromines and more in Commies.
AVAILABLE HERE along with other Oolite eXpansion Packs.
I guess one way of doing a more detailed planet texture would be to progressively generate detail of the texture in a separate thread after the planet is generated.
The first obvious downside to this is that a separate thread is a little more complex to implement, as is progressively adding detail.
The second downside is that whilst this could allow for fairly detailed planet textures to have been generated by the time a player has flown from the witchspace beacon to the planet, planet detail would be comparatively low for the first planet after launching the game.
The up-sides are that it would allow for fast initialising of the planet, and also allow more powerful computers to create more detailed planets.
The first obvious downside to this is that a separate thread is a little more complex to implement, as is progressively adding detail.
The second downside is that whilst this could allow for fairly detailed planet textures to have been generated by the time a player has flown from the witchspace beacon to the planet, planet detail would be comparatively low for the first planet after launching the game.
The up-sides are that it would allow for fast initialising of the planet, and also allow more powerful computers to create more detailed planets.
- Dr. Nil
- ---- E L I T E ----
- Posts: 983
- Joined: Thu Sep 28, 2006 5:11 pm
- Location: Nearest Hoopy Casino
- Contact:
I cannot find the read-me...?
Can somebody tell me how to adjust the setting so sun skimming becomes possible while running the TP branch?
Can somebody tell me how to adjust the setting so sun skimming becomes possible while running the TP branch?
300 billboards in Your Ad Here!
Astromines and more in Commies.
AVAILABLE HERE along with other Oolite eXpansion Packs.
In the planetinfo.plist there is a sun distance modifier:
Code: Select all
<!-- Change this value to move the sun closer to or further away from the planet. The game's default value for this is 20. -->
<key>sun_distance_modifier</key>
<real>200</real>
How about just a dozen (or two) different ones to be used again and again? Compared to the plain Oolite, that would still be an astounding improvement.dajt wrote:If we pre-generate all textures for all planets we'll end up with 2048 images on disk which will take a lot of space.
Perhaps if you could even mix and match the planet surfaces (12 or 24 different ones) with different cloud covers (6 or 12 different)... That would increase the variety even more.
Author of Tales from the Frontier - official Elite 4 anthology.
Author of Marcan Rayger adventures - unofficial fan-fic novellas set in the Frontier universe.
Author of Marcan Rayger adventures - unofficial fan-fic novellas set in the Frontier universe.
- Dr. Nil
- ---- E L I T E ----
- Posts: 983
- Joined: Thu Sep 28, 2006 5:11 pm
- Location: Nearest Hoopy Casino
- Contact:
@reills: Thank you very much. I really like being able to sunskim. And I had to use the trunk exe to test the new commodities.plists for the commie sun stations.
@Wolfwood: That sounds like a good idea.
@Wolfwood: That sounds like a good idea.
300 billboards in Your Ad Here!
Astromines and more in Commies.
AVAILABLE HERE along with other Oolite eXpansion Packs.