|
#1
|
|||
|
|||
quads and resizing
Hey guys,
I've been trying to use a quad in order to play an .avi file in Vizard. Somehow, the movie aspect ratio is changed. Looks ok when played in Media Player but it gets distorted (the width is compressed) when played in Vizard. (I could resize the Vizard window until the heigth/width ratio looks decend but I'd rather it looked good in full screen). What am I doing wrong here?? Cheers, marios |
#2
|
|||
|
|||
Hi,
Are you adding the quad to the screen or the world? |
#3
|
|||
|
|||
I added it to the world....does adding it to the screen make a difference? (Perhpaps I should try it instead of asking the question )
|
#4
|
|||
|
|||
Well, I put in on the screen but still it doesn't look ok. It gives me "NOTIFY: Video texture dimensions are not power of two, using TEX_RECT instead" message as well.
m |
#5
|
|||
|
|||
Hi,
The aspect ratio of the movie will be equal the aspect ratio of the surface you apply it to. So you need to scale the quad to the correct aspect ratio of the movie.Example: Code:
quad.scale(1.7,1,1) |
|
|