|
 |
On 7/28/2025 8:58 AM, ingo wrote:
> but so far I don't have an easy way to combine models into one
>> modeling array that would allow for sharp corners.
>
> Mmmm, what about weighting the knots? for maximum smoothness than handles shoud
> be equally long and have the exact opposite direction. Lets call that a weight
> of 1.
>
> Weight of 0 could be handle length 0.0. other weights are interpolation of the
> two extrema.
>
> This scheme is not exact, for example, it does not account for asymmetric
> handles, but it could be a starting point for tinkering.
>
> With a modeller, no idea if it is not build in.
>
> ingo
>
>
>
My rough rough rough idea is to build a copy of the Modeling Grid (which
is a 2D array) with a equally sized grid of <1,1,1,1> values (which
would cover positive and negative U and positive and negative V
weights). When I create the control point grid I create the internal
control points as 1/3rd the distance towards the adjoining point by
default.
So I could multiply that 1/3rd distance by the weight factor, or just
default the weight (or smoothness) factor to 1/3 across the board and
then tighten things up as necessary, making sure to not set any of them
to 0 because that will collapse the bicubic patch. At least, I think it
will break the bicubic patch.
I have to play with it down the road. I'm still trying to mimic Oskar
Stålberg's irregular grids from Townscaper for this project.
Josh
Post a reply to this message
|
 |