WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-14-2013, 08:48 AM
pankaj bansal pankaj bansal is offline
Member
 
Join Date: Nov 2012
Posts: 14
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
Reply With Quote
  #2  
Old 01-15-2013, 05:18 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,459
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.
Reply With Quote
  #3  
Old 01-16-2013, 05:39 AM
pankaj bansal pankaj bansal is offline
Member
 
Join Date: Nov 2012
Posts: 14
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
Reply With Quote
  #4  
Old 01-17-2013, 01:38 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,459
The example script handles key press events. You can change it to handle mouse events instead.
Reply With Quote
  #5  
Old 01-24-2013, 08:44 AM
pankaj bansal pankaj bansal is offline
Member
 
Join Date: Nov 2012
Posts: 14
@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
Reply With Quote
  #6  
Old 01-24-2013, 06:57 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,459
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.
Reply With Quote
Reply

Tags
manipulator, object

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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 04:15 PM
AMD graphics hardware seems not to preload object sleiN13 Vizard 2 03-20-2012 07:08 AM
retrieve Object names Geoffrey Vizard 11 12-11-2009 05:26 AM
Making an object to appear after other object done animating jaylocco Vizard 2 07-13-2009 07:17 PM
rotate to object jargon Vizard 1 08-08-2005 01:20 PM


All times are GMT -7. The time now is 02:15 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC