POV-Ray : Newsgroups : povray.binaries.images : lamp scene [0/1] (800x600 jpg ~100k) : Re: lamp scene [0/1] (800x600 jpg ~100k) Server Time
14 Aug 2024 05:13:37 EDT (-0400)
  Re: lamp scene [0/1] (800x600 jpg ~100k)  
From: Alf Peake
Date: 10 Dec 2002 09:28:25
Message: <3df5fa09@news.povray.org>
> spline. I havn't ever used raw triangles in pov nor have i used
splines
> other than that which defined the sphere_sweep. how hard would it be
to do
> such a thing? looking in the docs i just found an example on placing
a
> sphere along a spline, so I guess the hardest part would be
orienting the
> triangles correctly?

I tried this in an attempt to change a sphere_sweep done in Megapov
into a mesh. After seeing a discussion in p.a-u (I think) around 8
months ago, on how to find the tangent to a point on a spline. The
difference between (point) and (point+small_increment) will give a
vector, and you offset your triangle points from this by your required
radius and 90deg.

Hope this makes sense

Alf


Post a reply to this message

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