Blender Git Loki

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

Page: 9 / 11

March 12, 2021, 01:54 (GMT)
USD Import: remove usd_util files.

Moved the two create_reader() implementations from usd_util.(h|cc)
to static functions in UsdStageReader and removed the usd_util
files from the project.
March 12, 2021, 00:28 (GMT)
USD Import: stage reader validation and cleanup.

Added USDStageReader validation and guard against null
stage in the USDStageReader destructor.
March 11, 2021, 20:14 (GMT)
USD Import: remove UsdPrimReader stage member.

The UsdPrimReader class doesn't need a stage pointer as a
member because the stage can implicitly be accessed
through the prim itself, as long as the prim is valid.
I removed the UsdPrimReader::stage_ member and updated the
relevant constructors and function calls. Also, updated
the various readers to construct schemas directly from
the contained prim, e.g., pxr::UsdLuxRectLight rect_light(prim_)
March 11, 2021, 06:22 (GMT)
USD Import: UsdPrimReader interface cleanup.

Removed empty add_cache_modifier() function and made
create_object() abstract.
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.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021