POV-Ray : Newsgroups : povray.newusers : sphere sweeps Server Time
29 Nov 2024 14:43:17 EST (-0500)
  sphere sweeps (Message 1 to 2 of 2)  
From: Mike Faneros
Subject: sphere sweeps
Date: 30 May 1998 22:51:25
Message: <3570C5AC.36FFC0C5@whodu.edu>
Can anyone help me figure out what's wrong with this sweep?  It seems to
work fine with a linear_sphere_sweep, but catmull_rom and b_spline
sweeps give me an error "Attempt to maloc zero size block..."  Maloc?
Any hints?

sphere_sweep {
  b_spline_sphere_sweep
  3,
  <0, .5, 0>, .5
  <.75, 0, 0>, .25
  <0, -1, 0>, .01
  texture { pigment { color Black } }
  finish { phong .4 }
}

The idea is to have two of these for a yin-yang symbol...

See ya...
Mike

Antispam: make whodu.edu->ou.edu


Post a reply to this message

From: Jerry Anning
Subject: Re: sphere sweeps
Date: 31 May 1998 00:37:07
Message: <3570DE73.EE9F6D2B@dhol.com>
Mike Faneros wrote:
> 
> Can anyone help me figure out what's wrong with this sweep?  It seems to
> work fine with a linear_sphere_sweep, but catmull_rom and b_spline
> sweeps give me an error "Attempt to maloc zero size block..."  Maloc?
> Any hints?
> 
> sphere_sweep {
>   b_spline_sphere_sweep
>   3,
>   <0, .5, 0>, .5
>   <.75, 0, 0>, .25
>   <0, -1, 0>, .01
>   texture { pigment { color Black } }
>   finish { phong .4 }
> }
> 
> The idea is to have two of these for a yin-yang symbol...

Catmull-Rom and B-Spline are cubic forms of interpolation.  You need at
least 4 spheres to use either one (and 2 spheres to use linear).  Good
luck.

Jerry Anning
cle### [at] dholcom


Post a reply to this message

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