POV-Ray : Newsgroups : povray.binaries.images : Prism over a height_field? Server Time
2 Nov 2024 06:17:05 EDT (-0400)
  Prism over a height_field? (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Thomas de Groot
Subject: Prism over a height_field?
Date: 28 Jul 2011 03:54:35
Message: <4e3115bb@news.povray.org>
The attached image is the render of a prism object (linear_sweep 
bezier_spline) generated by Inkscape from an image.

My question is if it would be possible, and if yes how, to drape this 
prism over a (gently) undulating height_field? The vertical component 
should remain vertical of course as they represent (foundation) walls.

Thomas


Post a reply to this message


Attachments:
Download 'inkscape_mohenjodaro_test.png' (219 KB)

Preview of image 'inkscape_mohenjodaro_test.png'
inkscape_mohenjodaro_test.png


 

From: Bill Pragnell
Subject: Re: Prism over a height_field?
Date: 28 Jul 2011 04:25:00
Message: <web.4e311ca618d248626dd25f0b0@news.povray.org>
Thomas de Groot <tenDOTlnDOTretniATtoorgedDOTt> wrote:
> My question is if it would be possible, and if yes how, to drape this
> prism over a (gently) undulating height_field? The vertical component
> should remain vertical of course as they represent (foundation) walls.

Extend the prism in y, and intersect with a copy of the heighfield offset in y?


Post a reply to this message

From: Thomas de Groot
Subject: Re: Prism over a height_field?
Date: 28 Jul 2011 04:34:14
Message: <4e311f06@news.povray.org>
On 28-7-2011 10:24, Bill Pragnell wrote:
> Thomas de Groot<tenDOTlnDOTretniATtoorgedDOTt>  wrote:
>> My question is if it would be possible, and if yes how, to drape this
>> prism over a (gently) undulating height_field? The vertical component
>> should remain vertical of course as they represent (foundation) walls.
>
> Extend the prism in y, and intersect with a copy of the heighfield offset in y?
>
>

Hmm... that might do it indeed. I have to experiment now, thanks for the 
tip, Bill. I shall come back with results.

Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Prism over a height_field?
Date: 28 Jul 2011 05:03:16
Message: <4e3125d4@news.povray.org>
On 28-7-2011 10:24, Bill Pragnell wrote:
> Extend the prism in y, and intersect with a copy of the heighfield offset in y?

Yes indeed! That seems to do the trick. Here a small test image.

Thanks again!

Thomas


Post a reply to this message


Attachments:
Download 'inkscape_mohenjodaro_test.png' (237 KB)

Preview of image 'inkscape_mohenjodaro_test.png'
inkscape_mohenjodaro_test.png


 

From: Bill Pragnell
Subject: Re: Prism over a height_field?
Date: 28 Jul 2011 05:25:00
Message: <web.4e312a2f18d248626dd25f0b0@news.povray.org>
Thomas de Groot <tenDOTlnDOTretniATtoorgedDOTt> wrote:
> On 28-7-2011 10:24, Bill Pragnell wrote:
> > Extend the prism in y, and intersect with a copy of the heighfield offset in y?
>
> Yes indeed! That seems to do the trick. Here a small test image.

Are you sure you used the heightfield correctly? In some areas, the walls seem
deeper than in others. Or is that deliberate? :)


Post a reply to this message

From: Jim Holsenback
Subject: Re: Prism over a height_field?
Date: 28 Jul 2011 06:47:54
Message: <4e313e5a$1@news.povray.org>
On 07/28/2011 06:02 AM, Thomas de Groot wrote:
> On 28-7-2011 10:24, Bill Pragnell wrote:
>> Extend the prism in y, and intersect with a copy of the heighfield
>> offset in y?
>
> Yes indeed! That seems to do the trick. Here a small test image.
>
> Thanks again!
>
> Thomas
>

cool ... very clever solution


Post a reply to this message

From: Thomas de Groot
Subject: Re: Prism over a height_field?
Date: 28 Jul 2011 07:16:41
Message: <4e314519@news.povray.org>
On 28-7-2011 11:21, Bill Pragnell wrote:
> Are you sure you used the heightfield correctly? In some areas, the walls seem
> deeper than in others. Or is that deliberate? :)

Not deliberate, but indeed a need for better coordination of the 
parameters :-) On the other hand, it can be used for some height variations.

This image shows a better construction.

Thomas


Post a reply to this message


Attachments:
Download 'inkscape_mohenjodaro_test.png' (316 KB)

Preview of image 'inkscape_mohenjodaro_test.png'
inkscape_mohenjodaro_test.png


 

From: Bill Pragnell
Subject: Re: Prism over a height_field?
Date: 28 Jul 2011 07:25:00
Message: <web.4e3146ca18d248626dd25f0b0@news.povray.org>
Thomas de Groot <tenDOTlnDOTretniATtoorgedDOTt> wrote:
> Not deliberate, but indeed a need for better coordination of the
> parameters :-) On the other hand, it can be used for some height variations.
>
> This image shows a better construction.

Cool :)


Post a reply to this message

From: Thomas de Groot
Subject: Re: Prism over a height_field?
Date: 28 Jul 2011 07:31:17
Message: <4e314885$1@news.povray.org>
On 28-7-2011 12:47, Jim Holsenback wrote:

> cool ... very clever solution

Isn't it? This will give me the possibility to populate my city of 
Gancaloon in an easy manner. Only for overviews of course because the 
buildings will not have enough details. I have now to devise a street 
plan, and find a way to make the buildings of slightly different height, 
probably by separate and superposed prisms. As everything can be based 
on image_maps, this is going to be mainly GIMP work :-)

Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Prism over a height_field?
Date: 28 Jul 2011 07:33:13
Message: <4e3148f9$1@news.povray.org>
On 28-7-2011 13:23, Bill Pragnell wrote:
> Cool :)
>
>

<grin> I am going to feel like the Great Architect ;-)

Thomas


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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