Commit Graph

54 Commits

Author SHA1 Message Date
Chris Danford 9ca4de158f optimization: don't make a temp copy of vertices if the model has no bones 2004-02-08 04:58:43 +00:00
Glenn Maynard 2847fe01a6 fix warnings 2004-02-05 23:42:38 +00:00
Chris Danford 9502f1c262 draw models with 2 textures with multitexture instead of 2 passes. D3D multitexture not tested yet 2004-02-04 09:55:18 +00:00
Chris Danford 68ff50636d add 2-pass support for models 2004-01-28 08:53:40 +00:00
Chris Danford 837831284d throw on model errors and don't fail silently 2004-01-21 06:19:43 +00:00
Chris Danford 81a1cf8378 throw if texture fails to load 2004-01-20 03:31:53 +00:00
Chris Danford 48f89592f9 make model obey Actor diffuse color, not just diffuse alpha 2004-01-12 02:57:26 +00:00
Chris Danford f7647ae391 add pre-parsing for ActorCommands (though not yet used in ThemeManager) 2004-01-10 20:34:18 +00:00
Chris Danford 882406afe8 add spherical environment mapping 2004-01-06 19:54:13 +00:00
Chris Danford 5339f4f920 add glow support to Model 2003-12-24 21:07:50 +00:00
Chris Danford e3cc4e3ff5 cleanup Model, remove MathUtil files, fix col major/row major errors 2003-12-24 12:30:41 +00:00
Glenn Maynard ca165c9b14 simplify 2003-12-20 04:07:09 +00:00
Glenn Maynard edff059dbd partially migrate away form mathlib 2003-12-20 03:54:21 +00:00
Glenn Maynard 31f9887195 use RageFile 2003-12-04 23:05:23 +00:00
Glenn Maynard 6af78b668e compile fix 2003-12-02 20:46:21 +00:00
Glenn Maynard bd7916d363 error output 2003-12-02 19:12:57 +00:00
Glenn Maynard e21f149d3b separate Z-write and Z-test flags 2003-11-18 20:33:18 +00:00
Glenn Maynard ba954972e2 Add rudimentary animation control command to models. 2003-11-02 23:29:21 +00:00
Glenn Maynard 30686e64b3 use Dirname 2003-10-29 20:23:38 +00:00
Chris Danford 3b6835cedf overflow fixed on char array szName 2003-10-21 05:14:21 +00:00
Chris Danford 8ac398d192 optimize Actor::BeginDraw 2003-10-07 04:26:14 +00:00
Chris Danford cda57e7c5d fix Model bugs exposed by use in NoteDisplay 2003-09-23 05:39:24 +00:00
Chris Danford dba1188c97 remove .model file format, replace with more general .actor file format 2003-09-21 20:57:07 +00:00
Glenn Maynard 519d6c80b6 Warn for missing textures. 2003-09-16 01:12:20 +00:00
Thad Ward b01f17894c Fix slashes for safety. 2003-09-01 11:21:12 +00:00
Thad Ward ea458a443d Fix the blinking characters in the BeginnerHelper.
(why was this return here? we need to set up the first frame after reverting to the default animation.)
remove m_sMostRecentAnimation, as it is not needed at all.
2003-08-31 11:47:05 +00:00
Thad Ward b9e15589dd Add support for playing specific animations at a different rate, scaled from the update rate. 2003-08-31 08:15:52 +00:00
Kevin Slaughter b170ddaf5f Fixed model flickering, which was also making the BH miss steps when it was trying to restart the default animation. 2003-08-28 06:36:33 +00:00
Thad Ward 81d46e3178 gah. someone shoot me. I missed another. this is the last one. 2003-08-27 12:35:50 +00:00
Thad Ward 34b602d688 oops. missed a couple of things I needed to remove. 2003-08-27 12:34:47 +00:00
Thad Ward 9276a68a0d when the current animation is the same as the one we are asked to play, don't bother copying the bones in again, just reset the current frame. 2003-08-27 12:24:10 +00:00
Chris Danford 00a107ad70 fix Model animations not looping 2003-08-23 19:32:35 +00:00
Chris Danford 859ace0201 fix slashes and collapse path when loading a texture in Model 2003-08-23 19:10:05 +00:00
Kevin Slaughter 82a8340afd Added ability to skip to frame xx in the current animation. Used in HowToPlay. Also allows an animation freeze, if re-iterated 2003-08-20 09:15:53 +00:00
Chris Danford 35950c4eaf Add prefs for logging. Don't throw if can't open log file. Remove Ragefopen and Rageifstream (they aren't needed). 2003-08-13 04:40:23 +00:00
Kevin Slaughter adc19d0a15 Updated ScreenHowToPlay code to include dancer. I know it's a bit rough and too-fast paced right now, but that will all be fixed tonight when I get home and re-commit. 2003-07-31 11:31:24 +00:00
Chris Danford 278cb4c3f1 runs on Xbox 2003-07-22 07:47:27 +00:00
Chris Danford 8158ca8770 compiles on Xbox (still a CRT linking error though) 2003-07-11 03:15:28 +00:00
Chris Danford cff3a1e0b1 fix file handle leak in Model 2003-07-10 18:24:30 +00:00
Chris Danford c67d78d948 let Actor subclasses have first crack at parsing commands
allow Models and BitmapTexts in BGAnimationLayer (detected through file extension)
add RageModelVertex, which doesn't have a color property
add "stretch" file name hint for textures
2003-07-07 01:29:18 +00:00
Chris Danford 739cc6d38b support loading of multiple animations in a Model 2003-06-07 18:09:20 +00:00
Chris Danford bf77ee902f fix DrawIndexedTriangles bug that caused uninited verticies to be drawn 2003-06-07 11:54:44 +00:00
Chris Danford 02016ae442 Reorganize RageDisplay
Add Direct3D renderer (separate project configuration)
Add Xbox project config (doesn't yet compile)
2003-05-22 05:28:37 +00:00
Chris Danford 54bedc3eba clean up RageDisplay methods, add ability to mask song banner
The masking uses the Z-buffer under the assumption that some cards don't have a stencil.  Should we be using the stencil instead?  It doesn't really matter because we never need both the Z buffer and stencil buffer simultaneously.
2003-05-15 06:09:19 +00:00
Chris Danford 5c9710f155 fix VC7 compile errors 2003-05-11 08:19:24 +00:00
Chris Danford dd8331d9fc add support for models in NoteSkin 2003-05-11 07:23:47 +00:00
Chris Danford 6150d3f2c2 fix stupid scale by 0 2003-05-09 04:55:48 +00:00
Chris Danford c04b5b993b add Model to NoteDisplay 2003-05-09 04:42:04 +00:00
Glenn Maynard 60a13f806d Fix some type mismatches that cause stack corruption in VC7.
Never memset(0) a non-POD type (eg. a vector).
2003-05-06 21:10:21 +00:00
Chris Danford 9e420233d5 fix VC7/GCC compile error 2003-05-05 01:01:22 +00:00