View Single Post
  #8  
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