This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
es:orx:tutorials:viewport [2012/02/29 12:24 (13 years ago)] – [Sumario] zera | es:orx:tutorials:viewport [2020/08/19 21:13 (5 years ago)] (current) – Old content sausage | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Tutorial de Vista y Cámara ====== | ||
- | |||
- | ===== Sumario ===== | ||
- | |||
- | Ver previamente [[main# | ||
- | |||
- | Este tutorial muestra como usar múltiples vistas con múltiples cámaras.\\ | ||
- | Cuatro vistas son creadas aquí. | ||
- | |||
- | La esquina superior izquierda una ('' | ||
- | Para archivar este, necesitamos usar el mismo nombre en el fichero de configuración para la cámara. | ||
- | |||
- | Furthermore, | ||
- | arrow keys to move it and left control & left shift to zoom it, the two viewports associated with this camera will both be affected. | ||
- | |||
- | The top right viewport ('' | ||
- | |||
- | The last viewport ('' | ||
- | This viewport will display what you originally had in the '' | ||
- | You can also interact directly with the first viewport properties, using WASD keys to move it and ' | ||
- | |||
- | //NB: When two viewports overlap, the oldest one (ie. the one created before the other) will be displayed on top.// | ||
- | |||
- | Lastly, we have a box that doesn' | ||
- | In other words, no matter which viewport your mouse is on, and no matter how the camera for this viewport is set, | ||
- | the soldier will always have his feet at the same position than your mouse on screen (provided it's in a viewport). | ||
- | |||
- | Viewports and objects are created with random colors and sizes using the character ' | ||
- | |||
- | //NB: Cameras store their position/ | ||
- | as seen in the [[frame|frame tutorial]].\\ | ||
- | As a result, object auto-following can be achieved by setting the object as the camera' | ||
- | On the other hand, having a camera as parent of an object will insure that the object will always be displayed at the same place in the corresponding viewport ((very useful for making HUD & UI, for example)).// | ||
- | ===== Detalles ===== | ||
- | |||
- | |||
- | ===== Recursos ===== | ||
- | |||