Increase lattice subdivisions upper limit
My sugestion is that either the upper limit in each dimension is removed and the artist is trusted know the limits of their own machine (perhaps with a warning) when seting lattice subdivisions. Or the lattice dimensions are constrainted using the total number of points in the lattice rather than the number of divisions per axis. For example, tha artist could be allowed to use 262144 points in total, which could be 64x64x64 or it could be 512x512x1
I believe the 64 division limit for lattices was introduced when lattices were first implemented in Blender. Roughly version 2.50, about a decade ago. Computers are significantly more powerful than they were 10 years ago and modest modern computers have no problem with a 64x64x64 lattice.
Moreover. A lattice doesn't even need to have three equal dimensions, so, while you might argue that a lattice of 64x64x64 with 262,144 control points might be taxing for some systems. A lattice of 64x64x1 would only have 4096 points, yet it would still be bound by the 64 division limit in any dimension.
But, you might say, typically lattices aren't used at such high densities, so what's the point? As a forum responder wrote...
"yeah, if you’re hitting that limit, you should probably change your workflow"
However, I have a genuine, albeit novel, use-case for a large 2 dimensional lattice relating to a non-destructive, precisely controlled manipulation of a landscape-type-mesh for a game. At the moment I can use a surface deformation modifier, but that allows for very limited control over interpolation and the deformation is poor. Additionally making changes to an already deformed mesh is cumbersome requiring rebinding to the unedited deformer surface. Lattices on the other hand would be perfect for my use-case, results are perfectly smooth and predicable using bspline or cardinal interpolation and changing the underlying mesh is trivial. However the limit of 4096 points in the plane makes this solution unsuitable for me at the moment.
0 Comments