We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
DSP1/Project: Difference between revisions
From SnesLab
(moved table up) |
(added parameters) |
||
Line 6: | Line 6: | ||
|} | |} | ||
'''Project''' is a DSP1 command that calculates where an object in 3D space should appear on the screen. | '''Project''' is a [[DSP1]] command that calculates where an object in 3D space should appear on the screen. | ||
=== Input Parameters === | |||
* '''X''' is a coordinate | |||
* '''Y''' is a coordinate | |||
* '''Z''' is a coordinate | |||
=== Ouptut Parameters === | |||
* '''H''' is the horizontal screen coordinate | |||
* '''V''' is the vertical screen coordinate | |||
* '''M''' is the enlargement ratio | |||
=== References === | === References === |
Revision as of 05:09, 15 July 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | 06 |
Project is a DSP1 command that calculates where an object in 3D space should appear on the screen.
Input Parameters
- X is a coordinate
- Y is a coordinate
- Z is a coordinate
Ouptut Parameters
- H is the horizontal screen coordinate
- V is the vertical screen coordinate
- M is the enlargement ratio
References
- page 3-5-18 of Book II of the official Super Nintendo development manual
External Links
- video of rings in Pilotwings rendered using the help of the Project command: https://youtu.be/YmEKjqgEGpE?t=894