POV-Ray : Newsgroups : povray.advanced-users : Bicubic patch macro : Re: Bicubic patch macro Server Time
29 Jul 2024 14:22:09 EDT (-0400)
  Re: Bicubic patch macro  
From: Warp
Date: 10 Feb 2002 13:55:31
Message: <3c66c223@news.povray.org>
Rune <run### [at] mobilixnetdk> wrote:
: Make a macro takes 16 points as input and then creates a mesh similar to the
: corresponding bicubic patch.

  Colefax's PCM macros can place objects on the surface of a bicubic patch.
Thus it should be rather easy to adapt it to calculate vertex point on the
surface of the bicubic patch.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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