HiTEL 게제동(GMA) 공개자료실

[QUAKE] CRUSHER MD2 MODEL VIEWER
작성자:강훈석(bening)
99-01-05
첨 부:[3230]crush-v1.zip
┌───────────────────────────────┐ │ [7m OS 환경 : WINDOWS PC 환경 : 기타 [0m │ │ [7m RAM : 기타 공개여부 : 공개 [0m │ └───────────────────────────────┘ 퀘이크 2용 모델 뷰어인데 퀘이크 2가 없어서 해보진 못했습니다. Name: Crusher md2 Model Viewer Filename: crush-v1.zip Version: 1.00 Date: August 4, 1998 Author: Tom Conder Email: blitz@gazpac ho.net Website: http://www.gazpacho.net/ CREDITS id Software, for giving us Quake 2 and releasing part of the game source code Mike Abrash, for writing the Dr Dobbs Journal article about frustum clipping. I used this code as a reference while figuring out Windows DIBs. Trey Harrison, for writing his Glide md2 model viewer and releasing the source code. Jawed Karim, for writing an excellent Dr Dobbs Journal article about his OpenGL md2 model viewer Tony Cox, Vinnie Falco, Gil Gribb, Raymond Chen and many other posters on the Angelic-Coder's DirectX Developers mailing list. Many of the postings hit home when I started writing this program. Tom Etavard and Shawn Crain, for beta testing. Good ideas were exchanged and bugs were squashed. Thanks! DESCRIPTION This is a Quake 2 md2 model viewer. INSTRUCTIONS Use the left and right arrows to step and back through the frames. Press and hold the left mouse to rotate the model. TODO fix poly-on-model clipp ing problem caused by CompareMinZ() load models from pak files ? port to DirectX ? port to Linux/GTK ? compile as ActiveX control for VB VERSIONS ver 1.00 cleaned up the comments fixed initial dir right mouse button pans the model beta 0.05 saves and loads the last loaded model and texture shows skin name in window title shows model name in window title loads a 'default' texture if first texture is invalid added clipping to window scales the model when win dow is resized adjusts background when window is resized loads first texture correctly beta 0.04 added 256 color palette support model is now passed as parameter beta 0.03 loads first texture found on model load made model and texture selection more obvious fixed loading of initial model and texture now actually uses registry settings (duh!) beta 0.02 loads frame names loads/saves values in the registry added browse button to settingsdialog box fixed the crakhor/female model problem checks choosen texture height and width beta 0.01 fixed key accelerators fixed UI to load PCX texture map fixed UI to load md2 model use StretchBlt to adjust to resize? too slow! COPYRIGHT/PERMISSIONS Quake 2 is a registered trademark of id Software, Inc. Crusher source code is Copyright (C) 1998 Tom Conder <blitz>. All rights reserved BY USING ANY PORTION OF THIS SOFTWARE, YOU AGREE TO THE FOLLOWING TERMS AND CONDITIONS: T om Conder, "THE AUTHOR", grants you, "THE USER", a non-exclusive, royalty free, license to use this software in source and binary code form, provided the user does not utilize the software in a manner which is disparaging to the author and the user acknowledges the author in any derivative work. This software is provided "AS IS," without a warranty of any kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. THE AUTHOR SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY THE USER AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL THE AUTHOR BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF THE AUTH OR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. </blitz>