UnderwareDESIGN

PlayBASIC => 3D Development => Topic started by: kevin on August 13, 2009, 11:01:46 PM

Title: Quake MD2 animation test
Post by: kevin on August 13, 2009, 11:01:46 PM

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 :)



Title: Quake MD2 animation test V0.02
Post by: kevin on August 14, 2009, 11:10:46 AM
     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:

  [plink]Quake MD2 Loader Test V0.02b (http://www.underwaredesign.com/files/demos/Quake_Md2_Loader_V002b.zip)[/plink]



 Video:

     



Title: Re: Quake MD2 animation test
Post by: ATLUS on August 14, 2009, 11:31:21 AM
great job 8)
Title: Re: Quake MD2 animation test
Post by: monkeybot on August 16, 2009, 07:05:17 AM
nice one,very smooth.

have you managed to get anyone working on an IDE yet?
whatever happened to Empty? was he abducted by aliens?
Title: Re: Quake MD2 animation test
Post by: kevin on August 16, 2009, 10:15:50 AM
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 :)

Title: Re: Quake MD2 animation test
Post by: monkeybot on August 18, 2009, 07:00:27 AM
i would love to,but i just don't have the time unfortunatley
Title: Re: Quake MD2 animation test
Post by: Makeii Runoru on October 26, 2009, 11:59:25 AM
I'd help, but I don't know how -_-
Title: Re: Quake MD2 animation test
Post by: Scott_Bro on May 10, 2019, 05:38:19 AM
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.