Differences between revisions 6 and 20 (spanning 14 versions)
Revision 6 as of 2012-07-25 00:19:05
Size: 621
Editor: EricPalmer
Comment:
Revision 20 as of 2020-10-21 12:04:56
Size: 995
Editor: EricPalmer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= view_shape.e = ## page was renamed from view_shape.e
= view_shape =
||Category D ||Version 3.0 ||
Line 3: Line 5:
The generates a point-of-view image of the shape model. == 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 ||
Line 5: Line 9:
=== Input - files ===
 * Shapefiles - filename given as stdin
 * geometry.in 
Must have [[shape2maps]] run first. It creates the SHAPE[12345].MAP, etc.
 
== Input Files ==
 * '''Shapefiles''' - filename given as stdin
 * '''geometry.in'''
Line 9: Line 15:
=== Input - geometry.in ===

 {{{ 
== Input geometry.in ==
 {{{
Line 13: Line 18:
    * Filename, filesize and bit length
  1500 40 40
    * Some essence of stretch
 }}}
* Filename, x and y number of pixels, and bit length
 {{{
  
1500 40 40
 }}}
* Focal length and FOV
 {{{
Line 21: Line 30:
    * Sun position  }}}
* Sun position
 {{{
Line 23: Line 34:
    * Point of view, distance from object
Line 25: Line 35:
 * Point of view, distance from object
Line 27: Line 38:


=
== Output ===
== Output Files ==
Line 33: Line 42:
attachment:view_shape.png {{attachment:view_shape.png}}

----------
CategoryPrograms [[CategorySPCTools]]
Line 35: Line 47:
CategoryPrograms CategoryThreeOh

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)

view_shape.png


CategoryPrograms CategorySPCTools


CategoryThreeOh

view_shape (last edited 2020-10-21 12:04:56 by EricPalmer)