/usr/share/aqsis/examples/procedurals/menger/menger.rib is in aqsis-examples 1.8.1-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | Option "limits" "bucketsize" [32 32]
Display "menger.tif" "file" "rgb"
Display "+menger.tif" "framebuffer" "rgb"
Format 400 400 1
Projection "perspective" "fov" 45
Translate 0 0 5
Rotate -30 1 0 0
Rotate 20 0 1 0
WorldBegin
# the argument string for the procedural consists of the fractal the
# subdivision level followed by the bounding box and motif:
#
# "level xmin xmax ymin ymax zmin zmax motif"
#
# The motif is a length 27 array of ones and zeros; any data trailing this
# is ignored.
#
Procedural "DynamicLoad"
["menger" "4 -1 1 -1 1 -1 1
1 1 1 1 0 1 1 1 1
1 0 1 0 0 0 1 0 1
1 1 1 1 0 1 1 1 1
Other patterns to try:
0 1 0 0 1 0 0 0 0
1 0 1 1 1 1 0 1 0
0 1 0 0 1 0 0 0 0
1 1 1 1 0 1 1 0 1
1 1 1 0 1 0 0 0 0
1 1 1 1 0 1 1 0 1
0 1 0 1 0 1 0 1 0
1 0 1 0 1 0 1 0 1
0 1 0 1 0 1 0 1 0
1 0 1 0 1 0 1 0 1
0 1 0 1 0 1 0 1 0
1 0 1 0 1 0 1 0 1
1 1 1 0 0 0 0 0 0
1 1 1 0 1 0 0 1 0
1 1 1 0 0 0 0 0 0
"] [-1 1 -1 1 -1 1]
WorldEnd
|