POV-Ray : Newsgroups : povray.newusers : Turn a torus Server Time
4 Nov 2024 21:22:32 EST (-0500)
  Turn a torus (Message 1 to 10 of 19)  
Goto Latest 10 Messages Next 9 Messages >>>
From: Oleguer Vilella
Subject: Turn a torus
Date: 25 Sep 2004 12:27:45
Message: <41559c81@news.povray.org>
Hello,

I'm traying to turn this torus like a bridge, but the code that I used
doesn't work right. What's the problem?
====================================
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>
translate y*2*sin(1*2/1*9*pi)*cos(1*0.5/0.9*2*pi)}
 ====================================
I tray it with the translate "y*2*sin(1*2/1*9*pi)*cos(1*0.5/0.9*2*pi)"

Thanks in advance,
Oleguer
http://www.infonegocio.com/oleguervm


Post a reply to this message

From: Warp
Subject: Re: Turn a torus
Date: 27 Sep 2004 09:45:07
Message: <41581962@news.povray.org>
Oleguer Vilella <ole### [at] infonegociocom> wrote:
> I'm traying to turn this torus like a bridge, but the code that I used
> doesn't work right. What's the problem?

  You should be more specific about what you are trying to do. That
description is not clear enough to know.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Oleguer Vilella
Subject: Re: Turn a torus
Date: 27 Sep 2004 10:50:57
Message: <415828d1@news.povray.org>
Well I want to turn the torus like a bridge. In the middle of it. I'm
thinking how can I do it...
Warp, can you tell me where are you from? I put on my web page the people
who are helpping me to make the pictures. What's the right verb: make or do?

Thanks,
Oleguer


news:41581962@news.povray.org...
> Oleguer Vilella <ole### [at] infonegociocom> wrote:
> > I'm traying to turn this torus like a bridge, but the code that I used
> > doesn't work right. What's the problem?
>
>   You should be more specific about what you are trying to do. That
> description is not clear enough to know.
>
> -- 
> #macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb
M()}}
> N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
> N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  -
Warp -


Post a reply to this message

From: Warp
Subject: Re: Turn a torus
Date: 27 Sep 2004 11:02:02
Message: <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

From: Oleguer Vilella
Subject: Re: Turn a torus
Date: 27 Sep 2004 11:11:33
Message: <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

From: Oleguer Vilella
Subject: Re: Turn a torus
Date: 27 Sep 2004 15:00:37
Message: <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

From: Oleguer Vilella
Subject: Re: Turn a torus
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

From: Christopher James Huff
Subject: Re: Turn a torus
Date: 27 Sep 2004 17:19:46
Message: <cjameshuff-759B38.17200427092004@news.povray.org>
In article <41586355@news.povray.org>,
 "Oleguer Vilella" <ole### [at] infonegociocom> wrote:

> 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.

I have absolutely no idea what you're doing with this. It is certainly 
making the problem far more difficult than it needs to be. (For example, 
your XPos is just 5, and ZPos 1.5. I haven't a clue what YPos is 
supposed to be.)

Are you trying to fold a torus? What kind of bridge is it supposed to be 
like? What part has a 45 degree angle? Is 4cm a minor or major radius, 
or something else? What about the middle of it?

You need to give more information about what you want. Repeating the 
same vague description and apparently random bits of code won't work, no 
matter how good your English is.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

From: Oleguer Vilella
Subject: Re: Turn a torus
Date: 28 Sep 2004 02:31:22
Message: <4159053a@news.povray.org>
Ok Christpher,

Well, I want to double or fold (I think the verbs are corrects) this torus

The idea is like a bridge, the bridges make an angle in the middle of it of

Maybe now is more clear...

Thank you very much,
Oleguer









news:cjameshuff-759B38.17200427092004@news.povray.org...
> In article <41586355@news.povray.org>,
>  "Oleguer Vilella" <ole### [at] infonegociocom> wrote:
>
> > 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.
>
> I have absolutely no idea what you're doing with this. It is certainly
> making the problem far more difficult than it needs to be. (For example,
> your XPos is just 5, and ZPos 1.5. I haven't a clue what YPos is
> supposed to be.)
>
> Are you trying to fold a torus? What kind of bridge is it supposed to be
> like? What part has a 45 degree angle? Is 4cm a minor or major radius,
> or something else? What about the middle of it?
>
> You need to give more information about what you want. Repeating the
> same vague description and apparently random bits of code won't work, no
> matter how good your English is.
>
> -- 
> Christopher James Huff <cja### [at] earthlinknet>
> http://home.earthlink.net/~cjameshuff/
> POV-Ray TAG: <chr### [at] tagpovrayorg>
> http://tag.povray.org/


Post a reply to this message

From: ingo
Subject: Re: Turn a torus
Date: 28 Sep 2004 04:16:29
Message: <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


Post a reply to this message

Goto Latest 10 Messages Next 9 Messages >>>

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