POV-Ray : Newsgroups : povray.newusers : Toruses are making me cry. : Re: Toruses are making me cry. Server Time
2 Nov 2024 03:17:25 EDT (-0400)
  Re: Toruses are making me cry.  
From: JohnK
Date: 14 Sep 2004 14:40:00
Message: <web.41473a5fe713e40a4538baeb0@news.povray.org>
I'm very new too.  I ran the code you gave and it is indeed black.  It is
because the torus is too big so it blocks the camera.  I played with the
size and it renders fine.

I tried with the sizes and some translating real quick and got this...


#include "colors.inc"

camera {
        location <-2,1,-4>
        look_at <0,0,0>}

light_source { <4,2,-1> White
       }

plane {<0,1,0>, -1 pigment {checker Blue White}}
        cylinder {<0,-1,0>, <0,-.9,0> 2 pigment {White}}
        torus { .5, .49 pigment { White }
        translate <0, -1, 0>
}


Post a reply to this message

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