WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   How can we add movie file to Vizard program. (https://forum.worldviz.com/showthread.php?t=1899)

mustufahaider 03-11-2009 02:56 AM

How can we add movie file to Vizard program.
 
I have added a movie in the format of mpg. but only sound is coming and an error was there :

Warning: TextureRectangle::apply(..) failed, texture rectangle is not support by your OpenGL drivers.

I have wriiten this code for adding movie:
if key == 'm':
mymovie = viz.add('sami1.mpg')
mymovie.loop(viz.ON)
mymovie.play()
screen.texture(mymovie)

I have a file sami1.mpg in its resource folder.
Please tell me the possible solutions.

Thanx in advance.

farshizzo 03-11-2009 09:06 PM

This means you either have a low-end or very old graphics card. Make sure your graphics driver is up to date. If you still have this problem, then you can work around the issue by resizing your video dimensions to a power of two (16,32,64,128,...).

mustufahaider 03-14-2009 05:32 AM

Re
 
Thanx 4 reply but can u tell me how we can change the video size for making it to the powers of 2 .


All times are GMT -7. The time now is 10:56 PM.

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