Ray Tracer in 483 bytes (x86 boot sector)
ฝัง
- เผยแพร่เมื่อ 15 ก.ย. 2024
- I've made a Ray Tracer in x86 assembler code based on the amazing Ray Tracer for Atari 8-bit BASIC developed by D. Scott Williamson.
It fits on a boot sector, and can run in real hardware (you'll need a minimum of a Pentium Pro).
This version corrects the floor displacement for a nice effect on the spheres.
You can download it at github.com/nan...
I just bought your book. Thanks for all the cool code.
Thank you!
I always like seeing this.
By the way, pressing keys on the keyboard breaks this.
It is the code for exit to DOS, in boot sector mode it simply returns to oblivion
is there a way to make this run on real modern hardware?
You can run the COM file in machines with Windows XP, Windows 7 or Windows 8.
Ok show code 😉👍
Link to source code in the description