POV-Ray : Newsgroups : povray.binaries.scene-files : Bicubic patches won't "stick" : Re: Bicubic patches won't "stick" Server Time
26 Apr 2024 10:48:14 EDT (-0400)
  Re: Bicubic patches won't "stick"  
From: clipka
Date: 10 Mar 2016 19:26:14
Message: <56e210a6$1@news.povray.org>
Am 10.03.2016 um 20:42 schrieb Bald Eagle:
> clipka <ano### [at] anonymousorg> wrote:
> 
>> Arranging the control points the other way round ("clockwise" vs.
>> "counter-clockwise") should to the job.
> 
> I thought so too, since it ought to be just like triangles, but using either
>   uv_vectors <0,0> <1,0> <1,1> <0,1>
> or
>   uv_vectors <0,0> <0,1> <1,1> <1,0>
> 
> gave me the same result.

It's not the uv_vectors you need to rearrange -- it's the control points.

> bicubic_patch {
...
>   <-2, 0,  2>, <-1, 0,  2>, <1, 0,  2>, <3, 0,  2>,
>   <-2, 0,  1>, <-1, 0,  1>, <1, 0,  1>, <3, 0,  1>,
>   <-2, 0, -1>, <-1, 0, -1>, <1, 0, -1>, <3, 0, -1>,
>   <-2, 0, -2>, <-1, 0, -2>, <1, 0, -2>, <3, 0, -2>

Flip these points around the diagonal.


Post a reply to this message

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