POV-Ray : Newsgroups : povray.binaries.images : Smoothing bicubic_patchs. A pain. : Re: Smoothing bicubic_patchs. A pain. Server Time
27 Apr 2024 17:12:02 EDT (-0400)
  Re: Smoothing bicubic_patchs. A pain.  
From: Tor Olav Kristensen
Date: 22 Aug 2018 16:40:01
Message: <web.5b7dc6fc9b869b6138c8b7240@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
>...
> Given that a Bezier patch can be interpreted as a Bezier spline in one dimension
> whose control points slide along Bezier splines oriented in the other dimension,
> and that this can be expressed as a parametiric equation, then
>
> It ought to be possible to define a parametric {} object in POV-Ray based on a
> set of control points and the basis functions of the Bezier splines.
>...

Yes, that is possible. Just create 3 bivariate functions with the appropriate
Bernstein polynomials and feed them to the parametric object. But you need
patience for that...


> Then, given a point <m, n> (or <u, v>) on the surface, one could place things ON
> the surface of the patch.

Yes, this image shows some white spheres and cylinders following a path in the
UV-space on the surface of a NURBS-patch:

http://dataduppedings.no/subcube/POV-Ray_Images/NURBS_Grid.jpg

See also the attached image where the I've put some sphere sweeps on a Bezier
patch. (Notice that you can read out the radii for the sphere swept curves
(0.06, 0.46 and 0.48) in the UV-mapped texture.)


>...

--
Tor Olav
http://subcube.com


Post a reply to this message


Attachments:
Download 'sphere sweeps on a bicubic bezier patch.jpg' (333 KB)

Preview of image 'sphere sweeps on a bicubic bezier patch.jpg'
sphere sweeps on a bicubic bezier patch.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.