POV-Ray : Newsgroups : povray.general : Convert Heightfield-like data to Nurbs? : x-spline [was: Convert Heightfield-like data ...] Server Time
4 Aug 2024 22:16:35 EDT (-0400)
  x-spline [was: Convert Heightfield-like data ...]  
From: ingo
Date: 17 Apr 2003 14:53:09
Message: <Xns9360D4E8EEA3Cseed7@povray.org>
in news:odpt9vk3db9stlv425uh6ckjvie7qbn1sk@4ax.com ABX wrote:

> On Wed, 16 Apr 2003 20:50:34 +0200, ABX <abx### [at] abxartpl> wrote:

> extended_x_spline type
> http://news.povray.org/povray.binaries.animations/31278/222366/extende
> d_x_spline.mpg 
> http://news.povray.org/povray.binaries.images/31279/222367/extended_x_
> spline.png 
> 

X_celent. Both scenes show pretty good what x-splines are capable of.

With all those new spline types I think it could be usefull to have an SDL 
option to determine the type of a declared spline. Although I don't see an 
immediate application for it now, it could be used to trigger switches in 
a macro.

#declare SPL = spline {
    	general_x_spline
    	<...> ...
}

#declare TYPE = splinetype(SPL);

where splinetype returns a value or a string that identifies the type of 
spline used.


Ingo


Post a reply to this message

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