Blender Git Commit Log
Git Commits -> Revision b44406f
Revision b44406f by Rajesh Advani (master) August 30, 2021, 03:08 (GMT) |
Geometry Nodes: Enhance the cube mesh primitive as a cuboid This mesh primitive enhances the Cube mesh primitive and allows the creation of a cuboid with a configurable size and number of vertices in all 3 directions. The Cube primitive is now similar to the Grid primitive except that it works in 3 dimensions. Previously it was possible to create a cube and scale it arbitrarily along each axis. You could also subdivide the mesh, but the number of subdivisions was equal along all axes. This meant that making the basic frame for something like modular buildings wasn't trivial. Inspired by tutorials and files for modular building creation. The cuboid is created as a `Mesh` so that large meshes with millions of faces are created quickly. Though edge calculation could be faster if implemented here, edges are calculated using `BKE_mesh_calc_edges` to reduce complexity, and in hopes that they may be calculated lazily for `Mesh` in the future like vertex normals. See the differential revision for more information. Differential Revision: https://developer.blender.org/D11810 |
Commit Details:
Full Hash: b44406f9634a35ebe0b4fd334715d63e75af08a0
Parent Commit: b423546
Committed By: Hans Goudey
Lines Changed: +508, -35
7 Modified Paths:
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+51, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_bounding_box.cc (+2, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cube.cc (+441, -26) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_grid.cc (+4, -4) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_line.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/node_geometry_util.hh (+8, -1) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+51, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_bounding_box.cc (+2, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cube.cc (+441, -26) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_grid.cc (+4, -4) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_line.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/node_geometry_util.hh (+8, -1) (Diff)