POV-Ray : Newsgroups : povray.binaries.images : Floors, rails, stairs, roofs and buildings Server Time
29 Mar 2024 07:51:46 EDT (-0400)
  Floors, rails, stairs, roofs and buildings (Message 1 to 3 of 3)  
From: Bill Pragnell
Subject: Floors, rails, stairs, roofs and buildings
Date: 3 Jan 2022 11:25:00
Message: <web.61d3216218ab02d3b96893c06f35e431@news.povray.org>
Happy New Year all - here's a sample of my latest iteration!

I decided that the galleries-only approach wasn't sufficiently varied when
scaled up to more complex structures, so I've added a new dimension: buildings!
And this turns out to be a whole other axis of bugs and possible improvements :)

The modular nature of the existing code means I can use the same floors indoor
as out - you can see the sides of the floor cells along the walls. In a similar
way, the building walls and rooftop sides are all placed depending on their
nearest neighbours, so in theory the building internals are sensible too
(although I haven't poked a camera indoors to check yet). The main issue yet to
be resolved is that many balconies end up orphaned with only a blank wall (I
didn't want to put doors into every balcony wall, because then there are too
many). I think I need some way to walk connected floors and make sure there's at
least one door into each area.

The current order of play is:
1) Place building cells according to building-container geometry
2) Place rooftop cells on top of building cells
3) Place gallery cells according to gallery-container geometry
4) Place staircases according to gallery cells
5) Build geometry for the grid, using the increasingly complex condition-monster
to place sides to the various types of cell.

This image parsed in 9 seconds and rendered in 7 minutes. I spent some more time
optimizing the geometry before starting work on the buildings, so everything is
now built from predeclared meshes copied into place, making large grids more
feasible.

Bill


Post a reply to this message


Attachments:
Download 'autobuild7.jpg' (196 KB)

Preview of image 'autobuild7.jpg'
autobuild7.jpg


 

From: Paolo Gibellini
Subject: Re: Floors, rails, stairs, roofs and buildings
Date: 3 Jan 2022 12:01:14
Message: <61d32bda$1@news.povray.org>
Il 03/01/2022 17:19, Bill Pragnell wrote:
 > Happy New Year all - here's a sample of my latest iteration!
 >
 > I decided that the galleries-only approach wasn't sufficiently varied 
when
 > scaled up to more complex structures, so I've added a new dimension: 
buildings!
 > And this turns out to be a whole other axis of bugs and possible 
improvements :)
 >

It starts to get even more intriguing...

Paolo


Post a reply to this message

From: Kenneth
Subject: Re: Floors, rails, stairs, roofs and buildings
Date: 7 Jan 2022 13:30:00
Message: <web.61d885b1b605a3054cef624e6e066e29@news.povray.org>
"Bill Pragnell" <bil### [at] hotmailcom> wrote:
> Happy New Year all - here's a sample of my latest iteration!
>

That's... magical! I can't even begin to understand how complex your code must
be, to get such a 'coherent' and integrated result. Great work.

It reminds me of an iceberg-- with most of the berg 'under the water'.


Post a reply to this message

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