POV-Ray : Newsgroups : povray.newusers : Turn a torus : Re: Turn a torus Server Time
30 Jul 2024 10:17:20 EDT (-0400)
  Re: Turn a torus  
From: Oleguer Vilella
Date: 28 Sep 2004 13:55:29
Message: <4159a591@news.povray.org>
I did an other render and I put it on the binaries.images, I think it can
helps.
I want to do it with the torus, my torus is straight and I want to make an
angle, like on my render.
Tor Olav helpped me to do a render looks like it.



news:4159970b@news.povray.org...
>
> "Oleguer Vilella" <ole### [at] infonegociocom> wrote in message
> news:41597ab8$1@news.povray.org...
> > Yes, of course.
> >
> >
> >

> > news:Xns95726884FCF83seed7@news.povray.org...
> > > in news:4159053a@news.povray.org Oleguer Vilella wrote:
> > >
> > > > Maybe now is more clear...
> > > >
> > >
> > > Could you make a drawing and post it to the images group?
> > >
> > > Ingo
> >
> >
>
> Hi Oleguer,
>
> Your original object cut a torus in two, scaled it (non uniformly) then
> rotated it and translated it.
>
> Your drawing ("My Torus - Straight") seems to be scaled uniformly, and cut
> differently. Your second drawing ("An angle") seems to me to be the same
> shape rotated about 45 degrees towards the camera so the middle looks
fatter
> because it's closer to the camera.
>
> If that is what you want, then this scene should do it for you:
>
> camera {
>   location  <0.0, 0, -0.8>
>   look_at   <0.0, 0.0,  0.0>
> }
>
> light_source { 0 color rgb 1
>   translate <-30, 30, -30>
> }
>
>
> #declare myBridge = difference {
>   // Create a torus and move it left of the origin
>   torus { .3, .04  translate -x*0.1}
>   // Cut away using a vertical plane rotated by
>   // 25 degrees around vertical axis
>   plane { x, 0 rotate y*25}
>   // Cut away using a second plane rotated by -25
>   // degrees around the vertical axis
>   plane { x, 0 rotate -y*25}
>   pigment {color rgb <1,0,0>}
> }
>
> object {myBridge rotate <-90,180,0> }
> object {myBridge rotate <-90,135,0> translate x*0.25}
>
>
> Good luck.
>
>
>


Post a reply to this message

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