Tony Wasserka
04cd06d5c2
Pica/TextureEnvironment: Add support for the MAD-like texture combiners and clean up texture environment logic.
11 years ago
Tony Wasserka
087edcfbec
Pica/OutputMerger: Fix flipped framebuffers.
11 years ago
Tony Wasserka
6ca752ccbc
Pica/TextureUnit: Implement mirrored repeating texture wrapping.
11 years ago
Tony Wasserka
8bd7a896ea
Pica: Fix a bug in the register definitions, relating to texture wrapping.
11 years ago
Tony Wasserka
aaf30ca4ee
Pica/OutputMerger: Implement color format checking.
11 years ago
Tony Wasserka
3b5710bae6
Pica/Rasterizer: Rasterize actual pixel centers instead of pixel corners.
11 years ago
Tony Wasserka
3cb22d31a7
Pica/Rasterizer: Fix garbage pixels at triangle borders.
11 years ago
Tony Wasserka
638b370fb5
Pica/Rasterizer: Clean up and fix backface culling.
11 years ago
Tony Wasserka
365236fa4c
Pica: Cleanup clipping code and change screenspace z to range from -1..0.
The change in depth range seems to reflect better to what applications are expecting, and makes for cleaner code overall (hence is more likely to reflect hardware behavior).
11 years ago
Darius Goad
5db62cc758
Fix Min and Max blend equations
11 years ago
archshift
ef24e72b26
Asserts: break/crash program, fit to style guide; log.h->assert.h
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time)
As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing)
Also removed some GEKKO cruft.
11 years ago
Darius Goad
536958fb29
Add more blend equations from 3dbrew
11 years ago
bunnei
1eb591d6fd
Rasterizer: Implement the other color and alpha modifiers.
11 years ago
bunnei
72cc512b1e
Pica: Implement blend factors.
11 years ago
bunnei
b522cf4e6a
Pica: Implement color/alpha channel enable.
11 years ago
bunnei
b2c55bf772
Rasterizer: Implemented alpha testing.
11 years ago
bunnei
ff83d23ed5
GPU: Implement the remaining depth testing functions.
11 years ago
Tony Wasserka
bc187be0c1
Pica/Rasterizer: Remove some redundant casts.
11 years ago
Tony Wasserka
9675d19b47
Pica/Rasterizer: Make orient2d a free function and rename it to SignedArea.
11 years ago
Tony Wasserka
d13bd327ba
Pica/Rasterizer: Fix a bug related to multitexturing and texture wrapping.
11 years ago
Tony Wasserka
195d73a385
Pica/Rasterizer: Clean up long code lines.
11 years ago
Tony Wasserka
0f49424022
Pica/Rasterizer: Implement backface culling.
11 years ago
Tony Wasserka
3b78af904e
Pica/Rasterizer: Textures seem to be laid out flipped vertically.
Not sure if this is a correct fix. Probably should instead change the decoding logic itself.
11 years ago
Tony Wasserka
a7ae0330b1
Pica/Rasterizer: Implement alpha blending.
11 years ago
Tony Wasserka
e229ff8c83
Pica/Rasterizer: Implement depth testing.
11 years ago
Tony Wasserka
77bb58afeb
Pica/Rasterizer: Further enhance Tev support.
11 years ago
Yuri Kunde Schlesner
8369ee5803
Rasterizer: Pre-divide vertex attributes by W
Execute the division-by-W for perspective-correct interpolation of
values in the clipper, moving them out of the rasterization inner loop.
11 years ago
Yuri Kunde Schlesner
2012e1420f
Rasterizer: Common sub-expression elimination
Move the computation of some values out of loops so that they're not
constantly recalculated even when they don't change.
11 years ago
purpasmart96
ebfd831ccb
License change
11 years ago
Tony Wasserka
e4e9710d18
Pica/Rasterizer: Get rid of C-style casts.
11 years ago
Tony Wasserka
40f123b7c0
Pica: Unify ugly address translation hacks.
11 years ago
Tony Wasserka
7e210e0229
Pica: Further improve Tev emulation.
11 years ago
Tony Wasserka
3df88d59b0
Pica: Merge texture lookup logic for DebugUtils and Rasterizer.
This effectively adds support for a lot texture formats in the rasterizer.
11 years ago
Tony Wasserka
0fba1d48a6
Pica: Implement texture wrapping.
11 years ago
Tony Wasserka
fd2539121c
Pica: Initial support for multitexturing.
11 years ago
Yuri Kunde Schlesner
0600e2d8b5
Convert old logging calls to new logging macros
11 years ago
Lioncash
eb5054e6eb
Fix warnings in video_core
11 years ago
bunnei
20d169e4a1
VideoCore: Fixes rendering issues on Qt and corrects framebuffer output size.
11 years ago
Tony Wasserka
a79644c9ba
Pica/Rasterizer: Clarify a TODO.
11 years ago
Tony Wasserka
9679d231df
Pica/Rasterizer: Add texturing support.
12 years ago
Tony Wasserka
27cab6477e
Pica/Rasterizer: Add initial implementation of texture combiners.
12 years ago
Tony Wasserka
162d641a30
Pica/Math: Improved the design of the Vec2/Vec3/Vec4 classes and simplified rasterizer code accordingly.
- Swizzlers now return const objects so that things like "first_vec4.xyz() = some_vec3" now will fail to compile (ideally we should support some vector holding references to make this actually work).
- The methods "InsertBeforeX/Y/Z" and "Append" have been replaced by more versions of MakeVec, which now also supports building new vectors from vectors.
- Vector library now follows C++ type promotion rules (hence, the result of Vec2<u8> with another Vec2<u8> is now a Vec2<int>).
12 years ago
Tony Wasserka
94d742fe17
Pica: Add basic rasterizer.
12 years ago