POV-Ray : Newsgroups : povray.advanced-users : 3d polygons made by mesh Server Time
25 Dec 2024 12:26:35 EST (-0500)
  3d polygons made by mesh (Message 1 to 3 of 3)  
From: Eitan Tal
Subject: 3d polygons made by mesh
Date: 26 Feb 2000 14:29:49
Message: <38B82920.4AF0416A@netvision.net.il>
There are only 2d polygons in povray, why don't they have any 3d
polygons?
it can be done very easily with mesh.

I am just asking why nobody tried to make a small inc file that will do
that.
is it impossible somewhy? a bug? because I'd like to try to do a one,
that should not be too hard


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: 3d polygons made by mesh
Date: 26 Feb 2000 15:07:02
Message: <38b83266@news.povray.org>
In article <38B82920.4AF0416A@netvision.net.il> , Eitan Tal 
<eit### [at] netvisionnetil>  wrote:

> There are only 2d polygons in povray, why don't they have any 3d
> polygons?
> it can be done very easily with mesh.
>
> I am just asking why nobody tried to make a small inc file that will do
> that.
> is it impossible somewhy? a bug? because I'd like to try to do a one,
> that should not be too hard
>

Not impossible, but a polygon is not clearly defined if it is not planar.
You can verify this easily with a piece of paper (US Letter size or A4 work
well) which is a four edge polygon.  Hold it on the diagonal edges. If you
pull carefully would will see that the other two edges fall downward. Now
push instead. The edges still fall downward but the shape changes.
Now imagine four points defining the edges. No matter what you do, you can
still construct the mesh in two ways - which one is correct?  None, there is
no rule that can help you.
As you see, the surface of a polygon is not clearly defined, there are
several correct solutions (the more points the more answers).


       Thorsten


Post a reply to this message

From: Nieminen Juha
Subject: Re: 3d polygons made by mesh
Date: 27 Feb 2000 08:13:24
Message: <38b922f4@news.povray.org>
Eitan Tal <eit### [at] netvisionnetil> wrote:
: There are only 2d polygons in povray, why don't they have any 3d
: polygons?
: it can be done very easily with mesh.

  How do you triangulate the non-planar polygon? There is more than one
way to do it. How should povray do it? What if it does it in the way you
don't want it to do?

: is it impossible somewhy? a bug?

  Why do you call a missing feature a bug?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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