POV-Ray : Newsgroups : povray.binaries.images : bezier patch problem : Re: bezier patch problem Server Time
18 Aug 2024 04:14:34 EDT (-0400)
  Re: bezier patch problem  
From: Ron Parker
Date: 25 Jun 2001 12:15:19
Message: <slrn9jeoso.2b8.ron.parker@fwi.com>
On Mon, 25 Jun 2001 00:04:06 -0500, Reusser wrote:
>Here's the image illustrating my problem from povray.general.  In case
>you didn't see that one, I'm looking for a macro that eliminates the
>need to enter the red points manually in the bezier patch.  Thanks.

It looks like, for your application, you can just do simple addition.
If the corner is point "A" and the two adjacent edge points are "B" and
"C", then it would seem that the interior point adjacent to "B" and "C"
would be approximated by B+C-A.

-- 
plane{-z,-3normal{crackle scale.2#local a=5;#while(a)warp{repeat x flip x}rotate
z*60#local a=a-1;#end translate-9*x}pigment{rgb 1}}light_source{-9red 1rotate 60
*z}light_source{-9rgb y rotate-z*60}light_source{9-z*18rgb z}text{ttf"arial.ttf"
"RP".01,0translate-<.6,.4,.02>pigment{bozo}}light_source{-z*3rgb-.2}//Ron Parker


Post a reply to this message

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