Log in or register to post comments

How to load video texture in QCAR

March 16, 2011 - 6:02pm #1

Hello, i have a question as: i have a video file(avi,mp4...), how to get frames from this video to load as video texture in a box, or polygon.Please share me some keys for doing this.
Thanks

Re: How to load video texture in QCAR

March 18, 2011 - 9:38am #3

You could pre-exctract all the frames from your video into a big texture and move the texture over the surface of a plane.

Re: How to load video texture in QCAR

March 16, 2011 - 8:28pm #2

If you are just trying to display the video in 2D on the screen I would use the Android APIs. Look at their MediaPlayer class, for instance.

If you are trying to render video in 3D space, I'm afraid I won't be able to help. You'll want to search for an OpenGL ES solution, I have a feeling this won't be trivial to write on your own.

- Kim

Log in or register to post comments