Files
filament/samples/app
Philip Rideout 0b84425bd0 Fix up tangents in MeshAssimp to help with #528.
We started to write our own implementation of mikktspace, but it
required an unindexed mesh for input. This was awkward because assimp is
already applying a pipeline of operations that includes tangent
generation and indexing. It felt reduandant to add our own pipeline on
top of that (unindexing => tangentgen => reindexing).

Since assimp's CalcTangentsProcess method is already producing
tangents that follow the orientation implied by texture coordinates,
this simply needs to be tweaked to match glTF. (flip the bitangent)

Also fixed a bug for the case where models have neither UV's nor
tangents, where we were calling norm instead of normalize. :)
2018-11-28 15:46:04 -08:00
..
2018-08-03 10:38:22 -07:00
2018-08-03 10:38:22 -07:00
2018-10-08 11:33:06 -07:00
2018-08-15 13:57:48 -07:00
2018-08-03 10:38:22 -07:00
2018-11-26 13:14:28 -08:00
2018-08-03 10:38:22 -07:00
2018-08-03 10:38:22 -07:00
2018-08-03 10:38:22 -07:00
2018-08-03 10:38:22 -07:00
2018-11-28 11:27:37 -08:00