POV-Ray : Newsgroups : povray.newusers : Turn a torus : Re: Turn a torus Server Time
2 Nov 2024 03:14:48 EDT (-0400)
  Re: Turn a torus  
From: Oleguer Vilella
Date: 27 Sep 2004 15:46:13
Message: <41586e05@news.povray.org>
Well... It isn't correct. I'm thinking...
=============================
difference {
torus { .3, .1 } plane { z, 0 rotate y*90} texture { T_Gold_1D } finish {
specular 1 ambient 0.9 reflection .001 phong 0.3 phong_size 30 }
scale 0.7 scale <1.5, 1, 9> translate <3, 2, 0> rotate <90, 180, 0>
#macro MakeMany (Stuff, amplitude)
#while (4 < 6 )
#local YPos = amplitude*sin(1*4/5*9*pi)*cos(1*0.5/6*2*pi);
#local XPos = (1+2*2);
#local ZPos = (1+0.5*1);
object {
         Stuff
         translate <xPos, yPos, zPos>
         rotate 29*x
       }
#local 0.5 = 0.5 + 1;
#end
#local 4 = 4 + 1;
#end
}
#declare amplitude = 40;
==================================









news:41586355@news.povray.org...
> I think that I have to do a macro...
> I trayed with it:
> ======================================
> #local YPos = y*9*sin(1*4/5*9*pi)*cos(1*0.5/6*2*pi);
> #local XPos = (1+2*2);
> #local ZPos = (1+0.5*1);
> ======================================
> I'm going to do a macro.
>
>

> news:41582da5$1@news.povray.org...
> > Well, I'm sorry, maybe is my English...
> > I want to double the torus. I want make an angle in the middle of the
> torus
> > like a bridge. For exemple: if the torus has 4cm I want to make an angle
> of

> > Can you tell me where are you from please? In that way I can put you in
my
> > web page on the gratitudes. I like to put all the people who are
helpping
> me
> > to do the pictures.
> >

> > news:41582b6a@news.povray.org...
> > > Oleguer Vilella <ole### [at] infonegociocom> wrote:
> > > > Well I want to turn the torus like a bridge. In the middle of it.
> > >
> > >   Sorry, I might be unusually obtuse today, but I still don't
understand
> > > what you mean...
> > >
> > > -- 
> > > #macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N
> color_map{[0rgb
> > x]
> > > [1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end
M(-3<1.206434.28623>70,7)M(
> > > -1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// -
> > Warp -
> >
> >
>
>


Post a reply to this message

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