POV-Ray : Newsgroups : povray.binaries.images : See: povray.beta-test: REquesting user feedback: POV-Ray v3.7 scenes/includes : Re: See: povray.beta-test: REquesting user feedback: POV-Ray v3.7scenes/includes Server Time
30 Jul 2024 10:15:28 EDT (-0400)
  Re: See: povray.beta-test: REquesting user feedback: POV-Ray v3.7scenes/includes  
From: Thomas de Groot
Date: 2 Mar 2013 03:06:52
Message: <5131b31c$1@news.povray.org>
On 2-3-2013 2:50, Christian Froeschlin wrote:
> Thomas de Groot wrote:
>
>>> You have the data for where the buildings are but how do you translate
>>> that into a ground texture pattern?
>>
>> I have no idea presently.
>
> Depending on how the data looks like
>
> 1. If you have some sort of geometric data (corners of the boxes
> for the building base or suchlike) you can use it to create somewhat
> larger boxes for use in an object pattern.

In this case the buildings are randomly dispersed within a pre-defined 
object. Writing away the geometric data would be possible, without 
knowing what the final union of buildings would look like however.

>
> 2. If you have some sort of floor plan as an image_map or similar,
> you can use 2d image processing methods to produce an image where
> the building locations are expanded by some amount (e.g. using a
> minimum/maximum filter, depending on the software you have you can
> also simlpy apply some smooothing).

The block object defining the contours of the building union can be 
drawn according to an image_map of street patterns on the underlying 
height_field.

Thomas


Post a reply to this message

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