Differences between revisions 1 and 2
Revision 1 as of 2016-08-09 06:22:00
Size: 1378
Editor: EricPalmer
Comment:
Revision 2 as of 2016-08-09 06:36:23
Size: 1546
Editor: EricPalmer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Line 31: Line 30:
 * Run the program
 {{{
 buildShape.sh
 }}}
Line 32: Line 35:

 * Run the buildShape.sh
 * When it is done, it will have already run view_shape (via another script viewShape.sh)
 * Look at the files view_01.jpg (01 to 10) and shape.gif

Building a shape model

The normal way (Bob's way) is described in a text file called "densify.txt". I have created a script to automate things in a standard way.

  • Copy the directory "shape3/support3" and put it in the working directory and call it support
     cd <workingDir>
     cp -r ../shape3/support3 support
  • Edit the buildShape.sh file
    • Change the suffix to H2-Test1-
    • Comment out (#) the line that runs dummer
      • dumber < tmpRun.txt | tee -a shape.log # normally used

    • Remove the comment (#) from the line
      • #cp SHAPEFILES/SHAPE.TXT SHAPEFILES/dumb$suffix # used only with initial base model Q=32

This will create several different resolution shape models, each with a factor of 2 higher resolution. The 512 is the highest resolution model, with 1.6 million vectors.

One you create the high resolution model, you can install it in the directory SHAPEFILES. This is done by removing the symbolic link to SHAPE.TXT and replacing it with the new file that you've created.

  •   ln -s shapeH2-Test1-512 SHAPE.TXT

You can run register and load the shape model to see how the new shape model looks.

Note, this shape model does not have albedo in it. If you want to have that, then you need to change the program from densify to densifyA.

  • Run the program
     buildShape.sh
  • When it is done, it will have already run view_shape (via another script viewShape.sh)
  • Look at the files view_01.jpg (01 to 10) and shape.gif

Notes for Day 3 (last edited 2016-08-09 19:57:46 by EricPalmer)