Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New Listerplugin: mdlviewer (beta) for Half-Life .mdl's

 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
Jonas
Senior Member
Senior Member


Joined: 27 May 2003
Posts: 325
Location: Germany

PostPosted: Thu Aug 28, 2003 9:33 am    Post subject: New Listerplugin: mdlviewer (beta) for Half-Life .mdl's Reply with quote

Hi,

I played around with the TC and Half-Life SDK and managed it to warp the HL-Modelviewer into a TC-Listerplugin. It's not perfect yet, but it supports the basics like move, rotate, zoom your .mdl and skip Animation forward/backward
It works for all models made for the HL-engine, so also for the lot of mod's such as Counter-Strike, Day of Defeat, etc.

Two main issues that I didn't managed to fix:
-) The animation play only while the 'a'-Key is pressed.
-) When multiple mdlviewers open, you can only interact with the last.
You can look at the source, perhaps you get the clou.

Take a look (.jpg, 133k)
wlx_mdlviewer (.zip, 33k)
source (.zip, 25k)


Last edited by Jonas on Thu Oct 16, 2003 10:21 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 17794
Location: Switzerland

PostPosted: Fri Aug 29, 2003 7:09 am    Post subject: Reply with quote

Wow, nice! Can you give us some links where to get sample mdl files, please?
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Jonas
Senior Member
Senior Member


Joined: 27 May 2003
Posts: 325
Location: Germany

PostPosted: Fri Aug 29, 2003 10:31 am    Post subject: Reply with quote

Here are 2 Models (.zip, 660k)

I've discoverd 2 more bugs:
-) Sometime the window stays blank after loding the .mdl But after the first event that requires a repaint, all is normal again
-) Some .mdl-Files are compiled with external textures (in a file called '<modelname>t.mdl') if these could't be loaded, the plugin quits and takes the TC with it!

Perhaps I can fix it during the next few days...
Back to top
View user's profile Send private message Visit poster's website
Strogg
Junior Member
Junior Member


Joined: 24 Aug 2003
Posts: 67
Location: Georgia

PostPosted: Sun Aug 31, 2003 11:52 am    Post subject: Reply with quote

Cool!
It is a great gift to all CS - Half-life fans! Thanks a lot!

It would be great if you add an possibility to save viewed textures as an *.bmp or *.jpg graphical files!
Back to top
View user's profile Send private message Send e-mail
Jonas
Senior Member
Senior Member


Joined: 27 May 2003
Posts: 325
Location: Germany

PostPosted: Sun Aug 31, 2003 12:00 pm    Post subject: Reply with quote

I'll try to add all the features of the HLMV (by Mete, the Milkshape3D-author) which I've extendet a bit.
a Pic
Download
But this will take a while.....
Back to top
View user's profile Send private message Visit poster's website
Jonas
Senior Member
Senior Member


Joined: 27 May 2003
Posts: 325
Location: Germany

PostPosted: Mon Sep 08, 2003 2:06 pm    Post subject: Reply with quote

New Version!
Animation is now playing automaticly (it's not nessesary to hold 'a' down any more!).
's' lets the animation freeze and while frozen you can use 'a' to advance 100ms in the currend animation ('A' to rewind).
Also new are different rendermodes. Press 'r' to cyrcle wireframe, flat-, smoothshaded and textured.

Now it's in a quite usable state. But be careful, these bugs are remaining:
-) When multiple mdlviewers open, you can only interact with the last.
-) Some .mdl-Files are compiled with external textures (in a file called '<modelname>t.mdl') if this could't be loaded, the plugin quits and takes the TC with it!

wlx_mdlviewer (.zip, 33k)
source (.zip, 25k)
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group