WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-11-2009, 02:56 AM
mustufahaider mustufahaider is offline
Member
 
Join Date: Mar 2009
Location: in Student Housing King Saud Univ
Posts: 6
Send a message via Skype™ to mustufahaider
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.
Reply With Quote
  #2  
Old 03-11-2009, 09:06 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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,...).
Reply With Quote
  #3  
Old 03-14-2009, 05:32 AM
mustufahaider mustufahaider is offline
Member
 
Join Date: Mar 2009
Location: in Student Housing King Saud Univ
Posts: 6
Send a message via Skype™ to mustufahaider
Re

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What are the options for making a movie of a Vizard world? Karla Vizard 1 05-13-2008 10:56 AM
Vizard file save as .exe urgent!!! tacbob Vizard 2 05-10-2007 01:05 AM
Is it possible to save a vizard program as (movie) a media file? ghazanfar Vizard 5 05-07-2007 10:03 AM
exe file to run on computer without vizard? tacbob Vizard 1 05-01-2007 09:40 AM
Vizard Program Problem - G-Chan Vizard 1 06-13-2005 08:29 AM


All times are GMT -7. The time now is 05:17 PM.


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