[net.sources] Graphics objects: subdirectory data/hand_built

ken@turtleva.UUCP (Ken Turkowski) (12/17/83)

echo x - data/hand_built
mkdir data/hand_built
echo x - data/hand_built/icosa.obj
cat >data/hand_built/icosa.obj <<'!Funky!Stuff!'
title		Icosahedron (hand built by FCC)
display		poly_zsort
type		polygon faceted
detail		/usr/ken/osu/data/hand_built/icosa.det
polycolors	/usr/ken/osu/data/hand_built/icosa.pcl
vertexcolors	/usr/ken/osu/data/hand_built/icosa.vcl
bounding_box	-1 1 -1 1 -1 1
data	12	20
  -0.61833      0.0     -1.0
   0.61833      0.0     -1.0    
   0.61833      0.0      1.0   
  -0.61833      0.0      1.0   
      -1.0 -0.61833      0.0  
      -1.0  0.61833      0.0  
       1.0  0.61833      0.0  
       1.0 -0.61833      0.0  
       0.0     -1.0  0.61833 
       0.0     -1.0 -0.61833 
       0.0      1.0 -0.61833 
       0.0      1.0  0.61833 
 3     1 10  2 
 3     1  2 11  
 3     1 11  6
 3     1  6  5  
 3     1  5 10
 3     4  3  9  
 3     4  9  5
 3     4  5  6  
 3     4  6 12
 3     4 12  3  
 3     7  3 12
 3     7 12 11 
 3     7 11  2
 3     7  2  8
 3     7  8  3
 3     6 11 12
 3     5  9 10
 3     9  3  8
 3     9  8 10
 3    10  8  2
 
 
 
 
 
!Funky!Stuff!
echo x - data/hand_built/icosa.tx_std
cat >data/hand_built/icosa.tx_std <<'!Funky!Stuff!'
name Icosahedron texture coordinates
data    20
         3   0.  0.     .5  .5    1.0 0.0
         3   0.  0.    1.  0.      .5  .5
         3   0.  0.     .5  .5     .5 1.
         3   1.  0.     .5 1.0    1.5 1.
         3   1.  0.     .5 1.0    1.5  .5
         3   0.  2.    1.0 2.0     .5 1.5
         3   1.  2.    1.5 1.5     .5 1.
         3   1.  2.    1.5 1.      .5 1.
         3   1.  2.    1.5 1.      .5 1.5
         3   0.  2.     .5 1.5    1.0 2.0
         3    .5 1.0   1.  2.0    1.5 1.5
         3   1.5 1.0    .5 1.5     .5  .5
         3   1.5 1.0    .5  .5    1.0 0.
         3   1.5 1.0   1.0 0.      .5 1.0
         3   1.5 1.0    .5 1.0    1.0 2.0
         3   1.5 1.0    .5  .5     .5 1.5
         3    .5 1.0   1.5 1.5    1.5  .5
         3    .5 1.5   1.0 2.0    1.5 1.0
         3    .5 1.5   1.5 1.0     .5  .5
         3    .5  .5   1.5 1.0    1.0 0.
 
 
 
 
 
!Funky!Stuff!
echo x - data/hand_built/icosa_pcl.obj
cat >data/hand_built/icosa_pcl.obj <<'!Funky!Stuff!'
title		Icosahedron (hand built by FCC)
display		ftb_zsort
type		polygon faceted
detail		/usr/ken/osu/data/hand_built/icosa.det
poly_colors	/usr/ken/osu/data/hand_built/icosa.pcl
texture  /usr/ken/osr/data/hand_built/icosa.txc /usr/ken/osr/data/textures/hatching.txtr
bounding_box	-1 1 -1 1 -1 1
data	12	20
  -0.61833      0.0     -1.0
   0.61833      0.0     -1.0    
   0.61833      0.0      1.0   
  -0.61833      0.0      1.0   
      -1.0 -0.61833      0.0  
      -1.0  0.61833      0.0  
       1.0  0.61833      0.0  
       1.0 -0.61833      0.0  
       0.0     -1.0  0.61833 
       0.0     -1.0 -0.61833 
       0.0      1.0 -0.61833 
       0.0      1.0  0.61833 
 3     1 10  2 
 3     1  2 11  
 3     1 11  6
 3     1  6  5  
 3     1  5 10
 3     4  3  9  
 3     4  9  5
 3     4  5  6  
 3     4  6 12
 3     4 12  3  
 3     7  3 12
 3     7 12 11 
 3     7 11  2
 3     7  2  8
 3     7  8  3
 3     6 11 12
 3     5  9 10
 3     9  3  8
 3     9  8 10
 3    10  8  2
 
 
 
 
 
!Funky!Stuff!
echo x - data/hand_built/icosa_pcl.std
cat >data/hand_built/icosa_pcl.std <<'!Funky!Stuff!'
data	20
 1. 0. 0. 0.
 0. 1. 0. 0.
 0. 0. 1. 0.
 0. 1. 1. 0.
 1. 0. 1. 0.
 1. 1. 0. 0.
 0. 0. 0. 0.
 1. 1. 1. 0.
 .5 1. 1. 0.
 1. .5 1. 0.
 1. 1. .5 0.
 1. .5 .5 0.
 .5 1. .5 0.
 .5 .5 1. 0.
 .7 .3 .1 0.
 .1 .7 .3 0.
 .3 .1 .7 0.
 .1 .3 .7 0.
 .3 .7 .1 0.
 .7 .1 .3 0.
