POV-Ray : Newsgroups : povray.binaries.utilities : Bicubic Line include file Server Time
17 Jun 2024 08:51:11 EDT (-0400)
  Bicubic Line include file (Message 1 to 1 of 1)  
From: Loial Raven
Subject: Bicubic Line include file
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.