POV-Ray : Newsgroups : povray.general : Is it possible to move a torus? : Re: Is it possible to move a torus? Server Time
5 Aug 2024 20:23:32 EDT (-0400)
  Re: Is it possible to move a torus?  
From: Dave Dunn
Date: 2 Aug 2002 12:28:36
Message: <3D4AB315.5D76F0DE@aol.com>
Christopher James Huff wrote:

> Look up the "translate" transform:

The other option, of course, would to be to write a macro called Torus that
lets you supply the start coordinates (yes, I know expressed as a
translation), and normal axis (a rotation), as well as the inner and outer
radii. Something like: Torus(Maj_Rad, Min_Rad, Location, Normal). As part of
an included file, this would make using torus a bit more intuitive, and in
keeping with the syntax of most other primitives.

Dave


Post a reply to this message

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