A procedural revolver
Driven by interest in automatic asset generation at work, i decided to venture a bit elsewhere. I chose to build a revolver as they are a bit harder to do than pistols and have a larger variety.
I learned fast that booleans are an essential part here - as I recently learned about OpenVDB, i decided to create a voxel model so the boolean operations would be rock-solid.
The drum
With grooves (here: six-shooter configuration)
The frame sucks a lot.
Here is some logic:
The drum drives the frame and the barrel, supplying info about bore location, spin axis and cutout bounding box for the frame.
Some refinements for the trigger guard setup.
More updates.
Some early configurations