diff options
author | Daniel Rakos <daniel.rakos@rastergrid.com> | 2019-01-31 18:04:36 +0100 |
---|---|---|
committer | Daniel Rakos <daniel.rakos@rastergrid.com> | 2019-02-03 22:48:35 +0100 |
commit | 6df53e0401fd7c2f8e81cd7d8189584706d3d7d8 (patch) | |
tree | 8f2e5bcd00871fad3fd8a108e7dae51d9390f6c9 /thirdparty/zlib/trees.h | |
parent | 463123a661151f119132f2ee9af78925a58a068a (diff) |
MeshLibrary export improvements
- From now materials assigned to the MeshInstance (not the Mesh) get exported
into the MeshLibrary when such materials exist. This enables workflows where
the MeshLibrary is exported from an imported scene (e.g. GLTF) where the
materials assigned to the Mesh (not the MeshInstance) get overwritten on
re-import, thus can't use editor set materials in the exported MeshLibrary
unless they are assigned to the MeshInstance whose materials get saved with
the inherited scene thus persist across re-imports.
- When appending to an existing MeshLibrary only generate previews for newly
added or modified meshes.
- During preview generation transform camera and lights instead of the mesh
and use the source MeshInstance's transform for the mesh to avoid weird
previews being generated for meshes with a position dependent material
(e.g. when using triplanar mapping).
- Adjust the camera angle and light directions used in mesh preview generation
for better results.
Diffstat (limited to 'thirdparty/zlib/trees.h')
0 files changed, 0 insertions, 0 deletions