nodes/docs/PLANTARIUM.md

26 lines
549 B
Markdown
Raw Permalink Normal View History

2024-05-06 01:10:23 +02:00
# Plantarium Documentation
## Encoding Scheme
Plantarium encodes different types of data differently. Right now we have three types of data:
### Path
[0, stem_depth, ... x,y,z,thickness, x,y,z,thickness...]
### Geometry
[1, vertex_amount, face_amount, ... faces in index_a, index_b, index_c ..., ... vertices in x,y,z,x,y,z ..., ... normals in x,y,z,x,y,z ...]
### Instances
[
2,
vertex_amount,
face_amount,
instance_amount,
stem_depth,
...faces...,
...vertices...,
...normals...,
...4x4 matrices for instances...
]