I'm currently developing a tool, that allows users to generate simple textured 3D models given an image and some dimensions as input values.
Using these I need to generate some simple geometric shapes with a material based on that texture. This is currently limited to cuboids, but I'd like to keep the option to generate more complicated shapes in the future. The resulting files then need to be exported in glb
format.
The service is currently written in Golang and I use a gltf library to manually generate the resulting files. This works for my simple cuboids, but I feel like it would get complicated very quickly if I'd like to construct more complicated structures. Therefore I'm looking for some higher level of abstraction.
For all models I plan to generate, it would be possible to construct templates in Blender beforehand. These templates would only need to be rescaled and the images of the textures would need to be swapped out.
To summarize:
I need:
- 3D model generation or manipulation
- 3D model texturing / image texture manipulation
- Programm controllable
glb
export
Nice to have:
- Direct integration with Golang (e.g. go library)
- Resource-efficient (fast, low CPU and RAM usage)