Gary Hsu преди 6 години
родител
ревизия
16a647ac55
променени са 1 файла, в които са добавени 8 реда и са изтрити 0 реда
  1. 8 0
      dist/preview release/what's new.md

+ 8 - 0
dist/preview release/what's new.md

@@ -51,6 +51,9 @@
 
 
 ### glTF Loader
 ### glTF Loader
 
 
+- Added support for mesh instancing for improved performance when multiple nodes point to the same mesh ([bghgary](https://github.com/bghgary))
+- Create `TransformNode` objects instead of `Mesh` objects for glTF nodes without geometry ([bghgary](https://github.com/bghgary))
+
 ### glTF Serializer
 ### glTF Serializer
 
 
 ### Viewer
 ### Viewer
@@ -101,3 +104,8 @@
   - `engine.drawCallsPerfCounter`: use SceneInstrumentation class instead
   - `engine.drawCallsPerfCounter`: use SceneInstrumentation class instead
   - `shadowGenerator.useVarianceShadowMap`: use useExponentialShadowMap instead
   - `shadowGenerator.useVarianceShadowMap`: use useExponentialShadowMap instead
   - `shadowGenerator.useBlurVarianceShadowMap`: use useBlurExponentialShadowMap instead
   - `shadowGenerator.useBlurVarianceShadowMap`: use useBlurExponentialShadowMap instead
+- The glTF loader now creates `InstancedMesh` objects when two nodes point to the same mesh ([bghgary](https://github.com/bghgary))
+- The glTF loader now creates `TransformNode` objects instead of `Mesh` objects for glTF nodes without geometry ([bghgary](https://github.com/bghgary))
+  - _Note: The root node is still a `Mesh` object and is still the first in the returned list of meshes_
+  - `TransformNode` objects are excluded from the returned list of meshes when importing mesh
+  - `TransformNode` objects do not raise `onMeshLoaded` events