Comments (4)
The current code uses the second nibble of the command to get the number of triangles.
As you can see, in command 0x05110020, it is also 2.
I checked, for command cmd, the second nibble is always equal to the sixth nibble + 1:
((cmd>>20)&15)+1) == ((cmd>>4)&15)
But if the ucode actually uses value of the sixth nibble, ok.
if 0, texturing is set off.
if 1, texturing is set on
I was not used. I added that code.
The rest is already implemented exactly as you described, see gSPDMATriangles function.
Fixed in commit b021d8e.
I don't expect any changes in Mickey Speedway USA and JFG, which use that ucode.
from gliden64.
Super :)
I am going through the whole ucode actually. Interesting code, mainly when it comes to matrix and vertex.
There is not much difference with current implementation but there is some details which we can add, even if it won't lead i guess to much changes :)
from gliden64.
actually DKR has exactly the same code for gSPDMATriangles. No distinction should be made here so between DRK and JFG.
from gliden64.
actually DKR has exactly the same code for gSPDMATriangles. No distinction should be made here so between DRK and JFG.
Done.
from gliden64.
Related Issues (20)
- question about buffer swap HOT 2
- Weird bug – Not displaying blue but only when using "paint" overlay? HOT 2
- PGA Eropean Tour: gauge STILL not working properly HOT 28
- segmentation fault when building with -DX86_OPT=ON HOT 1
- Blank video output with Mupen64plus (GLES2/Raspberry Pi) HOT 13
- Crash with strong CRC HOT 7
- Drop of FPS and audio stuttering when opening GlideN64 Menu on Project 64 ingame HOT 1
- Flying dragon : incorrect gfx (HLE issue) HOT 3
- CBFD: broken HOT 4
- Superbowling broken HOT 3
- superman prototype: gfx issue
- taz express: broken HOT 1
- Turok 2 - Huge framerate drop with some weapons HOT 6
- Tom Clancy Rainbow Six - Address not masked? HOT 2
- Pokemon Puzzle 3D puzzle issue HOT 2
- game is cut off when capturing sm64 with obs
- Compiling with NOHQ is broken HOT 1
- bottom of the 9th: no more jpeg HOT 1
- MSAA crashes emulator on Google TV
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gliden64.