WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-04-2012, 10:45 AM
Kyman2008 Kyman2008 is offline
Member
 
Join Date: Jul 2012
Posts: 19
The model was created and exported in Google Sketchup, here is the line of code. I added the model of the TV as a seperate object (it is in a bigger room that was added as a seperate model)

###Add Video Playing on 2nd Level TV###

quad = viz.addChild('TV.dae', viz.TEXQUAD)
quad.scale(1.27, 0.66, 8.399)



video = viz.add('After_Visit.wmv', viz.TEX_RECT)
quad.texture(video)
video.play()
video.loop()

# make screen a little less vibrant
quad.alpha(.9)
Reply With Quote
Reply


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
changing paintings of art gallery demo Frank Verberne Vizard 1 05-06-2008 09:24 AM
PPT Demo mikestatic Precision Position Tracker (PPT) 1 09-23-2007 10:31 AM
demo of new hand.getFingerTip() halley Vizard 9 12-14-2006 12:40 AM
Stereo cubemap demo is missing some pictures Vbents Vizard 1 08-23-2006 05:42 PM
using demo with intersense G-Chan Vizard 1 02-06-2006 02:05 PM


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


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