Current idea is to copy the JSX code from Blender to React Three Fiber. Supporting basic primitives like cube, sphere, cylinder, cone, plane, torus, torusknot, text, etc.
ThreeJS vs Blender Primitives
Blender | Three.js |
---|---|
Cube | Box |
UV Sphere | Sphere |
Icosphere | Icosahedron (20 sides) |
Cylinder | Cylinder |
Cone | Cone |
Torus | Torus (donut) |
Plane | 2D Plane |
Grid | (No direct equivalent) |
Circle | Flat Circle, 2D Disc |
Monkey (Suzanne) | (No direct equivalent) |
(Not applicable) | Dodecahedron (12 sides) |
(Not applicable) | Extruded 2D Shape |
(Not applicable) | Octahedron (8 sides) |
(Not applicable) | Surface (Generated by function) |
(Not applicable) | Tetrahedron (4 sides) |
Text | 3D Text |
Torus | Torus Knot |
Circle | Circle Traced Down a Path |
(Not applicable) | Edges Geometry |
Wireframe | Wireframe Geometry |