POV-Ray : Newsgroups : povray.unofficial.patches : To Warp: sphere-sweep bug : To Warp: sphere-sweep bug Server Time
6 Oct 2024 11:52:54 EDT (-0400)
  To Warp: sphere-sweep bug  
From: JRG
Date: 12 Aug 2001 10:34:29
Message: <3b7693f5@news.povray.org>
Mea culpa, I sent you the fixed version...
I meant, try this:

#version unofficial megapov 0.7;

global_settings {
ambient_light 0
radiosity {}
ini_option "+qr"
}

box {-1,1
scale 12
pigment {rgb 1}}

light_source {
<0,0,0>
rgb 0.7}

#declare oggetto=0;  // 0 sphere_sweep, 1 torus

#if (!oggetto)
sphere_sweep {
catmull_rom_spline_sphere_sweep
6,
<1,0,0>,.1
<0,0,1>,.1
<-1,0,0>,.1
<0,0,-1>,.1
<1,0,0>,.1
<0,0,1>,.1
pigment {rgb x+y}
scale 2
translate -y}

#else

torus {1,0.1
pigment {rgb x+y}
scale 2
translate -y}

#end

camera {location <0,0,-5> look_at 0}


Post a reply to this message

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