Skip to main content

History: Object manipulation with Gizmo

Source of version: 3

Copy to clipboard
            {INCLUDE(page="ogrelex ext tpl")/}
---
content here

{WIKIPEDIA()/}
!Object manipulation with Gizmo

!Overview

This snipped shows how to create an editor manager which holds a Gizmo for object manipulation.

!Features
The Gizmo can be changed to the following modes:
#Translate-Gizmo
#Rotate-Gizmo
#Scale-Gizmo

Its possible to translate objects along a given direction depending which gizmo arrow has been pressed. The rotation is done via rings. The use can grab a ring and rotate. The selected object will be rotated and a progress-bar will be shown within the ring. Its also possible to translate/rotate Objects in a grid.
The scale of objects does work but the unite-scale not so far.
In the code snippets there are some notes, in what way the editor manager can be extended. The selection code has been uncommented, because it was part of my NOWA-Engine and not compatible with ogre.

Some snippets within the code are orientated at other snippets from the Ogre-site and Ogitor.

{YOUTUBE(movie="SpM4C50_v0g",width="854",height="480")}{YOUTUBE}

        

History

Information Version
Sun 12 of Mar, 2017 16:12 GMT-0000 Lax 5
Mon 06 of Mar, 2017 20:11 GMT-0000 Lax 4
Mon 06 of Mar, 2017 19:43 GMT-0000 Lax 3
Mon 06 of Mar, 2017 19:38 GMT-0000 Lax 2
Mon 06 of Mar, 2017 19:36 GMT-0000 Lax 1