Page 1 of 1

A simple star system movie

Posted: 26.11.2005, 22:46
by dejudicibus
I created a very simple star system: one star and one planet with two moons. I would like to create a movie to see all objects in sequence. This is the script I would like to create (star, planet, moons, orbits visible):

1. center on star and get close to it
2. rotate star a couple of times
3. go back until you see the planet orbit from TOP
4. move to planet and get close to see planet and moons
5. rotate mmons around planet
6. move closer to planet
7. rotate planet a couple of times
8. move to first moon and get closer
9. rotate moon a couple of times
A. move to second moon and get closer
B. rotate moon a couple of times
C. go back to see the whole system

END

I am not so good with CEL. I am confused by so many coordinate modes. The biggest problem is to stay on top of orbits... I would appreciate any help. My e-mail is ddj (at) mclink (dot) it

Thank you in advance.

Posted: 01.12.2005, 16:00
by Adirondack
dejudicibus,

see the CEL-Scripting-Guide by Don Goyette on the Documentation page of the CML.

Adirondack

Posted: 02.12.2005, 10:01
by dejudicibus
Adirondack wrote:dejudicibus,

see the CEL-Scripting-Guide by Don Goyette on the Documentation page of the CML.

Adirondack


It was the first thing I did, but I cannot write a script that makes me see the star system from the top (to see the elliptical orbit). What I need to do is simple, but all the pieces of code I wrote do something differently.

Imagine you are on the top of sun system: you see the sun at center and the earth orbit as a circle (more or less). In a point of that circle you see another small circle: earth and moon pair. I want to see this image first, make earth run around the sun and the moon run around the earth. Than I want to zoom on earth moon pair from top and see them only. Move to earth and see it from equator; move to moon and see it from earth. Move back to original view.

I am confused by
1. so many coordinate modes which affect result of commands
2. when I am moving camera vs when I am moving planets/stars

Can you help me?