POV-Ray : Newsgroups : povray.programming : 3D-Polygons Server Time
24 Dec 2024 12:13:11 EST (-0500)
  3D-Polygons (Message 1 to 3 of 3)  
From: Snowman
Subject: 3D-Polygons
Date: 11 Mar 2001 14:36:13
Message: <3aabd3ad$1@news.povray.org>
Can you program a polygon so that it lies in a three dimensional plane, i.e.
not on the x-y axis?


Post a reply to this message

From: Warp
Subject: Re: 3D-Polygons
Date: 11 Mar 2001 16:53:17
Message: <3aabf3cc@news.povray.org>
Snowman <sno### [at] somewherecom> wrote:
: Can you program a polygon so that it lies in a three dimensional plane, i.e.
: not on the x-y axis?

  You can rotate objects.

-- 
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/


Post a reply to this message

From: Chris Huff
Subject: Re: 3D-Polygons
Date: 11 Mar 2001 17:17:01
Message: <chrishuff-8C4AED.17131511032001@news.povray.org>
In article <3aabd3ad$1@news.povray.org>, "Snowman" 
<sno### [at] somewherecom> wrote:

> Can you program a polygon so that it lies in a three dimensional plane, 
> i.e. not on the x-y axis?

I don't think you can do so directly, but as Warp said, you can use the 
rotate command to do what you want. Or you may be able to do what you 
want with triangles, which are not constrained to any particular plane.
BTW, this group is for discussion about the POV-Ray source code, not 
scene description language help. For a question like this, you want 
povray.newusers.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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