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
(added parameters) |
(added speed) |
||
Line 4: | Line 4: | ||
|'''Opcode''' | |'''Opcode''' | ||
|06 | |06 | ||
|+ | |||
|'''Speed''' | |||
|627 cycles | |||
|} | |} | ||
Revision as of 16:34, 15 July 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | 06 | ||||||
Speed | 627 cycles |
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