gpu.demos.bunny vocabulary
Factor handbook > Vocabulary index


Summary
Stanford Bunny with shader effects

Meta-data
Tags:demos
Authors:Joe Groff, Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
bunny-state tuplevertexes indexes vertex-array index-elements
bunny-uniforms mvp-uniformslight-position color ambient diffuse shininess
bunny-vertex-struct struct
bunny-world wasd-worldbunny sobel loading
loading-state tuplevertex-array texture
loading-uniforms uniform-tupletexcoord-scale loading-texture
sobel-state tuplevertex-array color-texture normal-texture depth-texture framebuffer
sobel-uniforms uniform-tupletexcoord-scale color-texture normal-texture depth-texture line-color


Singleton classes
bunny-vertex


Ordinary words
WordStack effect
(parse-bunny-model)( vs is -- vs is )
(read-line-tokens)( seq stream -- seq )
<bunny-buffers>( vertexes indexes -- vertex-buffer index-buffer index-count )
<bunny-state>( -- bunny-state )
<bunny-uniforms>( world -- uniforms )
<bunny-vertex>( vertex -- struct )
<loading-state>( window-vertex-buffer -- loading-state )
<sobel-state>( window-vertex-buffer -- sobel-state )
<sobel-uniforms>( sobel -- uniforms )
bunny-data( filename -- vertexes indexes )
bunny-fragment-shader( -- value )
bunny-game( -- )
bunny-game-attributes( -- value )
bunny-loaded?( bunny-state -- ? )
bunny-model-path( -- path )
bunny-model-url( -- value )
bunny-program( -- value )
bunny-state-filled?( bunny-state -- ? )
bunny-vertex-shader( -- value )
calc-bunny-normal( a b c vertexes -- )
calc-bunny-normals( vertexes indexes -- )
download-bunny( -- path )
draw-bunny( world -- )
draw-loading( world -- )
draw-sobel( world -- )
draw-sobeled-bunny( world -- )
each-line-tokens( quot -- )
fill-bunny-state( bunny-state -- )
get-bunny-data( bunny-state -- )
loading-fragment-shader( -- value )
loading-program( -- value )
normalize-bunny-normals( vertexes -- )
numbers( tokens -- seq )
parse-bunny-model( -- vertexes indexes )
sobel-fragment-shader( -- value )
sobel-program( -- value )
stream-read-line-tokens( stream -- seq )
window-vertex-shader( -- value )


Class predicate words
WordStack effect
bunny-state?( object -- ? )
bunny-uniforms?( object -- ? )
bunny-vertex-struct?( object -- ? )
bunny-vertex?( object -- ? )
bunny-world?( object -- ? )
loading-state?( object -- ? )
loading-uniforms?( object -- ? )
sobel-state?( object -- ? )
sobel-uniforms?( object -- ? )


Files