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
From SnesLab
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
- https://github.com/bsnes-emu/bsnes/blob/master/bsnes/sfc/coprocessor/dsp1/dsp1emu.cpp#L1123
External Links
- video of rings in Pilotwings rendered using the help of the Project command: https://youtu.be/YmEKjqgEGpE?t=894