POV-Ray : Newsgroups : povray.programming : Making Torus : Re: Making Torus Server Time
26 Sep 2021 21:04:45 EDT (-0400)
  Re: Making Torus  
From: bakom
Date: 12 Sep 2014 00:50:00
Message: <web.54127a75100ee5ff2af8b5cb0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 28.08.2014 04:49, schrieb bakom:
> > I am working on a converter that converts the BRL-CAD's objects in our POV-ray
> > format. I am able to convert sphere object of BRL-CAD into POV-ray's.
> > Now, in torus
> > BRL-CAD make a torus by using
> > center point, normal vector, inner radius and outer radius.
> > eg. Center : X Y Z
> > Normal Vector: X Y Z
> > Radius1: r1
> > Radius2: r2
> > I am able to convert it( by avoiding normal of brlcad's object ) but as in
> > BRL-CAD, using normal to torus we can align/rotate torus, is there any way to
> > make torus using normal in POV-ray? There is a rotation macro used to rotate it
> > but I want to use normal vector as it is.
> Nope, you need to apply a rotation.

Ok, but in torus.cpp file
there is a normal vector calculation at line number 358. So can we use it in any
way for making torus?
If plane is formed by using normal so why not torus in POV-ray?(general

Post a reply to this message

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