merge ws/3d3-mesh
This commit is contained in:
commit
d2727aeab0
7 files changed
+291
-36
No files matched your search
@@ -78,7 +78,8 @@ A `.mesh` of any version from 1.00 to 7.00 loads as a one-mesh `Scene`:
|
||||
- **Attributes:** `POSITION`, `NORMAL`, `TEXCOORD_0`, `TANGENT` and `COLOR_0`.
|
||||
- **LODs:** LOD 0 is the primitive. The other LODs are in `mesh.extras.lods`.
|
||||
- **Skinning:** bones become a skin with joint nodes, and the vertices get `JOINTS_0` / `WEIGHTS_0`.
|
||||
- **Not decoded yet:** Draco-compressed meshes (7.00) return `UNSUPPORTED`.
|
||||
- **Draco:** a Draco-compressed core mesh (6.00 / 7.00) decodes through `codecs/model/Draco`; `meta.source.draco` is
|
||||
`true` for those files.
|
||||
|
||||
```luau
|
||||
local scene = assert(F.load(meshBytes, { format = "robloxmesh" }))
|
||||
|
||||
Reference in new issue
Block a user