Blender Git Commits

Blender Git "usd" branch commits.

Page: 21 / 21

February 8, 2021, 20:29 (GMT)
USD import: orientation bug.

Uninitialized USDMeshReader::m_isLeftHanded flag was
causing the vertex winding orientation to randomly flip,
causing incorrect shading and other issues.
February 8, 2021, 17:59 (GMT)
USD import: handle primvars:normals if specified.

Per Pixar UsdGeomPointBased documentation: If 'normals' and
'primvars:normals' are both specified, the latter has precedence.
February 8, 2021, 16:58 (GMT)
USD import: Handle empty vertex-varying normals.

If point normals are empty, now invoking BKE_mesh_calc_normals()
to avoid black renders. Since BKE_mesh_calc_normals() requires
edges to be defined, moving point normal calculation to follow
reading polys.
February 7, 2021, 00:24 (GMT)
USD importer: vertex normals render black.

Setting point normals by invoking normal_float_to_short_v3(),
instead of directly assigning components as floats.
February 6, 2021, 03:48 (GMT)
USD importer: custom normals shading bug.

Removed call to BKE_mesh_calc_edges() after setting
UVs, as this function is already called after setting
polys. Moreover, the second, redundant call was causing
incorrect viewport shading of previously set custom
normals. Now also setting the ME_AUTOSMOOTH mesh flag
to enable shading with custom normals.
February 4, 2021, 21:23 (GMT)
USD importer stage traversal options.

Added new stage traversal options to filter prim import
based on purpose (guide, proxy and render) and whether
to traverse instances with instance proxies. Also modified
the stage traversal logic to avoid a small memory leak due to
creating a reader for the pseudo root which is never used or
deleted.
January 16, 2021, 05:12 (GMT)
Fixed compile errors. Registering USD plugins.
January 16, 2021, 03:19 (GMT)
Initial USD Import open sourcing.

Cherry-picked commit of Tangent Animation's
USD importer from branch ta-usd-import in
https://github.com/tangent-opensource/blender.git.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021