#1
|
|||
|
|||
Object Manipulators
Hii
I am working on some project using vizard and I need the functionality of object manipulators. What I mean is when I select a model, Some manipulators should appear which will give me functionality of scaling,rotating and translating the model. Like there are manipulators in all 3D applications like 3dsmax, Delta3D. Even OSG has a dragger manipulator which gives functionality of translating. So is there something like that in vizard.... If not available in vizard, I have implemented a manipulator in osg. I think vizard is based on osg and uses its plugins. Can there be any method that I can use that implementation by making some plugins..... Regards Pankaj Bansal |
#2
|
|||
|
|||
The grabbing.py example script (File -> Quick Open -> type "grabbing") that comes with Vizard shows how to setup a grab link to rotate and translate an object.
You could create additional callback functions that scale the model when other input events occur while the grab link is active. |
#3
|
|||
|
|||
Hey Thanks for replying
Is there some way to do this using mouse. See you must have seen manipulator in 3D application. Like there are axis around the object and if you select the axis the you can do translation or rotation. I have enterprise license of vizard. So I can use all kind of functionality of vizard. Should I talk to vizard Support people for help If you think they can be of more assistance. Regards Pankaj Bansal |
#4
|
|||
|
|||
The example script handles key press events. You can change it to handle mouse events instead.
|
#5
|
|||
|
|||
@jeff
thanks for replying Even If I modify the grabber example for using the mouse, I won’t be able to do things in 3D. I need to change the position in all 3 axis.... You can help me in any of following ways… 1. I think vizard uses osg at back. In osg they have support for manipulators. They have dragger example. But in vizard that is not available. We have the manipulator implemented in osg. If I can use that in vizard, t would be great. But I am not able to do thatr. Can you please tell me how to use my osg manipulator in vizard. 2. Also there is osgSwig library which is a port of osg for python. If I can use that with vizard, it would be great. But I am not able to figure out how. If you can tell me how can I do that. 3. If vizard has some manipulator functionality which I am not aware of, can you please tell me how can I implement the manipulator. regards Pankjaj Bansal |
#6
|
|||
|
|||
There are no built-in commands to create manipulators with axes like modeling software. Vizard provides to command to translate, rotate, and scale objects as well as handle user events. So there are ways to program these movements in event callback functions.
|
Tags |
manipulator, object |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to render a texture of the transparent object and then blur it | whj | Vizard | 1 | 09-25-2012 03:15 PM |
AMD graphics hardware seems not to preload object | sleiN13 | Vizard | 2 | 03-20-2012 06:08 AM |
retrieve Object names | Geoffrey | Vizard | 11 | 12-11-2009 04:26 AM |
Making an object to appear after other object done animating | jaylocco | Vizard | 2 | 07-13-2009 06:17 PM |
rotate to object | jargon | Vizard | 1 | 08-08-2005 12:20 PM |