Skip to content

Commit

Permalink
fix typo and revise defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
glennhickey committed Jun 5, 2013
1 parent fdb1e2a commit d8afbf8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lod/halLodInterpolate.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ def createLods(halPath, outLodPath, outDir, maxBlock, scale, overwrite,
absPath)))
prevStep = step
curStepFactor *= scaleCorFac
if step > steps[-1]:
break
lodFile.close()

def main(argv=None):
Expand All @@ -130,7 +132,7 @@ def main(argv=None):
parser.add_argument("--maxBlock",
help="maximum desired number of blocks to ever "
"display at once.", type=int,
default=100)
default=123)
parser.add_argument("--scale",
help="scaling factor between two successive levels"
" of detail", type=float,
Expand Down Expand Up @@ -169,7 +171,7 @@ def main(argv=None):
parser.add_argument("--scaleCorFac", help="Correction factor for scaling. "
" Assume that scaling by (X * scaleCorFactor) is "
" required to reduce the number of blocks by X.",
type=float, default=1.5)
type=float, default=1.8)


args = parser.parse_args()
Expand Down

0 comments on commit d8afbf8

Please sign in to comment.