Tuesday, January 29, 2008

Big, Bigger, Moon!

I actually planed today to clean my lines up. Clean all that stuff I don't need anymore, pimp the documentation and all that suff, ... but then I couldn't resist.

I changed some stuff about the moon.

Yep, Luna, that gray thing at sky when it is dark.

What I can change there? It just cycles the earth?

Yes, you're right. It still cycles earth, but I changed all that code that lets it cycle.
When I started I knew that this prototyp never will have more than one moon (earth is the only planet, of the first 4, that got a real moon), so he always was its own model, got its own values, etc.
But think about jupiter, or saturn! They got up to 64 moons! It would be madness to creat its own model for each of them.

So I came up with a idea.
I earlyer placed all the planets in a so called 'List', and now I did the same with the moon.
Each Planet now got a list of all the planets that cycle him.
And that means a list that got a list. ...

It was hard to initialize that, especialy because I've never have done that before, ... it took me nasty 10 minutes!

And the first time I pressed that F5 button it did work that great that I decided to give Mercury and Venus some moons.
Venus 3 and Mercury 5. Each Moon with its own randomized position ...

I was realy suprised when I've seen that ...

... They could be the biggest eyes ever seen ... or ... the biggest a** ever seen

http://i201.photobucket.com/albums/aa59/Greg453V/Ass.jpg

(I post the link, because I was not impressed by the quality of my last pic)



Greg the Mad

No comments: