POV-Ray : Newsgroups : povray.animations : Drawing lines... : Re: Drawing lines... Server Time
19 Aug 2022 20:17:19 EDT (-0400)
  Re: Drawing lines...  
From: jr
Date: 12 Oct 2019 14:25:01
Message: <web.5da219fbe87d1b89feeb22ff0@news.povray.org>

kurtz le pirate <kur### [at] gmailcom> wrote:
> Hello,
> I have a really stupid question.
> I want to draw a line (a cylinder in fact), between two points in a
> "gradual way". Let us take two points A and B separated by a distance
> DIST and trying to do :
> delta = 0
> while (delta < DIST)
>    draw cylinder from A to A+delta
>    increment delta
> end
> And the 'last' cylinder is draw from A to B.
> I'm lost between 'vnormalize', 'vtransform' and 'reorient' :(
> Probably very easy, but I'm ditching.

couldn't do it myself (haven't the math) but think that the distribution file
"scenes/animations/vect1/vect1.pov" contains the info you're after.

regards, jr.

Post a reply to this message

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