POV-Ray : Newsgroups : povray.general : torus, inward/outward tilted : Re: torus, inward/outward tilted Server Time
29 Apr 2024 21:22:58 EDT (-0400)
  Re: torus, inward/outward tilted  
From: Le Forgeron
Date: 17 Jul 2012 10:49:37
Message: <50057b81@news.povray.org>
Le 17/07/2012 16:20, clipka a écrit :
> Am 17.07.2012 11:49, schrieb peter puzzelaar:

>> I would be happy for any advice on how to make a torus which has 2:1
>> ratio of
>> its tube preserved and can be tilted any degrees (0 to 90)
>> inward/outward.
> 
> You won't get far with the torus primitive, but here are a few possible
> approaches:
> 
> * Use an isosurface; you'll need to figure out a function that will
> yield a rotated ellipsis, and combine that with another function to
> generate a surface of revolution.
> 
> * Approximate the shape using a sor or lathe object.
> 
> * Approximate the shape using a mesh.

* Use a poly of fourth order. Might raise to higher order as you deform
it. (polynomial syntax is to be preferred, IMHO)

Guess what ? there is even a basic torus in the wiki page:

> http://wiki.povray.org/content/Documentation:Tutorial_Section_3.2#Poly_Object



Now, If I could only understood the "inward tilted" thing applied to a
torus...


Post a reply to this message

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