POV-Ray : Newsgroups : povray.binaries.images : tree creation : Re: tree creation Server Time
5 Nov 2024 14:23:16 EST (-0500)
  Re: tree creation  
From: Lawrence W
Date: 16 Aug 2006 15:40:00
Message: <web.44e373cb665c4df48a5251970@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> "Lawrence W" <lwi### [at] csicablenet> wrote:
> > I've posted in the past about learning to create a tree macro all by myself.
> >  My trouble at this point is to figure out how to attach each block of truck
> > to each other when shifted out of alignment, a la not a perfectly straight
> > truck.
> >
> > If you look at the attached image, you'll see I've got a cylinder broken
> > into four chunks, along with a solid cylinder next to it.  I want this to
> > be my trunk.  I'm looking to find out how to properly locate the beginning
> > and end points of each chunk.  That way, I could properly rotate each chunk
> > to meet up with the one below it.
> >
> > Can anyone give me some help?  Thanks!
>
> If you know the coordinates of each point of the trunk, you don'tneed to
> rotate cylinders.  Cylinders do not need to be created vertical. Just
> specify the start and end coordinates and you are done.
>
> -tgq

That's exactly my goal, but also the crux of my problem.  How am I going to
track the start and end coordinates?

.... This may become a rather moot point as I find it MUCH quicker to use
POV-Tree.  Nonetheless, I'm really curious about how to do it from scratch
for the learning potential.


Post a reply to this message

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