Blender Git Loki

Blender Git "sybren-usd" branch commits.

Page: 3 / 5

July 25, 2019, 10:49 (GMT)
Merge remote-tracking branch 'origin/master' into sybren-usd
July 23, 2019, 09:17 (GMT)
USD: reduce hair colours to one colour per hair strand

The colours weren't written correctly, so this just reduces the amount of
data that's written. This'll probably be used until we decide to evaluate
the hair material.
July 19, 2019, 16:06 (GMT)
USD: initial support for exporting lights

USD does not seem to support spot lights, so those aren't exported yet.
The units used for the light intensity is also still a bit of a mystery.
July 19, 2019, 09:14 (GMT)
USD: prevent crash when writing hair system with empty pathcache

Not sure what causes `psys->pathcache` to be `nullptr` in the first place,
but at least this prevents Blender from crashing.
July 18, 2019, 10:46 (GMT)
USD: Experimental support for instancing/referencing

Dupli-object meshes are now written to USD as references to the origina
mesh. This is still very limited in correctness, as there are issues
referencing to materials from a referenced mesh.

I am still committing this, as it also introduces some code clarifications
and gives us a place to start when continuing the quest for proper
instancing in USD.
July 18, 2019, 10:46 (GMT)
USD: Fix missing writer pointer

Fixes bug introduced in previous commit.
July 18, 2019, 10:46 (GMT)
USD: removed 'parent_writer' pointer

The `parent_writer` pointer was intended to be used by an Alembic writer,
but now it's getting in the way. I'm removing it from the
`AbstractHierarchyIterator` with the intent of either restoring it or
finding another solution when we actually implement Alembic writers.
July 18, 2019, 10:46 (GMT)
USD: added debug function for printing the export graph
July 16, 2019, 16:43 (GMT)
USD: Changed ExportGraph type to hold HierarchyContext pointers

This allows us to change the stored HierarchyContext objects in a future
commit.

No functional changes.
July 16, 2019, 13:46 (GMT)
USD: Cleanup, removed commented-out debug code
July 16, 2019, 11:28 (GMT)
Merge remote-tracking branch 'origin/master' into sybren-usd
July 16, 2019, 10:44 (GMT)
USD: Fixed issue with mesh particle export

When mesh particles were exported, the object name was still used for each
instance of that object. As such, only one instance was written to USD.
This is now fixed by suffixing the object name with the particle's
persistent ID, giving each particle XForm a unique name.

Particles are still only written when they are alive, which means that they
are always visible (there is currently no code that deals with marking them
as invisible outside their lifespan).
July 16, 2019, 10:13 (GMT)
USD: Fixed bug getting evaluation mode property
July 16, 2019, 08:49 (GMT)
USD: Make USD_PATH configurable via a CMake variable

The default is still `USD_PATH=/opt/usd`, and using USD still requires you
to manually install USD without Python bindings.
July 12, 2019, 13:59 (GMT)
USD: added USD export to the File > Export menu

This also required exposing the build option `bpy.app.build_options.usd`.
July 12, 2019, 13:20 (GMT)
USD: Avoid writing invisible particle emitter meshes
July 12, 2019, 13:19 (GMT)
USD: Offer choice for viewport or render settings

The exporter operator now takes a parameter to choose the depsgraph
evaluation mode (Viewport/Render). This makes it easier to switch between
exporting particle hair (Render) or mesh hair (Viewport).
July 12, 2019, 12:24 (GMT)
Merge remote-tracking branch 'origin/master' into sybren-usd
July 12, 2019, 12:15 (GMT)
USD: Export UV maps of meshes

Each UV map is stored on the mesh in a separate primvar. Materials can
refer to these UV maps, but this is not yet exported by Blender.
July 12, 2019, 10:22 (GMT)
USD: Write mesh single/doublesidedness

USD seems to support neither per-material nor per-face-group
double-sidedness, so we just use the flag from the first non-empty
material slot. If there is no material we default to double-sidedness.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021