WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-22-2014, 12:32 PM
fabioped fabioped is offline
Member
 
Join Date: Feb 2013
Posts: 21
Question Fluids

Hello!

I'm trying to have milk being poured into a cup. I'm trying to fake my way into that using 3d max. I've created a SuperSpray as particle creator, and used a OSG sequence to sample its geometry. But somehow I can't really use it inside vizard.

I'm attaching the .max and the .osgb. The code is as follows:

Code:
import viz
import vizact
import vizcam
import vizshape
import vizconfig

viz.setMultiSample(8)
viz.fov(60)
viz.go()

model = viz.addChild('piazza.osgb')

a = viz.addChild('milk.osgb', scale=(0.01, 0.01, 0.01), pos=(0, 0, 5) )

osg = viz.add('SceneGraphTools.dle')
sequence = osg.Sequence(a)
Can you please help me out with this?
Attached Files
File Type: zip milk.zip (56.4 KB, 303 views)
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


All times are GMT -7. The time now is 08:01 PM.


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