Skip to content

Commit

Permalink
Update geometry-tips.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwardMoyse authored May 13, 2024
1 parent 13cdc34 commit c246442
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion guides/developers/geometry-tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ One big advantage of gltf/glb is Phoenix can use the embedded GLTF scenes to pop

you can instead load _one_ file, and Phoenix will loop over the internal structure and create the appropriate geometry UI entries. See the LHCB interactive example for how this works in practice (specifically, [lhcb.component.ts](lhcb.component.ts) is where the geometry is loaded).

It is also discussed [here](https://github.com/HSF/phoenix/blob/main/guides/users.md#phoenix-menu-definition-in-gltf).

# Creating gltf/glb content
## Blender
[Blender](https://www.blender.org) is an incredibly powerful _free_ tool to create 3D content. It also has an comprehensive set of importers and exporters (including an gltf exporter, obviously) meaning you can load content from almost any format and save it as compressed glb. It also understands scenes (see the Blender [documentation](https://docs.blender.org/manual/en/latest/scene_layout/scene/introduction.html) for more), so you can load many different geometry files, put them in their own scenes and export, and then Phoenix will fill the geometry UI menu for you as described above.
Expand All @@ -38,4 +40,4 @@ Converting a gltf to glb, especially compressed glb, can lead to huge reductions
The recommended way to do this is with the [gltf-pipeline](https://github.com/CesiumGS/gltf-pipeline) command line tool e.g.:
```
gltf-pipeline -i LHCb.gltf -o LHCb.glb -d
```
```

0 comments on commit c246442

Please sign in to comment.