POV-Ray : Newsgroups : povray.binaries.images : More Bicubic Patches - 3 attachments : More Bicubic Patches - 3 attachments Server Time
14 Nov 2024 16:26:07 EST (-0500)
  More Bicubic Patches - 3 attachments  
From: Tor Olav Kristensen
Date: 29 Dec 2003 00:43:35
Message: <3fefbf07@news.povray.org>
- But only a few this time.

The first image shows some bicubic patches
stitched together by a macro I made.

The second image also shows the grid that is
used to control all the patches.

And the thrid shows it all from above.

The heights around this "circle" is controlled
by entries in an array:

array[13][8] {
  {  0,  0,  0,  0,  0,  0,  0,  0 },
  {  0,  0,  0,  0,  0,  0,  0,  0 },
  {  0,  0,  0,  0,  0,  0,  0,  0 },
  {  2,  2,  1,  1,  1, -2,  2,  2 },
  {  2,  2,  1,  1,  1, -3,  2,  2 },
  { -2, -2,  0,  1,  0, -3,  1, -2 },
  {  1,  1,  1,  1,  3, -3,  1,  1 },
  {  1,  1,  1, -1,  4, -3,  1,  1 },
  {  2,  2, -1,  0,  2, -3,  2,  2 },
  {  2,  2, -1,  0,  2, -2,  2,  2 },
  {  0,  0,  0,  0,  0,  0,  0,  0 },
  {  0,  0,  0,  0,  0,  0,  0,  0 },
  {  0,  0,  0,  0,  0,  0,  0,  0 }
}

If you look at the grid you may find the
different heights around it.

The camera is set to orthographic for all the
three scenes, so the "perspective" may look a
bit odd.


Tor Olav


Post a reply to this message


Attachments:
Download 'Patch03_12.jpg' (28 KB) Download 'Patch03_13.jpg' (71 KB) Download 'Patch03_14.jpg' (80 KB)

Preview of image 'Patch03_12.jpg'
Patch03_12.jpg

Preview of image 'Patch03_13.jpg'
Patch03_13.jpg

Preview of image 'Patch03_14.jpg'
Patch03_14.jpg


 

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