POV-Ray : Newsgroups : povray.general : how to implement it ? polygon and splines : Re: how to implement it ? polygon and splines Server Time
2 Aug 2024 10:22:08 EDT (-0400)
  Re: how to implement it ? polygon and splines  
From: Warp
Date: 16 Nov 2004 07:43:35
Message: <4199f5f7@news.povray.org>
Rafal 'Raf256' Maj <spa### [at] raf256com> wrote:
> This do work if You use  MySpline(i/10) because spline has points 0..1 not 
> 0..10

  Also 'polygon' takes 2-dimensional vectors so it might be necessary to
convert the three-dimensional spline vectors to two-dimensional.

-- 
#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.