WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-14-2013, 07: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, 04:18 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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, 04: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, 12:38 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The example script handles key press events. You can change it to handle mouse events instead.
Reply With Quote
  #5  
Old 01-24-2013, 07: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, 05:57 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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 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


All times are GMT -7. The time now is 01:11 AM.


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