POV-Ray : Newsgroups : povray.unofficial.patches : To Warp: sphere-sweep bug Server Time
1 Nov 2024 03:14:57 EDT (-0400)
  To Warp: sphere-sweep bug (Message 1 to 3 of 3)  
From: JRG
Subject: To Warp: sphere-sweep bug
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

From: Warp
Subject: Re: To Warp: sphere-sweep bug
Date: 12 Aug 2001 19:56:15
Message: <3b77179f@news.povray.org>
Can you explain what's the bug here?

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: JRG
Subject: Re: To Warp: sphere-sweep bug
Date: 13 Aug 2001 07:50:57
Message: <3b77bf21$1@news.povray.org>
In the unofficial version, if you choose sphere-sweep, then you got a really
too bright yellowish radiosity.

"Warp" <war### [at] tagpovrayorg> ha scritto nel messaggio
news:3b77179f@news.povray.org...
>   Can you explain what's the bug here?
>
> --
> #macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
> rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
> ],13),8)-3,10>#end blob{N(array[6]{11117333955,
> 7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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