POV-Ray : Newsgroups : povray.newusers : Extruded polygons Server Time
1 Nov 2024 06:20:39 EDT (-0400)
  Extruded polygons (Message 1 to 6 of 6)  
From: feraudyh
Subject: Extruded polygons
Date: 20 Apr 2010 07:25:00
Message: <web.4bcd8ed031f0dd8c4d6c0ba80@news.povray.org>
Hello,
  Apart from suing POV for fun, I have a very simple professional need:

I need to display some extruded polygons that lie in a plane, each with its own
height. Each polygon represents the base of a building, and the height is the
height of the building. In other words I wish to display a 3D view of a
district.

I used to program in POV ray about 15 years ago and have not practiced since.
I have a book called Ray Tracing Creations from the Waite Group. Is this still
valid? In any case it doesnt seem to mention polygons (from a cursory
examination).

So I imagine my need is very simple.

Thankyou for your attention.
Henri


Post a reply to this message

From: Warp
Subject: Re: Extruded polygons
Date: 20 Apr 2010 07:35:20
Message: <4bcd9178@news.povray.org>
feraudyh <lar### [at] yahoocom> wrote:
> Hello,
>   Apart from suing POV for fun

  I hope that meant "using".

> I need to display some extruded polygons that lie in a plane, each with its own
> height.

  The 'prism' primitive is what you are looking for:
http://wiki.povray.org/content/Documentation:Reference_Section_4#Prism

-- 
                                                          - Warp


Post a reply to this message

From: clipka
Subject: Re: Extruded polygons
Date: 20 Apr 2010 07:52:37
Message: <4bcd9585$1@news.povray.org>
Am 20.04.2010 13:24, schrieb feraudyh:
> Hello,
>    Apart from suing POV for fun, I have a very simple professional need:

I hope you're /using/, not suing (or at least not just for fun) :-P

SCNR


Post a reply to this message

From: Alain
Subject: Re: Extruded polygons
Date: 20 Apr 2010 19:24:54
Message: <4bce37c6$1@news.povray.org>

> Hello,
>    Apart from suing POV for fun, I have a very simple professional need:
>
> I need to display some extruded polygons that lie in a plane, each with its own
> height. Each polygon represents the base of a building, and the height is the
> height of the building. In other words I wish to display a 3D view of a
> district.
>
> I used to program in POV ray about 15 years ago and have not practiced since.
> I have a book called Ray Tracing Creations from the Waite Group. Is this still
> valid? In any case it doesnt seem to mention polygons (from a cursory
> examination).
>
> So I imagine my need is very simple.
>
> Thankyou for your attention.
> Henri
>
>

It looks like a perfect use for a prism. And the simplest one at that.

prism{Base_level, Top_level, Number_Of_Points, [a list of 2D points] 
texture{Some_texture}rotation Some_rotation translate Some_displacement}

Using the default spline type and sweep type: linear_spline and linear_sweep

As those are default, they are optionals.


Alain


Post a reply to this message

From: feraudyh
Subject: Re: Extruded polygons
Date: 21 Apr 2010 08:45:00
Message: <web.4bcef2e6f3c179824d6c0ba80@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> feraudyh <lar### [at] yahoocom> wrote:
> > Hello,
> >   Apart from suing POV for fun
>
>   I hope that meant "using".
>
> > I need to display some extruded polygons that lie in a plane, each with its own
> > height.
>
>   The 'prism' primitive is what you are looking for:
> http://wiki.povray.org/content/Documentation:Reference_Section_4#Prism
>
> --
>                                                           - Warp

Goodness, what Freudian slip!!
Thankyou.


Post a reply to this message

From: feraudyh
Subject: Re: Extruded polygons
Date: 21 Apr 2010 08:45:00
Message: <web.4bcef328f3c179824d6c0ba80@news.povray.org>
Alain <aze### [at] qwertyorg> wrote:

> > Hello,
> >    Apart from suing POV for fun, I have a very simple professional need:
> >
> > I need to display some extruded polygons that lie in a plane, each with its own
> > height. Each polygon represents the base of a building, and the height is the
> > height of the building. In other words I wish to display a 3D view of a
> > district.
> >
> > I used to program in POV ray about 15 years ago and have not practiced since.
> > I have a book called Ray Tracing Creations from the Waite Group. Is this still
> > valid? In any case it doesnt seem to mention polygons (from a cursory
> > examination).
> >
> > So I imagine my need is very simple.
> >
> > Thankyou for your attention.
> > Henri
> >
> >
>
> It looks like a perfect use for a prism. And the simplest one at that.
>
> prism{Base_level, Top_level, Number_Of_Points, [a list of 2D points]
> texture{Some_texture}rotation Some_rotation translate Some_displacement}
>
> Using the default spline type and sweep type: linear_spline and linear_sweep
>
> As those are default, they are optionals.
>
>
> Alain

Thanks all you people!


Post a reply to this message

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