Assembler Ray Tracer
Assembly Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
SDL.dll
SDL_gfx.dll
asmRT.asm
asmRT.exe
asmRT.inc
asmRT_camara.inc
asmRT_debug.inc
asmRT_demo.inc
asmRT_dll.inc
asmRT_funciones.inc
asmRT_macros.inc
asmRT_parts.inc
asmRT_raytrace.inc
asmRT_raytrace_parts.inc
asmRT_raytrace_s.inc
asmRT_utils.inc
board.gif
freeimage.dll
freeimage.inc
freeimaged.inc
libsdl.inc
make.bat
msvcrt.inc
screenshot.png
sdl.inc
sdl_gfx.inc
sdld.inc
sld_gfxd.inc
stars_map.png
world.jpg
world_tr.png

README.md

asmRT

Simple raytracer implemented in x86 assembly using Intel syntax. It runs only on widows, and requires SDL to display graphics.

###Build

To generate a binary you need the following:

  • FASM assembler

  • Add the line:

    HeapSetInformation,'HeapSetInformation',\

    in the file INCLUDE\API\KERNEL32.INC.

And in order to run it you'll need these libraries and files:

###Usage

To run simply execute asmRT.exe, there are a few key bindings you can try.

  • Numbers from 1 to 7: Load a different demo scene.
  • Arrows: Rotate the camera.
  • A,S,D,W: Camera panning.
  • [Enter]: Switch fullscreen.
  • PageUp/PageDown: Resolution change.
  • Home/End: Change number of threads.
  • Mouse move: Change light position.
  • Mouse drag (left button): Pick and move an object.
  • F1: Toggle extended frame info.

###Screenshot Screenshot

Enrique CR.

2009