Next: , Previous: rawpick, Up: GCL Reference


7.2.100 read

(read {geometry|camera|appearance|image|ntransform|transform|command} {GEOMETRY or CAMERA or ...})
Read and interpret the text in ... as containing the given type of data. Useful for defining objects using OOGL reference syntax, e.g.
          (geometry  thing { INST  transform : T    geom : fred })
          (read  geometry  { define fred
             QUAD
             1 0 0  0 1 0  0 0 1  1 0 0
          })
          (read  transform { define T <myfile})
     

See References. See (hdefine ...). See (hdelete ...).