POV-Ray : Newsgroups : povray.binaries.images : hilbert2d utility : Re: hilbert2d utility Server Time
2 May 2024 20:47:04 EDT (-0400)
  Re: hilbert2d utility  
From: Kenneth
Date: 10 May 2018 01:35:01
Message: <web.5af3d9bdff7db64ca47873e10@news.povray.org>
jr <cre### [at] gmailcom> wrote:

>
> and glad you commented, because Bald Eagle wrote "This would work well
> with Kenneth's "sideways heightfield" city building concept to make
> shrubs or a hedge maze."
>
> which got me thinking, not hedge - building.  could your system be used
> to "drape" a suitably scaled building shaped like in the attached
> image*?  30+ floors, ideally.
>

(I had to brush-up on my miniscule knowledge of Hilbert curves!)

Is this what you have in mind, as the general idea?

This test image doesn't actually use height_fields for the vertical building
faces; in fact, it's just a POV-Ray + Photoshop mock-up!

Like you, I've been thinking about how to use my HF idea to make buildings with
'indented' sections. Not particularly in the shape of Hilbert curves, but the
same general idea. *In theory*, it should be easy. The trick is to 'slice and
dice' (and then rotate) the many vertically-oriented HF faces so that they all
match up with no seams-- AND so that only full window sections are used. That
particular problem is apparent in this mock-up image: some of the windows are
cut off prematurely at the various building edges.

But it should be easy to do; I just haven't gotten to that stage yet. (Real life
keeps intruding.) Even a Hilbert-curve variety looks do-able; the equations for
that could be used in some way to do the proper slicing/dicing of the HFs.


Post a reply to this message


Attachments:
Download 'hilbert_towers.jpg' (147 KB)

Preview of image 'hilbert_towers.jpg'
hilbert_towers.jpg


 

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