POV-Ray : Newsgroups : povray.general : Can anyone explain this : Can anyone explain this Server Time
13 Aug 2024 01:12:36 EDT (-0400)
  Can anyone explain this  
From: Mick Hazelgrove
Date: 23 Nov 1998 16:24:39
Message: <3659d297.0@news.povray.org>
Can anyone explain why there is a gap between the triangles?

Mick



camera{location  <0.0, 0.5, -20.0>
look_at   <0.0, 0.0,  0.0>
}

light_source{<-30, 30, -30>,color rgb<1,1,1>}

// ----------------------------------------
#declare Roof = union{

#declare Rad = 1.5;
#declare D = Rad*2
#declare Circ = pi*D;
#declare Base = Circ/8;
#declare Height = -1;
#declare Peak = <0,0,0>;
#declare Pt1 = <-Base/2,Height,Rad>;
#declare Pt2 = <Base/2,Height,Rad>;
#declare Count = 0;
#declare Angle = 0;

#while(Count<8)

        object{triangle{Pt1,Peak,Pt2
                rotate y*Angle
                }}

     #declare Count = Count +1;
     #declare Angle = Angle + 360/8;

#end
}

object {Roof pigment{White}}


Post a reply to this message

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