Endless sketchfab

My github code.

Imagine sketchfab with an infinite number of different models! I made a program that would generate all kinds of OBJ models, all kinds of placement of combinations of dots and meshes.

Запись_2024_12_10_05_38_57_797

Maybe someone will continue to implement my idea and come up with a better version of the program, but for now I must continue to move towards the realization of my universal mission…

The probability that a gun-like structure will be generated is a difficult problem because it depends on many factors such as the number of vertices, the number of faces, the range of coordinates, etc.

However, we can try to estimate this probability using some approximate methods.

One way to assess this probability is to use the concept of “complexity” of the structure. The complexity of a structure can be defined as the number of different elements that make up it, such as vertices, faces, edges, etc.

A pistol is a relatively complex structure consisting of many elements, such as a barrel, handle, trigger, etc. Therefore, the probability that a structure resembling a pistol will be generated will be low if the number of vertices and faces is small.

Let’s look at the following assessment:

  1. The probability that a structure consisting of 10 vertices and 10 faces will be generated is approximately 10^(-10), since each vertex and each face have 10 possible locations.

  2. The probability that a structure consisting of 100 vertices and 100 faces will be generated is approximately 10^(-100), since each vertex and each face have 100 possible locations.

As you can see, the probability that a structure resembling a gun will be generated decreases rapidly with an increase in the number of vertices and faces.

However, this is only a rough estimate, and the real probability that a structure resembling a gun will be generated can be much higher if we take into account some features of generating random structures, such as symmetry, repetition, etc.

In general, the probability that a gun-like structure will be generated is very low, but not zero. This means that, although it is very unlikely, it is still possible that a gun-like structure will be generated if we generate a sufficiently large number of random structures.

2 Likes

You can also press the R button to save the OBJ model to the desktop
Запись_2024_12_10_06_02_45_348

1 Like

Now I have added a second version of the program where we could see any OBJ models with any number of vertices, and meshes from 1 to infinity. of the program where there is a level input field in which we can enter the number 1 to infinity, which will be proportional to the number of vertices and meshes.

1 Like

I made the app (Endless sketchfab) now you can download it.

Now the only question is how to find the model we need, and therefore I added functionality so that when we click on the button, a window opens, and we can select the OBJ file so that we can find the exact version of the file by vertices and faces.
Запись_2024_12_16_01_48_26_844
github code

Ah yes, “we don’t look for easy ways” :grin:

Do you know the easier way!? :face_with_raised_eyebrow:

2 Likes

Now you can download the application via the link where did I add this change without SMS and registration of course… :hugs:

Sure. You push buttons until something shows up on a screen. No coding knowledge required!
They say you can write “War and Peace” this way. Eventually.

In order to present the full scale, I made an online version ~> Endless sketchfab on Babylon.js (Version 0) | Babylon.js Playground.

Do you know the easier way!? :face_with_raised_eyebrow:

Certainly not manually obversing a random connection of edges, and clicking “try again” 125,386,365 times until you get an acceptable result.

1 Like