OBJ converter: add option for scaling and truncating vertex coordinates (flag "-x scale").

To be used like this:

python convert_obj_three.py -i lucy100k.obj -o Lucy100k_slim.js -a center -s flat -x 100

It should work also for morph vertices.
This commit is contained in:
alteredq
2011-04-21 14:36:53 +02:00
parent abbfd7a493
commit 7ee6cc33eb
6 changed files with 37 additions and 11 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long