Narann
Graphic programming enthusiast
As you maybe know, N64 has a stack of 10 modelview matrices and one single projection matrix.
Gathering informations here and there, it's not clear how the N64 react when you try to push a matrix in the projection matrix. Most informations say about the perspective matrix that you can load and multiply but you "can't" push or pop.
Reading some emulator code comments, it seems some games try to do that (Extreme-G). So we have two situations possible:
1) The plugin author is wrong and Extrem-G don't try to push anything in the perspective stack.
2) You can push persp matrix on the N64 hardware and it will react like a load. You can pop matrix and it will empty (or leave?) the perspective matrix from the single-element-stack.
So now we have kind of cycle accurate emulator and guys with high N64 hardware knowledge here I want to know your opinion about this.
What is the truth about this?
Thanks in advance!
Gathering informations here and there, it's not clear how the N64 react when you try to push a matrix in the projection matrix. Most informations say about the perspective matrix that you can load and multiply but you "can't" push or pop.
Reading some emulator code comments, it seems some games try to do that (Extreme-G). So we have two situations possible:
1) The plugin author is wrong and Extrem-G don't try to push anything in the perspective stack.
2) You can push persp matrix on the N64 hardware and it will react like a load. You can pop matrix and it will empty (or leave?) the perspective matrix from the single-element-stack.
So now we have kind of cycle accurate emulator and guys with high N64 hardware knowledge here I want to know your opinion about this.
What is the truth about this?
Thanks in advance!