Chris Danford
12185dfd0d
revert order to fix env mapping (not sure why yet)
2005-04-26 20:18:51 +00:00
Chris Danford
0ec148b4f0
fix multipass path doesn't clear 2nd texture unit if model doesn't have 2nd material
2005-04-26 08:11:30 +00:00
Chris Danford
35251bb25b
load Models from XML (alternative to a .model file)
2005-04-01 23:46:45 +00:00
Chris Danford
fbd9c73df3
Collapse paths from .model files.
2005-03-11 06:10:52 +00:00
Chris Danford
4a2499b0fb
fix Model doesn't obey m_bTextureWrapping
2005-02-27 08:31:41 +00:00
Glenn Maynard
36b99323fb
Validate material indices, so we don't crash if a mesh references material 9999.
2005-02-10 02:40:56 +00:00
Glenn Maynard
e3cff6e666
support TexOffsetX, TexOffsetY
2005-02-01 02:32:22 +00:00
Chris Danford
68dd253720
use templated classes instead of macros for easier debugging
2005-01-31 08:05:27 +00:00
Chris Danford
8555a6da45
use Lua to execute commands
...
(needs cleanup)
2005-01-26 11:21:43 +00:00
Glenn Maynard
1d3613f161
for real this time :)
2005-01-22 03:39:39 +00:00
Chris Danford
a3ed21da36
turn off sphere mapping on tex unit 0 after rendering
2005-01-21 06:14:20 +00:00
Chris Danford
5c79ac4196
pass bNeedsNormals into RageCompiledGeometry
2005-01-14 10:23:22 +00:00
Glenn Maynard
32bb778e22
support multipass env mapping for systems without multitexturing
2005-01-04 05:38:44 +00:00
Chris Danford
ed19821e09
rename: ActorCommand -> Command
...
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Chris Danford
6c855f0c93
"ParsedCommand" -> "ActorCommand"
2004-11-06 20:42:09 +00:00
Chris Danford
2c314df898
HandleParams -> BeginHandleParams
2004-11-06 03:09:29 +00:00
Chris Danford
03fbb915f3
remove VC6 scoping hacks
2004-09-21 07:53:39 +00:00
Glenn Maynard
1fd8e8dd1e
try to avoid ClearZBuffer()
2004-09-20 02:43:04 +00:00
Glenn Maynard
971279f1af
Fix (more) character model rendering artifacts when a freeze segment
...
lies on beat 0: m_pTempGeometry was not being set up
2004-09-17 01:32:57 +00:00
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