Tutorial 001 - Sunglasses

Aim of this lesson is to introduce the user to the main functions of the software.
Subjects: background image, manipulating a 3D object, mask use.

CREATE A NEW PROJECT
   1.    Enter in the Project menu> New

   2.    In the New Project window set 800x600 pixel resolution, click on “Load Image” and select in C:/Programs/3DGeniuX/Tutorials/001/Glasses.jpg

   3.    Click on “Create”

   NOTE: All lessons are located in the main folder where 3D GeniuX is installed, usually in C:/Programs/3DGeniuX/Tutorials

LOAD A 3D OBJECT

    1.   Enter the Project menu>Import>File X and select in C:/Programs/3DGeniuX/Tutorials/001/Coffee_cup.x
Click on "Open"

    2.   Click on icon to limit manipulation on X axis, then click on Rotate and rotate the cup -52° on X axis. 
Select to act contemporarily on all axes and click on Scale to increase dimension up to 465%.
          These values can be inserted also from the Object Position rollout  on the right of the interface.
          See also Object Position rollout.
The 3D object in the original position and dimension
3D object after re-scaling and rotating
DRAW MASK
    1.    From tool bar click on Activate mask       
    2.    From Mask rollout set brush dimension and brush Transparency as shown in the picture.
   3. Click on Line Mask and with the LEFT button of the mouse start drawing the white outline of the glasses. To be clearer, we represent here the polygon in blue. The user will notice that, going on with the drawing, the parts touched by the brush will be on the foreground with respect to the 3D object.

It is important to draw a closed polygon, and then you can exit the command by clicking with the RIGHT button of the mouse.

   4. Click on the Fill Mask and with the LEFT button of the mouse click inside the area of the polygon previously created. The command will fill the internal area, bringing it completely in the foreground.
   5. Click on Visualize Mask to see how the mask was drawn.
  
    6.    From the Mask rollout set Brush Transparency as shown in the picture. If the brush is white the 3D object will be deleted. If the brush is black the 3D object will be completely visible. Intermediate values will give a semi-transparent effect.




   7. Click on Line Mask and, with the LEFT button of the mouse, start to draw the lens zone that will intersect with the 3D object. It is important that you draw a closed polygon, then you can exit from the command by clicking with the RIGHT button of the mouse.
   8. Click on Fill Up Mask and with the LEFT button of the mouse click inside the polygon area that you created before. The command will fill up this area, bringing it in the foreground.
   9. Click on Visualize Mask to see the final result. You can also use Move Rotate Scale to adjust the position of the 3D object.