WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 4.00 average. Display Modes
  #1  
Old 04-07-2009, 12:43 AM
just alex just alex is offline
Member
 
Join Date: Nov 2008
Posts: 18
Would Google Sketchup be a possible substitute for 3ds Max?
Reply With Quote
  #2  
Old 04-07-2009, 12:57 PM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
After checking out SketchUp, I don't think it can export animations to 3D formats like VRML. Plus, it's $500 for the Pro version which you need to export to common 3D file formats.

Anyone know if Blender can export OSG animations? It seems Blender can export to Cal3D well enough for Vizard to use it. That could be an animation workflow for Blender to Vizard. Vizard supports VRML animations, so if Blender can export animated VRMLs that could work as well.
__________________
Paul Elliott
WorldViz LLC
Reply With Quote
  #3  
Old 04-08-2009, 01:23 PM
just alex just alex is offline
Member
 
Join Date: Nov 2008
Posts: 18
Would it be possible to swap between a bezier path and a linear path? I could at least get some of the straight areas to go well then.
Reply With Quote
  #4  
Old 04-09-2009, 02:06 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
As long as you know how long one path takes to complete you could link your object to the second path when the timer, set to the time of the first path, expires.
Reply With Quote
  #5  
Old 04-22-2009, 01:07 PM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
blender OSG animation workflow

I figured out how to use Blender to create animation paths. This seems much easier than tweaking control points forever in Vizard.

Steps:
1. Install Blender.
2. Install osg export plugin. Download plugin. Copy the osgexport-2.42.py file into <Program Files>\Blender Foundation\Blender\.blender\scripts directory.
3. Learn how to animate a box in blender. This video provides a simple introduction: http://www.youtube.com/watch?v=FAZFfLmbD2k
4. Checkout the attached Vizard script that moves a car around with an animated box made in blender. The zip includes the .blend file.

Code:
import viz
viz.go()

path = viz.add('output.osg')
vizact.onkeydown(' ', path.hint, viz.RESET_ANIMATION_HINT)
path.disable(viz.RENDERING)

car = viz.add('mini.osgx')

linky = viz.link(path.getChild('Cube_geode'), car, srcFlag=viz.LINK_ABSOLUTE)
linky.preEuler([0, -90, 0]) #rotate car upright

viz.MainView.setPosition([0,1,-5])

viz.MainView.getHeadLight().disable()
light = viz.add(viz.LIGHT)
light.position(.5,1,-.5,0)
light.intensity(3)

viz.clearcolor(viz.SKYBLUE)
viz.add('tut_ground.wrl')
Attached Files
File Type: zip blender_animation.zip (38.5 KB, 2849 views)
__________________
Paul Elliott
WorldViz LLC
Reply With Quote
Reply

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
Problems with interaction of vizact.turn and animation path Enlil Vizard 3 11-24-2008 04:23 PM
speed on animation path whj Vizard 8 11-17-2008 07:41 PM
Cubic Bezier Curve whj Vizard 0 11-10-2008 01:52 PM
another bezier animation problem masaki Vizard 1 01-24-2008 02:29 PM
Smooth transition from Linear to Bezier in animation masaki Vizard 2 01-13-2008 11:22 AM


All times are GMT -7. The time now is 08:51 AM.


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