POV-Ray : Newsgroups : povray.binaries.utilities : Bicubic Line include file : Bicubic Line include file Server Time
26 Jun 2024 08:10:11 EDT (-0400)
  Bicubic Line include file  
From: Loial Raven
Date: 8 Jun 2000 13:41:03
Message: <393FDAAE.D23FEBB0@telus.net>
This is a macro that creates bezier lines using the exact same formula
as the bicubic_patch does...
I needed it for some wires in one of my projects, thought other's would
have a use... dono if anything like this is out

It's pretty simple to use... pretty much all you have to do is make an
array with the points, and pass that to the macro with a radius of the
line.

#declare mypoints = array[4] { <-1,0,-1>, <-1,-1,1>, <1,1,-1>, <1,0,1> }

bicubic_line (mypoints, 0.1)

well... have fun with it, and i did not write this, i just converted
it... the code was written by Alexander Enzmann.

   the Loial Raven


Post a reply to this message


Attachments:
Download 'us-ascii' (3 KB)

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