Glenn Maynard
79a3a9aebc
const m_pCurAnimation
2004-08-19 08:32:18 +00:00
Glenn Maynard
6fec08bba8
move most of Model::LoadMilkshapeAsciiBones into msAnimation::LoadMilkshapeAsciiBones
2004-08-19 08:29:16 +00:00
Glenn Maynard
bbc55a3a1a
start animations in LoadPieces, but not LoadMilkshapeAsciiBones
2004-08-19 08:15:35 +00:00
Glenn Maynard
e6bc94a4af
unwrap LoadMilkshapeAsciiBones (no other changes)
2004-08-19 07:47:56 +00:00
Glenn Maynard
4f12abec26
RageModelGeometry::m_pGeometry -> m_pCompiledGeometry, to
...
differentiate from Model::m_pGeometry
2004-08-19 06:24:41 +00:00
Glenn Maynard
65c6155f29
cleanup
2004-08-19 06:22:52 +00:00
Steve Checkoway
74bfc030e4
Use RadianToDegree().
...
Cleanup braces.
#defines should never end with a semicolon since
STATEMENT
doesn't look like a complete statement (not to mention it fools editors that attempt to keep code indented correctly) and
STATEMENT;
can lead to annoying problems with things like
if (cond)
STATEMENT;
else
do_something();
since there are now two semicolons.
2004-08-19 02:35:40 +00:00
Glenn Maynard
7e26213408
simplify
2004-08-19 02:19:45 +00:00
Glenn Maynard
cf725075fe
split out DrawMesh
...
cleanup
2004-08-19 01:47:58 +00:00
Glenn Maynard
b1b4163923
cleanup, split out Model::SetBones
2004-08-19 01:08:18 +00:00
Glenn Maynard
cc5dfc9653
cleanup
2004-08-19 00:42:31 +00:00
Glenn Maynard
b0084f0951
cleanup
2004-08-19 00:16:50 +00:00
Glenn Maynard
19207b986e
cleanup
2004-08-19 00:16:02 +00:00
Glenn Maynard
c06bed290d
cleanup
2004-08-19 00:07:53 +00:00
Glenn Maynard
107b2ed53c
cleanup msMaterial
2004-08-18 06:04:53 +00:00
Glenn Maynard
f0c0a532f9
sscanf("%f") -> strtof()
2004-08-10 22:19:06 +00:00
Chris Danford
1d376f5795
add support for texture coordinate animation in AnimatedTexture
2004-08-09 00:46:42 +00:00
Chris Danford
20604f69f0
fix NoteSkin glow
2004-07-31 16:56:47 +00:00
Glenn Maynard
105b87aa9f
error check
2004-07-08 01:58:53 +00:00
Kevin Slaughter
dbc4fcc187
Speed up Cel-Shading a bit
2004-06-22 05:31:11 +00:00
Chris Danford
91aafcd4c1
move all graphics API calls into RageDisplay_*
2004-06-19 21:00:38 +00:00
Kevin Slaughter
b3f1d8f874
Added GL cel shading option for models
2004-06-18 11:02:40 +00:00
Glenn Maynard
c531e8b172
license update
2004-06-08 00:47:53 +00:00
Glenn Maynard
c0adadd3a5
IniFile cleanup
2004-05-23 02:27:51 +00:00
Glenn Maynard
ea1aab7e74
Fix character model rendering artifacts when a freeze segment lies on beat
...
0. PlayAnimation() is called, and Update() is not, so it would render without
ever calling AdvanceFrame.
2004-05-15 01:38:12 +00:00
Glenn Maynard
c8e2173282
cleanup
2004-05-15 01:31:34 +00:00
Glenn Maynard
17207ba6b5
model types
2004-05-11 20:35:21 +00:00
Glenn Maynard
1781f0148a
fix error reporting
2004-04-26 05:29:16 +00:00
Chris Danford
3963ee8501
use same zbias in D3D as OpenGL
2004-04-25 18:52:27 +00:00
Chris Danford
11c7a06e23
fix multitexture in d3d
2004-04-25 12:14:21 +00:00
Chris Danford
7cd77dc83a
fix "glow pass on models doesn't obey glow alpha"
2004-04-24 10:18:15 +00:00
Chris Danford
78a45c8158
fix Model glow pass doesn't draw with correct bone transform
2004-04-24 09:30:30 +00:00
Chris Danford
7de8269a67
pack all geometry for a Model into one set of vertex buffers
2004-04-16 05:09:02 +00:00
Chris Danford
3597e45bbc
add hardware vertex buffers for OpenGL renderer
2004-04-12 03:07:44 +00:00
Chris Danford
ef998e5e84
move vertex buffers into a separate object in perparation for HW vertex buffers
2004-04-08 08:35:38 +00:00
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