Skip to content

view_shape

Eric E Palmer edited this page Oct 23, 2026 · 1 revision

view_shape

Category D Version 3.0

Description

view_shape generates a point-of-view image of the shape model.

SPC Tools Suite viewShape.sh -- helper app that copies geometery0*.in and runs view_shape

Must have shape2maps run first. It creates the SHAPE[12345].MAP, etc.

Input Files

  • Shapefiles - filename given as stdin
  • geometry.in

Input geometry.in

{{{ 'view' 1024 1024 8 }}}

  • Filename, x and y number of pixels, and bit length {{{ 1500 40 40 }}}
  • Focal length and FOV {{{ -1 0 0 0 0 -1 0 -1 0

-1 3 0 }}}

  • Sun position {{{ 0 50000 0 }}}
  • Point of view, distance from object

Output Files

  • The output image in pgm format
  • Name: view.pgm (or as described in geometry.in)


CategoryPrograms CategorySPCTools

Clone this wiki locally