POV-Ray : Newsgroups : povray.newusers : Divide a torus : Re: Divide a torus Server Time
30 Jul 2024 04:23:54 EDT (-0400)
  Re: Divide a torus  
From: Oleguer Vilella
Date: 19 Sep 2004 13:25:15
Message: <414dc0fb$1@news.povray.org>
Ok Warp. I have understood this part. I think the easiest way is difference
a plane.
Thank you.

Regards,
Oleguer


news:414dbf2d@news.povray.org...
> Oleguer Vilella <ole### [at] infonegociocom> wrote:
> > I want a only a half of it.
>
>   A half is very easy: Just difference a plane (or perhaps a box) from it.
> Something like this:
>
> difference
> { torus { r1, r2 }
>   plane { z, 0 rotate y*45 }
>
>   // textures and transformations
> }
>
> -- 
> #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

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