Commit Graph

65 Commits

Author SHA1 Message Date
Glenn Maynard 673dfb6b75 fix warnings 2004-04-05 22:43:16 +00:00
Chris Danford 957b03f325 optimize meshes where all vertices are associated with the same bone 2004-04-05 10:05:15 +00:00
Steve Checkoway 20a8bab45c Clean up includes. 2004-04-05 05:22:32 +00:00
Thad Ward 61dd2dd425 quiet a very noisy trace message. 2004-03-11 03:08:02 +00:00
Chris Danford 53f23a32db process Model temp vertices on update - not on every draw 2004-03-01 10:19:07 +00:00
Chris Danford ed5e7b3e75 fix model animation/looping glitches
turn backface culling on by default for models
2004-03-01 10:11:45 +00:00
Glenn Maynard 7bc279d0c1 cleanup, comment 2004-02-23 00:23:52 +00:00
Chris Danford 10a4580c12 remove Actor::Fade*, remove unnessary virtuals in Actor 2004-02-14 03:38:34 +00:00
Chris Danford e28cdd3d6d fix AV when drawing Model glow pass for Model that doesn't isn't using temp vertices 2004-02-08 20:42:50 +00:00
Chris Danford 69769b2c74 support sharing of geometry between Models 2004-02-08 11:17:03 +00:00
Chris Danford 4106625ad3 split Model into ModelGeometry and materials+animations
single-instance Model geometry
2004-02-08 09:04:23 +00:00
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