WorldViz User Forum  

Go Back   WorldViz User Forum > Getting Vizard Help with AI

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-25-2024, 07:40 AM
Corn Corn is offline
Member
 
Join Date: Jun 2018
Posts: 2
Animations of Liquids in Vizard?

Hello there,

are there any template solutions for embedding the behavior of liquids into Vizard? Either with "water simulation" or with predefined "liquid animations"? We want to create a setup in which participants can pour a liquid from a bottle into a glass and then swivel the glass to appreciate the content. Is there any example of how to accomplish this?

Thank you all in advance!
Reply With Quote
  #2  
Old Today, 09:29 AM
sado_rabaudi sado_rabaudi is offline
WorldViz Team Member
 
Join Date: Jul 2016
Posts: 42
Animations are best made in another program (such as Blender) and then played back in Vizard. You can trigger the animation playback from built-in animations using code similar to this:
door = vizfx.addChild('DoorAnimated.osgb')
door.setPosition(0, 0, 5)
door.setAnimationSpeed(0.5)
door.setAnimationState(0)
door.setAnimationFrame(100)
door.setAnimationLoopMode(viz.OFF)

See the C:\Program Files\WorldViz\Vizard8\resources\piazza_animations .osgb for an example of this

There are also some limited particle based animations available in the Inspector tool.
Reply With Quote
Reply

Tags
animation, bottle, glass, liquids, simulation


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
Vizard 7 now available! sado_rabaudi Announcements 0 12-02-2020 10:51 AM
Realistic Light and Shadows Using Vizard and 3DS Max jde Vizard 4 07-13-2012 10:58 AM
Vizard 4 Beta Testing farshizzo Announcements 0 02-01-2011 10:46 AM
Vizard 4 Beta Testing farshizzo Vizard 0 02-01-2011 10:46 AM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 11:13 AM


All times are GMT -7. The time now is 07:35 PM.


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