Pinhole is a 3D projection library for Uxn.
1. Quick start
$ uxnasm examples/cube.tal cube.rom $ uxnemu -2x cube.rom
2. Usage
Pinhole is device-independent and designed to be included or copy-pasted inside another project. All of its labels and macros are prefixed with “pinhole” or “Pinhole” to prevent clashes with labels and macros used in the incorporating project.
3. Source
4. Known issues
- Precision gets really wonky when the camera is directly above or below the target.
5. Acknowledgments
Special thanks to Erik for the help with the implementation of Q8.8 fixed-points and to Hundred Rabbits for creating Uxn.
6. License
This software is licensed under the MIT license and uses third party libraries that are distributed under their own terms.
For more details, see the license files: