Converter of a list of vertices and faces to a OBJ model on babylon.js

Many people are wondering how to generate an object from a list of vertices and faces in an OBJ model on babylon.js so I created such a program on babylon playground:

Converter of a list of vertices and faces to a OBJ model on babylon.js | Babylon.js Playground

In the second version, I added the ability to add an image to the generated structure.

Converter of a list of vertices and faces to a OBJ model on babylon.js (Version 2) | Babylon.js Playground

Great, but now we need to make sure that images can also be generated procedurally.

Converter of a list of vertices and faces to a OBJ model on babylon.js (Version 3 - Procedural image) | Babylon.js Playground

To convert an OBJ model to arrays of vertices and faces, you can use my python code:

Convert a blend file to a vertex list and mesh

To convert arrays of vertices and faces to OBJ, you can use my python code:

Converter-of-a-list-of-vertices-and-faces-to-a-OBJ-model

To convert an array of numbers into an image, use my code

image-to-array-massive

To convert an array of numbers into an image, use my python code

array-massive-to-image

maybe someone will come up with some new projects and the project will develop.

5 Likes

Wow, awesome job! Congratulations

Thnaks a lot for sharing it

It turns out that Iā€™m the first one who did this on Babylon.js No one has done this before me!?

We do it often and I liked your playground

https://doc.babylonjs.com/features/featuresDeepDive/mesh/creation/custom/

And what about the pictures!? :thinking:

How do you like my infernal image converter!?