Blender Git Commits

Blender Git "temp-usd-importer-T81257-merge" branch commits.

Page: 2 / 4

March 11, 2021, 05:19 (GMT)
USD Import: naming convention fix.

To be consistent with the convention used in the USD exporter,
updated class member variables to consistently use snake case
and trailing underscores instead of the m_ prefix.
March 11, 2021, 02:54 (GMT)
USD Import: snake case for function names.

As part of code cleanup, now using snake case consistently
for class member function names, to match the convention
used in the USD exporter code.
March 11, 2021, 02:15 (GMT)
USD Import: added blender::io::usd namespace.

Added blender::io::usd namespace where it was missing, to
conform to the convention used in the USD exporter code.
March 11, 2021, 01:15 (GMT)
USD Import: removed unneeded include guards.
March 11, 2021, 00:46 (GMT)
USD Import: use pragma once in headers.

Replaced include guards with pragma once directives,
to conform to the conventions used in the existing USD
export code.
March 11, 2021, 00:09 (GMT)
USD Import: removed commented out code.
March 10, 2021, 23:41 (GMT)
USD Import: removed WM_reportf() trace calls.
March 10, 2021, 01:55 (GMT)
USD Import: import display colors.

Added support for reading the display color primvars. This
option is off by default in the mesh read flags.
March 9, 2021, 23:06 (GMT)
USD Import: read attributes null data guard.

Checking for null pointer to avoid crash when custom data
allocation fails.
March 9, 2021, 22:30 (GMT)
USD Import: removed printf call.
March 9, 2021, 17:59 (GMT)
USD Import: crash on reading no polys.

Fixed a crash where polys were not being read for new meshes when
the MOD_MESHSEQ_READ_POLY flag isn't set. Crash occurs because
downstream code expects polys to exist. Modified the logic to
always read verts and polys for new meshes, regardless of the
value of the read flag.
March 9, 2021, 02:58 (GMT)
USD Import: subdiv option default to off.

The Import Subdiv Option can sometimes behave unexpectedly,
losing all sharp edges. Turning this option off by default
until the behavior can be fine tuned.
March 9, 2021, 02:33 (GMT)
USD Import: fixed compiler warnings.
March 9, 2021, 01:53 (GMT)
USD Import: Light Intensity Scale option.

Added new float import option to scale intensity of imported
lights.
March 9, 2021, 01:19 (GMT)
USD Import: fixed compiler warning.
March 8, 2021, 21:46 (GMT)
USD Import: simplify xform matrix computation.

Updated the USDXformReader matrix computation function to use the
standard UsdGeomXformable API for querying the prim's local
transform and to determine whether the matrix is time-varying,
rather than explicitly iterating over the UsdGeomXformOps.
March 8, 2021, 21:25 (GMT)
USD Import: Formatting fixes.
March 7, 2021, 20:10 (GMT)
USD Import: Convert to Z Up option.

Added a Convert to Z Up import option and logic to rotate
imported root objects 90 degrees about the X-axis if this
option is checked and the USD stage up-axis is Y.
March 7, 2021, 02:14 (GMT)
USD Import: Scale option fixes.

Updated the code to apply the global scale option, which
was previously ignored. Fixed application of global scale
in the xform reader matrix calculation to only apply the
scale to root objects. Also fixed bug in setting the
is_constant flag and simplified some of the code.
March 6, 2021, 00:56 (GMT)
USD Import format fixes.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021