!Funky!Stuff!
echo x - data/hand_built/icosa_vcl.obj
cat >data/hand_built/icosa_vcl.obj <<'!Funky!Stuff!'
title		Icosahedron (hand built by FCC)
display		ftb_zsort
type		polygon
detail		/usr/ken/osu/data/hand_built/icosa.det
vertex_colors	/usr/ken/osu/data/hand_built/icosa.vcl
texture     /usr/ken/osu/data/hand_built/icosa.txc /usr/ken/osu/data/textures/spots.txtr
bounding_box	-1 1 -1 1 -1 1
data	12	20
  -0.61833      0.0     -1.0
   0.61833      0.0     -1.0    
   0.61833      0.0      1.0   
  -0.61833      0.0      1.0   
      -1.0 -0.61833      0.0  
      -1.0  0.61833      0.0  
       1.0  0.61833      0.0  
       1.0 -0.61833      0.0  
       0.0     -1.0  0.61833 
       0.0     -1.0 -0.61833 
       0.0      1.0 -0.61833 
       0.0      1.0  0.61833 
 3     1 10  2 
 3     1  2 11  
 3     1 11  6
 3     1  6  5  
 3     1  5 10
 3     4  3  9  
 3     4  9  5
 3     4  5  6  
 3     4  6 12
 3     4 12  3  
 3     7  3 12
 3     7 12 11 
 3     7 11  2
 3     7  2  8
 3     7  8  3
 3     6 11 12
 3     5  9 10
 3     9  3  8
 3     9  8 10
 3    10  8  2
 
 
 
 
 
!Funky!Stuff!
echo x - data/hand_built/icosa_vcl.scn
cat >data/hand_built/icosa_vcl.scn <<'!Funky!Stuff!'
call icosa_vcl.obj by icosa
scale icosa by 1 1 1
paint background with 0.2 0.3 0.6 0.3 
place center_of_interest at 0 0 0
place eyepoint at -3 -5 2
place light at 1000 -1000 500
paint light with 1 1 1 
scale light by 4.9104e+11
place icosa at 0 0 0
paint icosa with 1 1 1 0 0 0 
!Funky!Stuff!
echo x - data/hand_built/icosa_vcl.std
cat >data/hand_built/icosa_vcl.std <<'!Funky!Stuff!'
data	12	0
   .6 .6 .6  0.
   .6 .6 .6  0.
   .0 1. .0  0.
   .0 1. .0  0.
   1. .0 .0  0.
   1. .0 .0  0.
   .0 .0 1.  0.
   .0 .0 1.  0.
   1. 1. .0  0.
   1. 1. .0  0.
   .7 .3 .1  0.
   .7 .3 .1  0.
 
 
 
 
 
!Funky!Stuff!
echo x - data/hand_built/square.obj
cat >data/hand_built/square.obj <<'!Funky!Stuff!'
title		Square - 2 units on a side
display		ftb_zsort
detail		/usr/ken/osu/data/hand_built/square.det
texture		square.txc	aliasing.txtr spots.txtr
type		polygon open
bounding_box	-1 1 0 0 -1 1
data	4    1        ( square ) 
  -1.0   0.0    -1.0
  -1.0   0.0     1.0
   1.0   0.0     1.0
   1.0   0.0    -1.0
   4    1   2   3   4
!Funky!Stuff!
echo x - data/hand_built/square.scn
cat >data/hand_built/square.scn <<'!Funky!Stuff!'
call square.obj by sq
scale sq by 1 1 1
paint background with 0.2 0.3 0.6 0.3 
place center_of_interest at 0 0 0
place eyepoint at -3 -1.5 2
place light at 1000 -1000 500
paint light with 1 1 1 
scale light by 4.9104e+11
place sq at 0 0 0
paint sq with 1 1 1 0 0 0 
!Funky!Stuff!
echo x - data/hand_built/square.tx_std
cat >data/hand_built/square.tx_std <<'!Funky!Stuff!'
comment	texture coordinates for square.obj
data	1
4    0. 0.   1. 0.   1. 1.   0. 1.
!Funky!Stuff!
echo x - data/hand_built/trunc_pyr.obj
cat >data/hand_built/trunc_pyr.obj <<'!Funky!Stuff!'
title		Truncated pyramid by FCC
display		poly_zsort
detail		/usr/ken/osu/data/hand_built/trunc_pyr.det
texture	/usr/ken/osu/data/hand_built/trunc_pyr.txc /usr/ken/osu/data/textures/stripes.txtr
type		polygon
bounding_box	-1 1 -1 1 -1 1
!Funky!Stuff!
echo x - data/hand_built/trunc_pyr.std
cat >data/hand_built/trunc_pyr.std <<'!Funky!Stuff!'
data  8  6
 -1. -1. -1. 
 -1.  1. -1.
  1.  1. -1.
  1. -1. -1.
-.8  -.8  1.
-.8   .8  1.
 .8   .8  1.
 .8  -.8  1.
4  4  3  2  1
4  5  6  7  8
4  6  5  1  2
4  8  7  3  4
4  5  8  4  1
4  7  6  2  3  
!Funky!Stuff!
echo x - data/hand_built/trunc_pyr.tx_s
cat >data/hand_built/trunc_pyr.tx_s <<'!Funky!Stuff!'
name  Truncated pyramid texture coordinates
data  6
4  1. 1.  1. 0.  0. 0.  0. 1.
4  0. 0.  0. 1.  1. 1.  1. 0. 
4  0. 1.  1. 1.  1. 0.  0. 0. 
4  0. 1.  1. 1.  1. 0.  0. 0. 
4  0. 1.  1. 1.  1. 0.  0. 0. 
4  0. 1.  1. 1.  1. 0.  0. 0. 

!Funky!Stuff!