WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1  
Old 04-01-2012, 04:48 PM
hotshotiguana hotshotiguana is offline
Member
 
Join Date: Mar 2011
Posts: 22
Modeling and Modifying a 3D Arrow

Hi,

I have a two part question for the best way to model and modify a 3D arrow in Vizard - see the top left image on this site for an example of what I am trying to accomplish. My ultimate goal is to connect two objects with an arrow like the one in that link, but I would like for the arrow to be dynamic, with respect to it's length, width, and/or angle.

First approach:
I create this arrow as a plane in 3ds Max 2012 and export the object to my project in Vizard. My question with this approach is: Does Vizard give me the ability to change the 3ds modifiers on this object, i.e. can I change the angle of the bend or the twist of the arrow or maybe simply the length and width of the object to match the x, y, and z coordinates of other objects already in my scene - possibly using joint, although I haven't used that feature before?

Second approach:
Can I draw this 3D arrow using vizshape.addPlane in Vizard and then adjust its angles, width, and length using the plane properties? If so, how may I go about this?

Any suggestions or comments would be greatly appreciated.

Thanks,
Chris
Reply With Quote
  #2  
Old 04-02-2012, 09:30 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,457
For the bending and twisting of the model you would need to create a Cal3D model with various morph targets that you could animate between. See the following article for some information on this:

http://kb.worldviz.com/articles/1233

Scaling could be done either within the morph targets of the Cal3D model or using the <vizact>.sizeTo command.
Reply With Quote
  #3  
Old 04-05-2012, 12:35 PM
hotshotiguana hotshotiguana is offline
Member
 
Join Date: Mar 2011
Posts: 22
The <vizact>.sizeTo works well to scale the .3DS arrow I imported into my scene, but now I want the arrow to go from one object (<vizshape.addBox) to another object (<vizshape.addBox). Is there a method (or a combination of a couple methods) that would allow me to connect one end of the arrow to the first box and the other end to the second box - basically creating a bridge between the two static objects?

Thanks.
Reply With Quote
  #4  
Old 04-08-2012, 08:37 PM
Darkmax Darkmax is offline
Member
 
Join Date: Feb 2010
Posts: 108
i think you need to create this animations in 3ds max like jeff said, or i don't know if is possible to do a vertex animation in 3ds max and the export it like a osg and run the animation when you want it.

i think there is plugin somewhere to control the animation of a osg file with vizard 3 but i don't know if this works with vizard 4.
Reply With Quote
  #5  
Old 04-10-2012, 12:09 PM
hotshotiguana hotshotiguana is offline
Member
 
Join Date: Mar 2011
Posts: 22
I think for what I am doing a 3DS Max arrow is not going to be the best option (although it definitely looks better than any arrow I have seen online), due to the changing control points, the changing width on the arrow, and the beginning and end points. I can implement this with 100 (or more) viz.LINE_STRIP segments to create this arched line, but it is definitely not the cleanest or best looking way to approach this. Is it possible in Vizard to create a plane, a cylinder, or a box that can bend with respect to about 10-15 control points on a half-circle? I am really hoping there is a way to create a single unbroken segment to connect these two points.
Reply With Quote
Reply

Tags
3ds max, plane, vizshape

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


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


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