gpu.demos.bunny vocabulary - Factor Documentation (original) (raw)

gpu.demos.bunny vocabulary
Factor handbook » Vocabulary index

Summary
Stanford Bunny with shader effects

Metadata

Parents: gpu.demos
Tags: demos
Authors: Joe Groff, Slava Pestov

Words

Tuple classes

Class Superclass Slots
bunny-state tuple vertexes indexes vertex-array index-elements
bunny-uniforms mvp-uniforms light-position color ambient diffuse shininess
bunny-vertex-struct struct
bunny-world wasd-world bunny sobel loading
loading-state tuple vertex-array texture
loading-uniforms uniform-tuple texcoord-scale loading-texture
sobel-state tuple vertex-array color-texture normal-texture depth-texture framebuffer
sobel-uniforms uniform-tuple texcoord-scale color-texture normal-texture depth-texture line-color

Singleton classes

bunny-vertex

Ordinary words

Word Stack effect
(parse-bunny-model) ( vs is -- vs is )
(read-line-tokens) ( seq stream -- seq )
( vertexes indexes -- vertex-buffer index-buffer index-count )
( -- bunny-state )
( world -- uniforms )
( vertex -- struct )
( window-vertex-buffer -- loading-state )
( window-vertex-buffer -- sobel-state )
( 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

Word Stack 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

resource:extra/gpu/demos/bunny/bunny.factor

Metadata files

resource:extra/gpu/demos/bunny/authors.txt
resource:extra/gpu/demos/bunny/resources.txt
resource:extra/gpu/demos/bunny/summary.txt
resource:extra/gpu/demos/bunny/tags.txt