Like most editors of 3D graphics, Esquimo also has a virtual cameras. Their use is not necessary, although very useful in many cases. It is possible to render any view. Static views (Top, Bottom, Left, Right, Front, Back, User, Perspective) are often sufficient for very simple scenes, such as: single rotating object or few objects but with a fixed observer's position. In other cases, cameras will be very helpful.
Let’s try to build a simple scene, using the Photo Target camera. Create a base object – Textured Plane – in front of which you will place other objects. For educational purposes, I used the previously prepared textures, but in practice you may as well use the objects without textures, such as an ordinary Plane, or substantially any other objects. As an exercise, try to make possibly a similar scene to that shown in the figure below. At this stage, do not pay attention to all the parameters given in the figure, some of them will be explained later.
As you can see here, for each object you can set the time of camera movement in predefined position, entering the number of frames. In the example prepared below, for each object I set a different time of transition, so you can see the difference.
Photo Target smoothly changes both - the camera position and Field of view (FOV pparameter). For Photo Target 3 and 4 I set a different FOV than default one (30). For each of the cameras (at the level of the camera, not the object) I also turned on the mouse event, so when you click on the object the camera approaches to it and you can move the mouse by changing position of the camera in the orbital motion around the camera.
Move the mouse over the image below to activate the animation, then click on the one of objects with texture of the digit. Clicking on the same object a second time will cause that the main camera returns to the normal operation. You can also move directly between positions of Photo Target. Being in close, try to click on adjacent objects.
By using this camera you can easy create an SWF animation that allows to manipulate the view with mouse. Very useful when you want to show a 3d object and give to user a possibility of viewing it at various angle. To see your scene from Presentation camera mode just add it to the scene and set its position so that the camera is facing the object which is going to be presented. Make sure the Presentation camera view is active when you publish the scene. Published SWF shows the object in motion as if it is spinning around own axis. In fact the camera is moving around its target. Once you click on the movie area camera stops and you take control over the view:
- drag&drop rotates the camera
- CTRL + left mouse button moves the camera, cursor keys can do it as well
- mouse scroll wheel zoom in/out the view ( works well only in the pop-up widows, if the SWF is embedded on the webpage mouse wheel will scroll the page )
- SPACE - restart initial rotation