diff options
author | Rajesh Advani <rajeshja> | 2021-08-30 06:08:57 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-08-30 06:08:57 +0300 |
commit | b44406f9634a35ebe0b4fd334715d63e75af08a0 (patch) | |
tree | 490b61de96e341c5c5eb66621e2e36c7ea5cc34d /source/blender/blenkernel/BKE_blender_version.h | |
parent | b42354672e804be79315315855d105e7d9e11899 (diff) |
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
Diffstat (limited to 'source/blender/blenkernel/BKE_blender_version.h')
-rw-r--r-- | source/blender/blenkernel/BKE_blender_version.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_blender_version.h b/source/blender/blenkernel/BKE_blender_version.h index 315a77499e5..5dc4ebaa7a4 100644 --- a/source/blender/blenkernel/BKE_blender_version.h +++ b/source/blender/blenkernel/BKE_blender_version.h @@ -39,7 +39,7 @@ extern "C" { /* Blender file format version. */ #define BLENDER_FILE_VERSION BLENDER_VERSION -#define BLENDER_FILE_SUBVERSION 19 +#define BLENDER_FILE_SUBVERSION 20 /* Minimum Blender version that supports reading file written with the current * version. Older Blender versions will test this and show a warning if the file |