#1
|
|||
|
|||
Tutorial Example - inverted video
Hi
I am following through the example "Getting Your Feet Wet" and notice that on the screen the video I have selected is inverted and appears to be a mirror image of what it should be. #Play a movie on the screen def playMovie(): mymovie = viz.add('rockpool2.wmv') mymovie.loop(viz.ON) mymovie.play() screen.texture(mymovie) vizact.onkeydown('m', playMovie) [question] Can this be adjusted to play correctly. Thanks |
#2
|
|||
|
|||
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) |
#3
|
|||
|
|||
Inverted video
This solution appears to play the video, however the sound only is heard, the picture is a black screen?
|
#4
|
|||
|
|||
Inverted video
Hi
I was able to invert the video in windows movie maker (using effects) and the video was then inverted in vizard thus playing correctly. However getting a scripting solution would be good so any advice would be great. Mike |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
synching video camera recording with vizard | billjarrold | Vizard | 0 | 12-16-2009 12:43 AM |
Adding Multimedia --inverted image | adele | Vizard | 1 | 06-23-2009 01:00 PM |
video help | nasr | Vizard | 2 | 05-26-2009 12:42 PM |
lat long mapped video | Brett Lindberg | Vizard | 3 | 02-25-2009 08:41 PM |
How to synchronize play/pause of 2 video streams in stereo | Gilliard | Vizard | 1 | 09-01-2005 09:58 AM |