POV-Ray : Newsgroups : povray.binaries.scene-files : Bicubic patches won't "stick" : Re: Bicubic patches won't "stick" Server Time
26 Apr 2024 21:04:59 EDT (-0400)
  Re: Bicubic patches won't "stick"  
From: Bald Eagle
Date: 11 Mar 2016 12:10:00
Message: <web.56e2fb502f1b67735e7df57c0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:

> It's not the uv_vectors you need to rearrange -- it's the control points.
> Flip these points around the diagonal.

Hmmm.   Interesting.
That seems to be ... right-handed rule, no?

  <-2, 0,  2>, <-2, 0,  1>, <-2, 0, -1>, <-2, 0, -2>,
  <-1, 0,  2>, <-1, 0,  1>, <-1, 0, -1>, <-1, 0, -2>,
  < 1, 0,  2>, < 1, 0,  1>, < 1, 0, -1>, < 1, 0, -2>,
  < 3, 0,  2>, < 3, 0,  1>, < 3, 0, -1>, < 3, 0, -2>

Moving left to right across the rows:
u gets defined in the POV -z direction,
(1st finger)

Moving top to bottom down the columns:
v gets defined in the POV +x direction,
(2nd finger)

and so u x v is in the +y direction
(thumb)


Has anyone written a matrix / array transposition macro for POV-Ray?


Post a reply to this message

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