POV-Ray : Newsgroups : povray.advanced-users : Pigment along a sphere_sweep : Re: Pigment along a sphere_sweep Server Time
6 Oct 2024 12:49:24 EDT (-0400)
  Re: Pigment along a sphere_sweep  
From: Florian Brucker
Date: 24 Feb 2007 06:20:53
Message: <45e01f95$1@news.povray.org>
Tim Attwood wrote:
>> ... I tried to transform the spline coordinates to something more
>> accessible, but that fails because one has no possibility to know how
>> far on the spline a given point (x,y,z) is.
> 
> This macro can estimate the distance between points on a spline
> by summing the linear distance between a number of sub-points.

Yep, at parse time, that is. Unfortunately I'd need that information at
render time in the pigment function. Perhaps I'll be able to put
something together from it, though. Thanks!


Regards,
Florian


Post a reply to this message

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