voronoi.rib
Display "voronoi.tif" "file" "rgba"
#Display "voronoi.tif" "framebuffer" "rgba"
Format 256 256 1
Projection "perspective"
Translate 0 0 1
WorldBegin
LightSource "distantlight" 1 "intensity" [1]
LightSource "ambientlight" 2 "intensity" [1]
Declare "cellbasistype" "uniform string"
Surface "tebVoronoi" "cellbasistype" ["voronoi"]
Patch "bilinear" "P" [-1 1 0 1 1 0 -1 -1 0 1 -1 0]
WorldEnd
voronoiDSO.rib
Display "voronoiDSO.tif" "file" "rgba"
#Display "voronoiDSO.tif" "framebuffer" "rgba"
Format 256 256 1
Projection "perspective"
Translate 0 0 1
WorldBegin
LightSource "distantlight" 1 "intensity" [1]
LightSource "ambientlight" 2 "intensity" [1]
Declare "cellbasistype" "uniform string"
Surface "tebVoronoiDSO" "cellbasistype" ["voronoi"]
Patch "bilinear" "P" [-1 1 0 1 1 0 -1 -1 0 1 -1 0]
WorldEnd
edgedvoronoi.rib
Display "edgedvoronoi.tif" "file" "rgba"
#Display "edgedvoronoi.tif" "framebuffer" "rgba"
Format 256 256 1
Projection "perspective"
Translate 0 0 1
WorldBegin
LightSource "distantlight" 1 "intensity" [1]
LightSource "ambientlight" 2 "intensity" [1]
Declare "cellbasistype" "uniform string"
Surface "tebVoronoi" "cellbasistype" ["edgedvoronoi"]
Patch "bilinear" "P" [-1 1 0 1 1 0 -1 -1 0 1 -1 0]
WorldEnd
F2.rib
#Produces highlights with a semi medial-axis look.
Display "medialaxis.tif" "file" "rgba"
Format 256 256 1
Projection "perspective"
Translate 0 0 1
WorldBegin
LightSource "distantlight" 1 "intensity" [1]
LightSource "ambientlight" 2 "intensity" [1]
Declare "cellbasistype" "uniform string"
Surface "tebVoronoi" "cellbasistype" ["medialaxis"]
Patch "bilinear" "P" [-1 1 0 1 1 0 -1 -1 0 1 -1 0]
WorldEnd
F3.rib
Display "tex1DSO.tif" "file" "rgba"
#Display "tex1DSO.tif" "framebuffer" "rgba"
#Format 256 256 1
#Format 512 512 1
Format 1024 1024 1
Clipping 0.001 1000
Projection "perspective"
Translate 0 0 10
WorldBegin
LightSource "distantlight" 1 "intensity" [1]
LightSource "ambientlight" 2 "intensity" [1]
Declare "cellbasistype" "uniform string"
Surface "tebVoronoiDSO" "cellbasistype" ["edgedvoronoi"]
Patch "bilinear" "P" [-10 10 0 10 10 0 -10 -10 0 10 -10 0]
WorldEnd
F4.rib
Display "F4.tif" "file" "rgba"
Format 256 256 1
Projection "perspective"
Translate 0 0 1
WorldBegin
LightSource "distantlight" 1 "intensity" [1]
LightSource "ambientlight" 2 "intensity" [1]
Declare "cellbasistype" "uniform string"
Surface "tebVoronoi" "cellbasistype" ["F4"]
Patch "bilinear" "P" [-1 1 0 1 1 0 -1 -1 0 1 -1 0]
WorldEnd
tex1.rib
Display "tex1.tif" "file" "rgba"
#Display "tex1.tif" "framebuffer" "rgba"
Format 256 256 1
#Format 512 512 1
#Format 1024 1024 1
Clipping 0.001 1000
Projection "perspective"
Translate 0 0 10
WorldBegin
LightSource "distantlight" 1 "intensity" [1]
LightSource "ambientlight" 2 "intensity" [1]
Declare "cellbasistype" "uniform string"
Surface "tebVoronoi" "cellbasistype" ["edgedvoronoi"]
Patch "bilinear" "P" [-10 10 0 10 10 0 -10 -10 0 10 -10 0]
WorldEnd
tex1DSO.rib
Display "F3.tif" "file" "rgba"
Format 256 256 1
Projection "perspective"
Translate 0 0 1
WorldBegin
LightSource "distantlight" 1 "intensity" [1]
LightSource "ambientlight" 2 "intensity" [1]
Declare "cellbasistype" "uniform string"
Surface "tebVoronoi" "cellbasistype" ["F3"]
Patch "bilinear" "P" [-1 1 0 1 1 0 -1 -1 0 1 -1 0]
WorldEnd
[Affine Toolkit]
[RIB Utilities]
[Bitmap Utilities]
[Handy Little Utilities]
[Libraries]
[Using the Libraries]