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.
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.
This is a continuation of my theme on blenderartists
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:
- 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.
- 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.
In order to present the full scale, I made an online version ~> Endless sketchfab on Babylon.js (Version 0) | Babylon.js Playground.