POV-Ray : Newsgroups : povray.unofficial.patches : REQ: Self-orienting disc primitive : Re: Self-orienting disc primitive Server Time
2 Sep 2024 12:15:58 EDT (-0400)
  Re: Self-orienting disc primitive  
From: Eric Freeman
Date: 2 Feb 2000 00:56:02
Message: <3897c6f2@news.povray.org>
"Ken" <tyl### [at] pacbellnet> wrote in message
news:3897A5DD.B05FCB9E@pacbell.net...
>
> Bob Hughes wrote:
> >
> > Nice idea, 'orient' keyword for all objects might
> > be interesting.
>
> There is an orient keyword - it's called rotate.

disc {
  <0,0,0>, <0,0,1>, 10
  translate <0,0,-30>
  rotate x*45
  rotate y*45
}

Change the translate and rotate amounts to position it... it will "point" to
<0,0,0>.

Eric
--------------------
http://www.datasync.com/~ericfree
--------------------
"The whole problem with the world is that fools and fanatics are always so
certain of themselves, but wiser people so full of doubts."
--Bertrand Russel


Post a reply to this message

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