POV-Ray : Newsgroups : povray.binaries.images : YATM : Re: YATM Server Time
1 Aug 2024 22:20:18 EDT (-0400)
  Re: YATM  
From: Kirk Andrews
Date: 5 Jun 2008 22:00:00
Message: <web.48489920de6841fda5d4a01d0@news.povray.org>
Ok, here's my problem right now:

My tree and branches are made by following along a spline, placing vertices at a
specified radius in a circle around the spline.  In order for the branches to
have a consistent radius, I need the plane on which each circle of vertices
rests to be perpendicular to the the direction of the spline.

I thought that would be simple enough, but I'm having trouble.  I've been trying
to use vcross() to get an perpendicular axis to rotate a vector around, but
every time the spline changes direction, the axis will flip and therefore so
does the order of my vertices.  The result is an effect similar to twisting a
tube balloon.

Am I making any sense?  Any help?  Any simple solution that I'm just not seeing?


Post a reply to this message

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