-
Notifications
You must be signed in to change notification settings - Fork 1
tutorial 1
This is a step by step example to create a planetary system with coindesigner. You can also create the scenegraph using the menu Help->Demos->Planet Earth Demo in coindesigner application.
-
We begin by launching the application and creating a Separator for the planet Earth.
-
We add a Texture2 node and load the file earth.jpg. We then add a Sphere node so we can model the planet Earth.
-
Now we're going to make our planet revolve. To do this we add a Rotor node, placing it above the Sphere node. We then edit the rotation values as shown for rotation around the axis, adjusting rotation speed to 0.5.
-
We're now finished modeling the Earth. Now we'll model the moon, adding a new Separator node, with a Sphere, to the ROOT node as shown. We edit the radius of the sphere so it will be less than that of Earth, 0.2 for example.
-
We can't see our new sphere? No problem. It's still inside our planet Earth. To put it in its proper place, we add a Translation node, displacing it 10 units along the X axis. Now click on the 'eye' icon (see step 6 for the location of the icon, on the right of the display) so the camera will move far enough away that the whole scene is visible.
-
Now we're going to make the moon revolve around the Earth. To do this, we insert a Rotor node before the Translation node and adjust rotation velocity, just as we did in step 3.
-
Here's the result we should get, with the Earth and the moon revolving automatically.