POV-Ray : Newsgroups : povray.windows : Wall of China Problem : Re: Wall of China Problem Server Time
28 Jul 2024 16:29:27 EDT (-0400)
  Re: Wall of China Problem  
From: Ronald L  Parker
Date: 8 Jul 1998 01:23:36
Message: <35a5f115.182778068@news.povray.org>
On Tue, 7 Jul 1998 19:27:58 -0700, "David Vincent-Jones"
<geo### [at] galaxynetcom> wrote:

>I am trying to depict a long and complex wall structure that is defined only
>by its center-line in the normal ground plane (x,z)
>The wall has a consistent height (y) and width.
>I am trying to read in this x0,z0,x1,z1......xn,zn array and finish up with
>a povray wall.
>
>Currently the only real solution that I see is to break the wall into
>multiple segments, and calculate a Box element for each leg of the wall
>This is a very tedious solution and creates poor corners.

You could make the corners better by making the box too big, then
clipping it with a plane that bisects the angle between consecutive
segments.

If it doesn't have to work with CSG, you could write a program to
create a mesh.


Post a reply to this message

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