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...

ความคิดเห็น • 9

  • @arenyart
    @arenyart 5 หลายเดือนก่อน +1

    I just bought your book. Thanks for all the cool code.

    • @nanochess
      @nanochess  5 หลายเดือนก่อน

      Thank you!

  • @intylab
    @intylab 5 หลายเดือนก่อน +1

    I always like seeing this.

  • @CopperSosiska12
    @CopperSosiska12 3 หลายเดือนก่อน

    By the way, pressing keys on the keyboard breaks this.

    • @nanochess
      @nanochess  3 หลายเดือนก่อน +1

      It is the code for exit to DOS, in boot sector mode it simply returns to oblivion

  • @tcscomment
    @tcscomment 3 หลายเดือนก่อน

    is there a way to make this run on real modern hardware?

    • @nanochess
      @nanochess  3 หลายเดือนก่อน

      You can run the COM file in machines with Windows XP, Windows 7 or Windows 8.

  • @MrTommys4
    @MrTommys4 5 หลายเดือนก่อน +1

    Ok show code 😉👍

    • @nanochess
      @nanochess  5 หลายเดือนก่อน +1

      Link to source code in the description