POV-Ray : Newsgroups : povray.advanced-users : SplineTransform on points? : Re: SplineTransform on points? Server Time
29 Jul 2024 02:24:07 EDT (-0400)
  Re: SplineTransform on points?  
From: Tyler Eaves
Date: 7 Apr 2003 09:05:30
Message: <3e917799@news.povray.org>
ABX wrote:

> On Mon, 07 Apr 2003 07:50:46 -0400, Tyler Eaves <tyl### [at] hotpopcom> wrote:
>> Okay, imagine the following code.
>>
>> #declare myspline = spline{spline stuff...}
>>
>> sphere{<0,0,0>,1
>> Spline_Trans(myspline,.5, y, .1, 0);
>> }
> 
> Sorryy but I still not understand. What's your problem. Except semicolon
> there seems nothing wrong in above syntax. Perhaps you are asking about
> existence of vtransform():
> 
> #declare myspline = spline{spline stuff...}
> sphere{vtransform(<0,0,0>,Spline_Trans(myspline,.5, y, .1, 0)),1}
> 
> ABX

Here's a peak at what I'm doing with all this:

http://bwphosting.com/~tyler/render.png

I'm hardcoding bezier curves in a file, and then have a python script that
makes a POV-Ray spline with lots of points.


Post a reply to this message

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