News:

PlayBASIC2DLL V0.99 Revision I Commercial Edition released! - Convert PlayBASIC programs to super fast Machine Code. 

Main Menu

Quake MD2 animation test

Started by kevin, August 13, 2009, 11:01:46 PM

Previous topic - Next topic

kevin


Quake MD2 animation test V0.01


   Had the urge to try and write MD2 model loader/render for PB this morning.  Turns out to be pretty simple.. The picture bellow shows a couple of animated dragon models being rendered with alpha blending to make it a little bit more interesting.  Even though the demo is written in PlayBasic V1.64j and the code is pretty ugly, it still runs pretty well considering.

    I'll post a demo later :)




kevin

#1
     Quake MD2 animation test V0.02

      This little example loads a MD2 model (ID softwares Quake2 model format) and renders the model on screen (using TextureTri) with animation.  The demo has various key controls to set the rendering mode and you can rotate using the arrow keys.  


 Demo Controls:

               Arrows = Control object rotation

                   F1 = Toggle Filtering (Bilinear filtering)

                   F2 =  Set texture drawing to "solid"
                   F3 =  Set texture drawing to "Alpha50"
                   F4 =  Set texture drawing to "Alpha add"
                   F5 =  Set texture drawing to "Alpha Subtract"

                  ESC = EXIT DEMO


 Download:

  Quake MD2 Loader Test V0.02b (login required)



 Video:

     




ATLUS


monkeybot

nice one,very smooth.

have you managed to get anyone working on an IDE yet?
whatever happened to Empty? was he abducted by aliens?

kevin

#4
Quotehave you managed to get anyone working on an IDE yet?

     nope.  Volunteering are we ? :)

Quotewhatever happened to Empty? was he abducted by aliens?

     he joined the cult of people who work for a living :)


monkeybot

i would love to,but i just don't have the time unfortunatley

Makeii Runoru

I'd help, but I don't know how -_-
This signature is boring, and could be improved. However, the user of this signature doesn't need a fancy signature because he or she doesn't really care for one.

Scott_Bro

Hey Kevin!

How's life? Just looking around at things a bit.
I love this demo.  I can't seem to find the source code. Can I get a copy?
I see other places where there is .md2 but not like this one.
The others are static while this one is animations.

That's what makes this one stand out!

Also do you have any other model loaders available?
We were working on one for DirectX a .X file loader can you point the way?

And one last request don't know if you got any that are not here obvious?

Thanks
Your friend,
Scott.