Page 1 of 1
planets!
Posted: Wed Jan 28, 2015 2:24 pm
by deseven
Simple solar system generator with many planet types.
It utilises Perlin noise algorithm to generate textures for everything.
Can be used as the screensaver
Controls:
Mouse wheel to zoom in/out.
Left mouse button to select an object.
Esc to quit.
Binary:
win32,
osx
Sources:
github
Currently in development, any feedback and advices are greatly appreciated.
Re: planets!
Posted: Thu Jan 29, 2015 7:42 am
by applePi
thanks for this , very useful. especially you have provided the source.
i suggest a feature when the user press S as an example it will display the solar system planets with its specific planets sizes and orbital speeds.
regards
Re: planets!
Posted: Thu Jan 29, 2015 10:05 am
by Kelebrindae
Wow, very nice!
I should try to merge it with my own star-system generator (
http://www.purebasic.fr/english/viewtop ... 12&t=39470) to generate all the infos about the planets.
Re: planets!
Posted: Thu Jan 29, 2015 10:41 am
by deseven
applePi wrote:thanks for this , very useful. especially you have provided the source.
i suggest a feature when the user press S as an example it will display the solar system planets with its specific planets sizes and orbital speeds.
regards
I'm planning to add some comments to the code so everyone can use it.
Don't really get what you mean. You want to see the planet info near all of the planets after pressing S?
Your project looks far more advanced and serious than mine. I probably should take your planet generation algorithm if you don't mind. Or actually we can do something toghether. For example, you can export your solar system to a file and i can process it and visualize.
However, i should start working on moons' support.
Re: planets!
Posted: Thu Jan 29, 2015 12:49 pm
by applePi
deseven wrote:
You want to see the planet info near all of the planets after pressing S?
No, i mean our own solar system: sun, mercury, Venus, earth...etc
http://truenation.org/wp-content/upload ... stem-2.jpg
with its planets relative sizes and orbital speeds. but
now i think this suggested addition will get your code out of its purpose and making it more complex. so my suggestion are better for another standalone program which are utilizing your current code in its design and can be used in educational purposes.
Re: planets!
Posted: Thu Jan 29, 2015 2:05 pm
by Kwai chang caine
Very nice...really !!!

Thanks to you, it's more easy to understand the moving of planets

It's a little bit like an aquarium..we can look at it, during several hours
Thanks for sharing

Re: planets!
Posted: Thu Jan 29, 2015 7:34 pm
by deseven
applePi wrote:my suggestion are better for another standalone program which are utilizing your current code in its design and can be used in educational purposes.
If i'll do an import support then anyone will be able to create a custom solar system and load it.
Nevertheless, if we want to represent our system then we need at least moons, so this is what i'm going to do next.
Kwai chang caine wrote:Very nice...really !!!

No, it's not. There is a laaaarge room for improvements

Re: planets!
Posted: Thu Jan 29, 2015 7:35 pm
by deseven
updated to version 0.2
+ OS X support
* doubled planet texture size
* orbit trails replaced by actual orbits
* various bugfixes and small improvements
* code refactoring and commenting
Re: planets!
Posted: Fri Jan 30, 2015 3:43 pm
by Kelebrindae
deseven wrote: I probably should take your planet generation algorithm if you don't mind.
No problem! For now, I don't have much time to code so I'll be glad if this source can be of use to your project.

Re: planets!
Posted: Mon Feb 02, 2015 11:16 pm
by deseven
updated to version 0.2.1
+ background nebulas (needs some more tuning)
+ icon
* orbit for the selected object
* some internal changes
heading straight to the moon support for ver 0.3
Re: planets!
Posted: Tue Feb 03, 2015 3:20 pm
by Kukulkan
Nice!

Re: planets!
Posted: Thu Feb 12, 2015 1:23 am
by deseven
I'm kinda tired of all that PB problems related to the opengl performance, glitches (crossplatform 2d-drawing is terrible) and lack of the important features, so i decided to switch to the more advanced 2d engine - love2d.
You can check the almost complete rewrite (no planet types and names yet)
here.
Consider this PB project as abandoned. Of course anyone can still use it for education or other purposes, i don't mind.
P.S. PB is still great for other things
