a1studmuffin / SpaceshipGenerator
- понедельник, 20 июня 2016 г. в 03:12:37
Python
A Blender script to procedurally generate 3D spaceships
A Blender script to procedurally generate 3D spaceships from a random seed.
add_mesh_SpaceshipGenerator.zip
from the Releases sectionWatch on YouTube: https://www.youtube.com/watch?v=xJZyXqJ6nog
The following screenshots were created using extreme values for the number of hull segments and asymmetry segments to show how the algorithm works.
Spaceship
before generating a new spaceship. To disable this feature, remove or comment out the call to reset_scene()
around line 735 in the main function.generate_spaceship()
function to always generate the same spaceship. For example, generate_spaceship('michael')
.generate_spaceship()
function takes many more parameters that affect the generation process. Try playing with them!Written for fun as part of the /r/proceduralgeneration June 2016 monthly challenge.
Released under the MIT License.
Authored and maintained by Michael Davies.
GitHub @a1studmuffin Twitter @butterparty
Special thanks to @panzi for bugfixes, a proper GUI and build script.