benchmark.raytracer-simd vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Parents:benchmark
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
group sphereobjs
hit tuplenormal lambda
ray tupleorig dir
sphere tuplecenter radius


Parsing words
WordSyntax
no-compile


Ordinary words
WordStack effect
-+( x y -- x-y x+y )
<group>( objs bound -- group )
<hit>( normal lambda -- hit )
<ray>( orig dir -- ray )
<sphere>( center radius -- sphere )
cast-ray( ray scene -- g )
create( level c r -- scene )
create-bound( c r -- sphere )
create-center( c r d -- c2 )
create-group( level c r -- scene )
create-offsets( -- value )
create-step( level c r d -- scene )
delta( -- n )
if-ray-sphere( hit ray sphere quot: ( hit ray sphere l -- hit ) -- hit )
initial-hit( -- value )
initial-intersect( ray scene -- hit )
intersect-scene( hit ray scene -- hit )
levels( -- value )
light( -- value )
make-group( bound quot -- )
oversampling( -- value )
pgm-header( w h -- )
pgm-pixel( n -- )
ray-g( hit -- g )
ray-o( ray hit -- o )
ray-pixel( scene point -- ray-grid )
ray-sphere( sphere ray -- t )
ray-trace( scene -- grid )
raytracer-simd-benchmark( -- )
run-raytracer-simd( -- string )
size( -- value )
sphere-b( v ray -- b )
sphere-b&v( sphere ray -- b v )
sphere-d( sphere b v -- d )
sphere-n( ray sphere l -- n )
sphere-t( b d -- t )
sphere-v( sphere ray -- v )
sray-intersect( ray scene hit -- ray )
ss-point( dx dy -- point )


Class predicate words
WordStack effect
group?( object -- ? )
hit?( object -- ? )
ray?( object -- ? )
sphere?( object -- ? )


Files


Metadata files