Fix typo & markdown error.

This commit is contained in:
Pär Winzell 2018-03-18 09:42:04 -07:00 committed by GitHub
parent e92261f491
commit 93d1385b1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -69,13 +69,13 @@ Some of these switches are not obvious:
but it can be useful e.g. for loaders that don't understand the .glb format. but it can be useful e.g. for loaders that don't understand the .glb format.
- `--flip-u` and `--flip-v`, when enabled, will apply a `x -> (1.0 - x)` - `--flip-u` and `--flip-v`, when enabled, will apply a `x -> (1.0 - x)`
function to all `u` or `v` texture coordinates respectively. The `u` version function to all `u` or `v` texture coordinates respectively. The `u` version
is perhaps not commonly used, but flipping `v` is **the default behaviour*. is perhaps not commonly used, but flipping `v` is **the default behaviour**.
Your FBX is likely constructed with the assumption that `(0, 0)` is bottom Your FBX is likely constructed with the assumption that `(0, 0)` is bottom
left, whereas glTF has `(0, 0)` as top left. To produce spec-compliant glTF, left, whereas glTF has `(0, 0)` as top left. To produce spec-compliant glTF,
we must flip the texcoords. To request unflipped coordinates: we must flip the texcoords. To request unflipped coordinates:
- `--long-indices` lets you force the use of either 16-bit or 32-bit indices. - `--long-indices` lets you force the use of either 16-bit or 32-bit indices.
The default option is auto, which make the choice on a per-mesh-size basis. The default option is auto, which make the choice on a per-mesh-size basis.
- `--compute-mormals` controls when automatic vertex normals should be computed - `--compute-normals` controls when automatic vertex normals should be computed
from the mesh. By default, empty normals (which are forbidden by glTF) are from the mesh. By default, empty normals (which are forbidden by glTF) are
replaced. A choice of 'missing' implies 'broken', but additionally creates replaced. A choice of 'missing' implies 'broken', but additionally creates
normals for models that lack them completely. normals for models that lack them completely.