Commit Graph

109 Commits

Author SHA1 Message Date
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
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