[WIP] PovrayPlanets
Moderators: winston, another_commander
- submersible
- Commodore
- Posts: 264
- Joined: Thu Nov 10, 2011 7:49 am
[WIP] PovrayPlanets
Hello all,
I am a long time fan of elite and have greatly enjoyed recently playing Oolite with some of the Griff and Famous Planets OXP's. I would like to gather some advice about my idea to algorithmically generate textures for all planet/galaxy combinations - based on each planet's random seed.
I think i have devised a way to use povray/megapov to render a cube map rather than a lat-long map, and have tested by generating a few textures by hand.
Some of the other posts regarding planetinfo type OXPs suggests to me that it would be desirable for some mechanism allowing OXPs to co-operate when there is contention for the Xpansion of planets.
Sample planet - gas giant
Sample planet - Semi martian
Any and all wisdom and suggestions greatly appreciated.
I am a long time fan of elite and have greatly enjoyed recently playing Oolite with some of the Griff and Famous Planets OXP's. I would like to gather some advice about my idea to algorithmically generate textures for all planet/galaxy combinations - based on each planet's random seed.
I think i have devised a way to use povray/megapov to render a cube map rather than a lat-long map, and have tested by generating a few textures by hand.
Some of the other posts regarding planetinfo type OXPs suggests to me that it would be desirable for some mechanism allowing OXPs to co-operate when there is contention for the Xpansion of planets.
Sample planet - gas giant
Sample planet - Semi martian
Any and all wisdom and suggestions greatly appreciated.
Last edited by submersible on Sat Nov 19, 2011 10:07 pm, edited 1 time in total.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: [WIP] PovrayPlanets
Hi submersible... no wisdom from me, just a 'welcome aboard!'
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
Re: [WIP] PovrayPlanets
Hmm, what do you want to happen when both your planets and System Redux are loaded together? And Famous {lanets? And Deep Horizon? What about System Demux?
To keep things simple to start with, I'd only have PovrayPlanets in the AddOns folder, and only add the others (1 at a time!!) & associated cooperating code at a later stage.
We should be able to help with a few examples of code you could use to achieve your aims. That is, as long as you're clear about which texture should be shown for each planet, for any of those oxp combinations, which might be the most tricky bit to figure out...
In any case, you can always look at the way famous planets works with the other ones, that should give you an idea or two on how best to get the results you want!
And welcome to the friendliest board this side of Riedquat (tm)!
To keep things simple to start with, I'd only have PovrayPlanets in the AddOns folder, and only add the others (1 at a time!!) & associated cooperating code at a later stage.
We should be able to help with a few examples of code you could use to achieve your aims. That is, as long as you're clear about which texture should be shown for each planet, for any of those oxp combinations, which might be the most tricky bit to figure out...
In any case, you can always look at the way famous planets works with the other ones, that should give you an idea or two on how best to get the results you want!
And welcome to the friendliest board this side of Riedquat (tm)!
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
- submersible
- Commodore
- Posts: 264
- Joined: Thu Nov 10, 2011 7:49 am
Re: [WIP] PovrayPlanets
For the time being I would think that PovrayPlanets would just get-out-of-the-way in deference to more mature OXPs - only manipulating the planet texture in the absence of another OXP making that change. Of course the System Redux/Remux looks like it will hog every system it can.Kaks wrote:Hmm, what do you want to happen when both your planets and System Redux are loaded together? And Famous {lanets? And Deep Horizon? What about System Demux?
Povray Planets - Planet textures for your galaxy
- JazHaz
- ---- E L I T E ----
- Posts: 2991
- Joined: Tue Sep 22, 2009 11:07 am
- Location: Enfield, Middlesex
- Contact:
Re: [WIP] PovrayPlanets
It might be worth thinking about adding your textures to one of the existing planet texturers?
- submersible
- Commodore
- Posts: 264
- Joined: Thu Nov 10, 2011 7:49 am
Re: [WIP] PovrayPlanets
This is good advice - i might discuss with the Deep Horizons project , that OXP looks very tasty. Especially for a 'BETA'JazHaz wrote:It might be worth thinking about adding your textures to one of the existing planet texturers?
Povray Planets - Planet textures for your galaxy
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: [WIP] PovrayPlanets
Hi submersible. If you like you can and have the permission from me to take the Famous Planetes 2.5. (adopt the OXP because I don't have the time for it anymore) package and add the new textures in that package. In the config dir of Famous Planets is a file plantesinfo.plist (I believe) where you can see which planets are already textured. You can then build on that list. Beware that FP currently only does Galaxy 1 + 2 So in Galaxy 3 and on to 8 you have to do ALL the textures.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
Re: [WIP] PovrayPlanets
The updated script for Famous Planets (v2.5.1) does not use the planetinfo.plist for textures anymore. It's all done on the fly via JS. Same for System Redux (1.2.2).
If you need more infos - just whistle .-)
If you need more infos - just whistle .-)
- Cmd. Cheyd
- ---- E L I T E ----
- Posts: 934
- Joined: Tue Dec 16, 2008 2:52 pm
- Location: Deep Horizon Industries Manufacturing & Research Site somewhere in G8...
Re: [WIP] PovrayPlanets
I have a rewrite of DH-Systems that was designed to allow Redux, Demux, FP, and DH-Systems all to coexist (given a small amount of code added to the others... Less than 10 lines IIRC). It also allowed the mini-planets on the Planet Info screen to appear properly from anywhere. I have not published it because there were some unacceptable (to me) bloating caused within the save-game file. If you want, I can let you take a peak if you think it would help any?
Find my OXP's at:
Deep Horizon Industries - Your Planet Our Design
Deep Horizon Industries - Your Planet Our Design
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: [WIP] PovrayPlanets
Svengali is right. .
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709