Ian Curtis
9eeb81ac69
same fix for legacy engine
2016-10-08 12:10:47 +00:00
Ian Curtis
c472d90fb9
Fix the sky in advanced stage in Dirt Devils. It uses a massive (for 1998 :p) 1024x256 texture.
2016-10-06 20:10:45 +00:00
Bart Trzynadlowski
9a49fefe12
Legacy engine: fixed texture offsets (VON2 was broken by last commit). Texture coordinates are wrapped within the bank first and then the bank can be swapped. This also allows the full range of texture coordinate bits to be used as specified in the Pro-1000 SDK.
2016-05-30 19:18:11 +00:00
Bart Trzynadlowski
d1f49675b1
Legacy engine: Culling node texture Y offset is only 5 bits (fixes Sega Rally 2 initials decal)
2016-05-29 20:49:28 +00:00
Bart Trzynadlowski
0ebb8d5d47
Legacy engine: Added stencil buffering for layered models and shadows. Not as accurate as new engine because stencil buffering is applied per-model rather than per-polygon, so the entire model must consist of stencil-tested polygons. In practice, though, this seems to work fine.
2016-05-28 19:52:30 +00:00
Bart Trzynadlowski
897b1acb21
Legacy renderer changes:
...
- Updated shading model. Unfortunately, it is far from perfect but it seems to be the best I can do for now. Not really much of a difference from before except that the Scud Race castle is fixed at the expense of the Yosemite level in LA Machineguns being too bright.
- Added lots of notes in the shading code.
- Passing both specular coefficient and shininess to shader. This will probably break specular lighting for now until the shader is updated to use the shininess correctly.
- Color table address in polygon RAM is now obtained from culling nodes as they are traversed (found this in the Pro-1000 SDK).
2016-05-14 06:25:35 +00:00
Bart Trzynadlowski
c0ec610e99
Polygon header bit analysis code (need to #define DEBUG and use -gfx-state option)
2016-04-27 04:09:50 +00:00
Ian Curtis
a5301efed6
avoid cast warning
2016-04-17 00:02:16 +00:00
Bart Trzynadlowski
34d4d8981d
Fixed 8-bit texture decoding in legacy 3D engine. Contour mode/alpha still needs to be made consistent (as much as possible) with new engine.
2016-04-15 04:26:42 +00:00
Bart Trzynadlowski
faf5f9cf48
Added a comment about viewports
2016-04-04 04:31:26 +00:00
Ian Curtis
8ea5978093
fix parenthesis error
2016-03-22 21:59:51 +00:00
Ian Curtis
93f6b01e0b
Update project to vs 2013. Clean compile warnings
2016-03-22 12:30:23 +00:00
Bart Trzynadlowski
3627213577
Fixed compiler warnings, whitespace, and moved local variable declarations to site of assignment
2016-03-22 03:43:31 +00:00
Bart Trzynadlowski
34301e97e1
Adding new 3D engine by Ian Curtis. Old engine moved to Graphics/Legacy3D/.
2016-03-21 04:10:14 +00:00