gpu.demos.raytrace vocabulary
Factor handbook > Vocabulary index


Summary
Real-time GPU-accelerated raytracing of reflective spheres

Meta-data
Tags:demos
Authors:Joe Groff


Words

Tuple classes
ClassSuperclassSlots
raytrace-uniforms uniform-tuplemv-inv-matrix fov spheres floor-height floor-color background-color light-direction
raytrace-world wasd-worldfov spheres vertex-array
sphere tupleaxis home dtheta radius color theta
sphere-uniforms uniform-tuplecenter radius color


Ordinary words
WordStack effect
<sphere-uniforms>( world -- uniforms )
fov( -- value )
initial-spheres( -- value )
raytrace-fragment-shader( -- value )
raytrace-game( -- )
raytrace-game-attributes( -- value )
raytrace-program( -- value )
raytrace-vertex-shader( -- value )
reflection-color( -- value )
set-up-audio( world -- )
sphere-center( sphere -- center )
tick-sphere( sphere -- )


Class predicate words
WordStack effect
raytrace-uniforms?( object -- ? )
raytrace-world?( object -- ? )
sphere-uniforms?( object -- ? )
sphere?( object -- ? )


Files