[gameprogrammer] Re: Adding video to game
- From: "DARKGuy ." <dark.guy.2008@xxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Mon, 23 Apr 2007 04:31:03 -0400
If I were you, I'd make the video in a standard resolution (640x480 or
800x600) then open a fullscreen window and make a quad that covers the
entire screen (that's easy, just like drawing a sprite) and play the video
there. I don't know how to do it code-wise but that's the theory I have.
This also helps so you don't have to resize the user's screen, but this will
allow the user to play the video in any resolution since the video will play
in the quad, and 3D graphics in OpenGL get resized to the window size you
specify. I dunno if I explain myself good but I hope you can understand.
Good luck!
On 4/23/07, Husam Zakaria <hzcppff@xxxxxxxxx> wrote:
Hi every one, I need to add a video to my game, I don't care about any
format, and I'm just need to view the video in full screen mode (not need to
render it into a texture or a specific area of the screen), I'm using OpenGL
not Direct3D, if any one can guide me into any library that I can use or any
idea about it and thank you very much.
- References:
- [gameprogrammer] Adding video to game
- From: Husam Zakaria
Other related posts:
- » [gameprogrammer] Adding video to game
- » [gameprogrammer] Re: Adding video to game
- » [gameprogrammer] Re: Adding video to game
- » [gameprogrammer] Re: Adding video to game
- » [gameprogrammer] Re: Adding video to game
Hi every one, I need to add a video to my game, I don't care about any format, and I'm just need to view the video in full screen mode (not need to render it into a texture or a specific area of the screen), I'm using OpenGL not Direct3D, if any one can guide me into any library that I can use or any idea about it and thank you very much.
- [gameprogrammer] Adding video to game
- From: Husam Zakaria