POV-Ray : Newsgroups : povray.binaries.images : Problem with torus : Re: Problem with torus Server Time
18 Aug 2024 06:13:11 EDT (-0400)
  Re: Problem with torus  
From: Ron Parker
Date: 3 Jun 2001 18:27:52
Message: <slrn9hlefb.1ls.ron.parker@fwi.com>
On Sun, 3 Jun 2001 00:27:56 -0500, Bob H. wrote:
>You are witnessing a bug, I believe, with the torus object in POV-Ray
>version 3.1g (also MegaPOV 0.7).  What happens is that the inside/outside
>becomes confused.

For what it's worth, this bug will be fixed in 3.5.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}


Post a reply to this message

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