|
|
GameWeave Source Examples
AVI Player
|
So here it is... This is a pathetically simple implementation of
an AVI file reader/viewer for Jet3D. I had to painfully divorce
this class from my shell so it took some time to clean up an
isolate the functionality I needed. Be aware that I have done
very little error checking, and there is no control over the
frame rate. These things should be relatively easy to implement
as well as audio, which I left out because I do not use it.
Please excuse the hackish code, I really threw this together
quickly; I didn't have time to really do it right. To compile
the example you will need to make the following header files
available:
jet\src\jet\JetEngine\Bitmap\Bitmap.__h
jet\src\jet\JetEngine\Support\ThreadQueue.h
jet\src\jet\JetEngine\Engine\Drivers\Dcommon.h
jet\src\jet\JetEngine\Bitmap\Compression\Wavelet.h
They are not in the jet/include directory.
The example is a windowed Jet3d application, that displays
a simple 128X128 16bpp AVI file that has 8 frames and no audio.
Everything is pretty much hard coded to just pop the window
up and display the AVI frames as fast as the render loop will
run. As I only had a couple of hours to put this together I'm
sure there are some bugs and some confusing code. Please
feel free to email me at:
alphadog@binaryrevelations.com
Or just post on the Jet3d Forum.. I'm always there...:)
|
Get it!! [57kb]
|
Object Factory Code
|
***THIS IS A PRIVATE DOWNLOAD.. A PASSWORD IS REQUIRED***
Here is the code for the object factory.. Just the start of it for testing... Just run it, click on go, and look at the results..
|
Get it!! [20kb]
|
|
|
|