@jfk-solutions/demo3d-file-format 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -386,6 +386,20 @@ default, including inherited child-layer visibility. Set
386
386
  `includeHiddenLayers: true` only when a tool needs to inspect hidden project
387
387
  content.
388
388
 
389
+ Editable Demo3D triangle meshes support the native `Position`, `PositionColor`,
390
+ `PositionTexture`, `PositionNormal`, `PositionNormalColor`,
391
+ `PositionNormalTexture`, and `PositionNormalTextureTangent` vertex layouts.
392
+ Packed ARGB vertex colors retain alpha and enable vertex-color materials without
393
+ altering materials shared by uncolored geometry. Tangents retain their fourth
394
+ component and change handedness when converted to Three.js coordinates. Meshes
395
+ without stored normals receive computed normals. These layouts follow the
396
+ native `Demo3D.Raw.VertexBuffer` attribute definitions; runtime-generated C#
397
+ geometry still needs a native RAW3D recording rather than script execution.
398
+
399
+ Saved `NormalTexture`/`NormalTextureReference` material references bind normal
400
+ maps alongside color textures. Normal maps use a separate linear-data texture
401
+ cache so a shared image used as color does not acquire the wrong color space.
402
+
389
403
  ### WebGPU With WebGL Fallback
390
404
 
391
405
  Tools can lazily select a canvas renderer before creating the Demo3D scene. The