BGimeno <bru### [at] gmailcom> wrote:
> Can someone think of a better way for cover the gaps left by these
> sphere_sweep (cubic_spline) curves with bicubic_patch?.
> ...
> ...
> If it is mathematically impossible to make a perfect circle based on
> patches, I suppose that the task of adjusting them smoothly to this form
> can not be carried out either.
>
> Any help or idea to the respective one is welcome, thank you very much
> in advance.
If you add more patches, your cross sections can get very close to circles.
In the two 'Bezier_Patches_Stitched' images here:
http://dataduppedings.no/subcube/POV-Ray_Images/
- I have tried to show how one can construct the control grid so that the
patches are joined smoothly. All the 8 control points surrounding each corner of
the patches are placed in the same plane.
The 'Bezier_Patches_Torus' image shows a torus that is made with individually
colored bicubic Bezier patches. I made some macros that stitches together the
patches automatically. (The macro takes an array with the positions of the white
spheres as an argument.)
I finally found the source code for these images (that I made back in 2003), so
I've now made some more images where I've tried to illustrate this better.
I'll post them here.
--
Tor Olav
http://subcube.com
Post a reply to this message
Attachments:
Download 'bicubicbezierpatches.png' (397 KB)
Preview of image 'bicubicbezierpatches.png'
|