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 microseconds) |
(→References: subparagraph) |
||
Line 23: | Line 23: | ||
=== References === | === References === | ||
* [https://archive.org/details/SNESDevManual/book2/page/n308 page 3-5-18 of Book II] of the official Super Nintendo development manual | * subparagraph 5.4.3 on [https://archive.org/details/SNESDevManual/book2/page/n308 page 3-5-18 of Book II] of the official Super Nintendo development manual | ||
=== External Links === | === External Links === |
Revision as of 03:54, 4 January 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | 06 | ||||||
Speed | 627 cycles
82.5 μs |
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
- subparagraph 5.4.3 on 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