Creating architecture from a picture! Turn an image into an structure (Makarov version)

As always, if I didn’t find it, I created it! Creating an image via the URL field.Although maybe I’m just not looking for what I need.

In the first version, I made it possible to generate an image on a plane by inserting a URL into the input field in the lower-right corner of the screen. To do this, copy the URL and paste it there, then press enter.

Creating an image via the URL field | Babylon.js Playground

In the second version, I made it possible to generate objects from images, and where black is drawn, there will be black cubes, which creates an architecture.

Creating architecture from a picture! | Babylon.js Playground

Creating architecture from a picture but these are OBJ structures instead of cubes!

Creating architecture from a picture but these are OBJ structures! | Babylon.js Playground

As an example, you can take https://i.postimg.cc/W3sNxLkd/wall.jpg it as an example and paste it into the field.

1 Like

This is pretty

1 Like

Great, you did what I couldn’t do, but the input field doesn’t work in your code! We need to fix this shortcoming.

Creating architecture from a picture - final version! | Babylon.js Playground

I also added a send button ‘OK’ for the really dumb ones.

Thanks!