POV-Ray : Newsgroups : povray.programming : Making Torus : Re: Making Torus Server Time
26 Sep 2021 20:28:28 EDT (-0400)
  Re: Making Torus  
From: clipka
Date: 28 Aug 2014 02:02:22
Message: <53fec5ee@news.povray.org>
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.

Post a reply to this message

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