Releases: ldo/blender_spaceship_generator
Fix For Newer Blender
Update For Blender 3.0
Update for fix to misnamed keyword arguments in Blender 3.0. Unfortunately this is not backward-compatible with pre-3.0 Blender.
Update For Blender 2.93
Blender no longer recognizes “Non-Color” colourspace for non-colour image textures, call them “Linear” instead.
Minor Material Improvements
The grunge factor is now part of the common colour-scheme node group. Add material settings to make them look nicer with the Workbench renderer.
Further Material Improvements
There is now an additional metallic material used for the antennas. The newly-created spaceship can be aligned to the world, view or 3D cursor. The unlit part of the hull-lights material is now a better match for the rest of the hull. The grunge factor now reduces the glossiness of hull materials, and also affects the hull lights. The redo panel now lets you expand/collapse the details of the hull materials. There is now a common colour-scheme node group, so you can come back and edit the hull colours in one central place after the redo panel has gone.
Material Improvements
The redo box now has a nicer parameter layout. The bevel modifier should now be more prominent without clamp-overlap in effect. The material grunge factor now affects material colour rather than normals. Hull material colours are now directly-editable properties, randomly (re)initialized every time a new spaceship is created, rather than indirectly depending on an editable random seed.
Grunge Control
Add a Material Grunge factor. This used to be baked into the normal-map image.
The addon now shows a custom icon in the Add-Mesh menu.
Material Bugfix
I had forgotten to set the normal map on the emissive (windows) hull material. This fixes that. Also the demo script sequence has been separated from the addon proper, reducing the size of the latter by about 150 lines. The demo is still available in the source code.
Separate Random Seeds For Geometry Versus Materials
Use separate random sequences for geometry versus materials, and keep seed values on redo (letting user edit them if desired) so spaceship design only has to change on each new invocation.
The default seeds are integers of up to 6 digits, but you can type in anything you like.
Fix For Intermittent Segfaults
This small update should fix occasional crashes that happen during the material setup. Also other objects in the scene are now deselected, leaving only the newly-created spaceship selected, which is more normal behaviour for an object-creation function.