View Single Post
  #2  
Old 06-29-2010, 02:42 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
It looks like the texture coordinates on the model are inverted. You can reverse them by using the node.texmat command and setting the wrap mode of the texture to REPEAT:
Code:
#Play a movie on the screen
def playMovie():

	mymovie = viz.add('rockpool2.wmv',wrap=viz.REPEAT)
	mymovie.loop(viz.ON)
	mymovie.play()

	screen.texture(mymovie) 
	screen.texmat(viz.Matrix.scale(-1,1,1))
	
vizact.onkeydown('m', playMovie)
Reply With Quote