Blender Git Loki

Blender Git "sybren-usd" branch commits.

Page: 2 / 5

November 8, 2019, 16:36 (GMT)
USD: Removed `as_background_job` parameter from export operator

The switch between foreground and background exports is now solely done
by respectively executing and invoking the export operator.

The `op->customdata` pointer is interpreted as an integer, and a bit is
set to indicate whether a background job should be run or not.
November 8, 2019, 15:29 (GMT)
Merge remote-tracking branch 'origin/master' into sybren-usd
November 8, 2019, 15:27 (GMT)
USD: added gtest for abstract hierarchy iterator

This test loads a blend file and asserts that the export paths are
reported correctly by the abstract hierarchy iterator.
November 8, 2019, 10:13 (GMT)
USD: Fix for `BASE_VISIBLE` being renamed

The rename was done in rB0812949bbc3d.
November 8, 2019, 09:51 (GMT)
Merge remote-tracking branch 'origin/master' into sybren-usd
October 2, 2019, 15:11 (GMT)
USD: removed the temporary code for timing code execution
October 2, 2019, 15:09 (GMT)
USD: stricter viewport locking when exporting

This is to prevent crashes like we had with the Alembic exporter (T65816).
October 2, 2019, 14:56 (GMT)
Cleanup: added my name to TODO comments
October 2, 2019, 14:56 (GMT)
Cleanup: remove scene parameter from USD_export()

The Context is passed to USD_export() anyway, which already contains the
scene.
October 2, 2019, 14:50 (GMT)
Merge origin/master
August 1, 2019, 08:21 (GMT)
Merge remote-tracking branch 'origin/master' into sybren-usd
July 30, 2019, 10:35 (GMT)
Merge remote-tracking branch 'origin/master' into sybren-usd
July 26, 2019, 14:46 (GMT)
USD: Allow user to disable export of UV maps and mesh normals

The UV maps and mesh normals take up a significant amount of space, so
it's better to make them optional. They're still enabled by default,
though.

Comparison: a shot of Spring (03_035_A to be exact) is 1.2 GiB when
exported with UVs and normals, and 262 MiB without. We probably have
room for optimisation of written UVs and normals.
July 26, 2019, 09:42 (GMT)
USD: Export vertex velocities for fluid simulations

Currently only fluid simulations have explicit vertex velocities. This
is the most important case for exporting velocities, though, as the
baked mesh changes topology all the time, and thus computing the
velocities at import time in a post-processing step is hard.
July 25, 2019, 14:33 (GMT)
USD: Cleanup, removed unnecessary `struct` keyword

No functional changes.
July 25, 2019, 14:33 (GMT)
USD: Export mesh normals

We now write face-varying mesh normals to USD. When the mesh has custom
loop normals those are written. Otherwise the poly flag `ME_SMOOTH` is
inspected to determine the normals.

This commits also changes the subdivision scheme from the default value
'Catmull Clark' to 'None', indicating we're exporting a polygonal mesh.
This is necessary for USD to understand our normals; otherwise the mesh
is always rendered smooth. In the future we may want to expose this
choice of subdivision scheme to the user, or auto-detect it when we
actually support exporting pre-subdivision meshes.

A possible optimisation could be to inspect whether all polygons are
smooth or flat, and mark the USD mesh as such. This can be added when
needed.
July 25, 2019, 13:41 (GMT)
USD: Remove the "uv_" prefix from exported UV maps

The primvar name is now the same as the UV Map name. This is to allow
the standard name "st" for texture coordinates by naming the UV Map as
such, without having to guess which UV Map is the "standard" one.
July 25, 2019, 12:48 (GMT)
USD: simplified nested condition in USDAbstractWriter::write()

By flipping a condition the code became much simpler.

No functional changes.
July 25, 2019, 12:46 (GMT)
USD: replaced throwing temp C++ exception with BLI_assert() call

The exception was for making things easier to debug for me. Now the issues
are gracefully ignored when things go bad, which is better for users.

No functional changes.
July 25, 2019, 10:59 (GMT)
USD: Removed debug prints

No functional changes.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021