POV-Ray : Newsgroups : povray.binaries.images : Turn a torus from newusers : Re: Turn a torus from newusers Server Time
7 Nov 2024 07:30:41 EST (-0500)
  Re: Turn a torus from newusers  
From: Anthony D  Baye
Date: 28 Sep 2004 14:01:24
Message: <4159A6F1.9D921F60@gold.sdsmt.edu>
Is this what you were trying to do?

camera {
 location  <0.0, 0.0, -10.0>
 look_at   <0.0, 0.0, 0.0>
 }

light_source {
 <-25.0, 15.0*ft, -10.0*ft>
 color rgb 1.0
 }

#declare T_Section =
difference {
 torus { 1.5, 0.25 rotate 90.0*x }
 box { <-1.78125, -1.78125, -0.28125> <1.78125, 0.0, 0.28125> rotate
45.0*z }
 box { <-1.78125, -1.78125, -0.28125> <1.78125, 0.0, 0.28125> rotate
-45.0*z }
  translate <-1.5*cos(radians(45)), -1.5*sin(radians(45)), 0.0>
 }

#local a = -1 ;
#while(a <= 1)

object {
 union {
  object { T_Section }
  object { T_Section rotate 180.0*z }
  }
  pigment { White }
   translate 4*(1.5*cos(radians(45)))*a*x
 }

#local a = a + 1 ;
#end

Render below.

ADB

Oleguer Vilella wrote:

> An other render. Hope it helps.
>

> news:415984e9@news.povray.org...
> > Hope now is better... and I hope that you understand my picture.
> >
> > Thanks to all the people.
> >
> >
> >
>
>  [Image]


Post a reply to this message


Attachments:
Download 't_transform.jpg' (13 KB)

Preview of image 't_transform.jpg'
t_transform.jpg


 

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