POV-Ray : Newsgroups : povray.binaries.images : City buildings of different kind Server Time
19 Apr 2024 18:33:27 EDT (-0400)
  City buildings of different kind (Message 11 to 20 of 26)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 6 Messages >>>
From: Stephen
Subject: Re: City buildings of different kind
Date: 21 Mar 2018 18:29:49
Message: <5ab2dcdd$1@news.povray.org>
On 21/03/2018 22:10, Bill Pragnell wrote:
> .....and a different city from a more 'real' viewpoint.
> 
Looking good.

-- 

Regards
     Stephen


Post a reply to this message

From: Kenneth
Subject: Re: City buildings of different kind
Date: 21 Mar 2018 20:30:01
Message: <web.5ab2f894653a98a1a47873e10@news.povray.org>
"Bill Pragnell" <bil### [at] hotmailcom> wrote:
> ....and a different city from a more 'real' viewpoint.

It's looking better and better <*sigh*> You've also solved the need for
'recessed' building sections on top of the 'main' buildings. I still haven't
tackled that (well, with my newer 'buildings as height_field faces' scheme,
anyway.)

Your approach is well worth the effort!


Post a reply to this message

From: Thomas de Groot
Subject: Re: City buildings of different kind
Date: 22 Mar 2018 03:54:01
Message: <5ab36119$1@news.povray.org>
On 21-3-2018 19:16, Alain wrote:

>> On 20-3-2018 0:27, Bill Pragnell wrote:
>>> So, inspired by Kenneth's recent forays into city building, I've 
>>> returned to a
>>> project that I started over 3 years ago.
>>>
>>> This started as a set of SDL macros, but unfortunately it was getting 
>>> dog-slow
>>> and impossible to maintain so I started over in C++. I'm using SVG 
>>> files as
>>> input, reading straight-line paths to define streets, intersecting 
>>> them to make
>>> block polygons, then splitting the blocks to get building polygons. The
>>> buildings are constructed as triangle blocks and exported as mesh2 
>>> objects in
>>> ...inc files.
>>>
>>> In the images here, the building data is a few MB in size, generated 
>>> in several
>>> seconds by my program and rendered in several minutes by POV-Ray.
>>>
>>> I have a huge to-do list, and progress is sporadic because real life, 
>>> but I am
>>> getting some nice results at last!
>>>
>>
>> Very interesting indeed. You might consider slicing off the polygonal 
>> buildings when the angle gets too sharp. There are rooms there which 
>> are impossible to furnish ;-)
>>
> 
> You probably did not see the World's narrowest house...
> It's 5 stories high, and have only a single window on each top floors. 
> The ground floor have only a single door and a narrow window. Go inside, 
> and you can easily touch the opposing walls, everywhere.
> It's to narrow for a double bed.

Well, I know Amsterdam has one at least. ;-)

-- 
Thomas


Post a reply to this message

From: Bill Pragnell
Subject: Re: City buildings of different kind
Date: 22 Mar 2018 04:55:00
Message: <web.5ab36e84653a98a1a9432db90@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
> You've also solved the need for
> 'recessed' building sections on top of the 'main' buildings.

Do you mean the 'compound' buildings with the decreasing sizes? Those are
basically a specialised building type that just creates two or three
sub-buildings with different versions of the base polygon. Since the building
construction already offsets polygons extensively, it wasn't a lot of work to
add this.

> Your approach is well worth the effort!

So far so good. But I think your buildings are much more detailed and realistic
on an individual basis, which I'm going to struggle with later on. It's
interesting to compare approaches on similar but unrelated projects - there are
indeed many ways to skin a cat!

Bill


Post a reply to this message

From: Thomas de Groot
Subject: Re: City buildings of different kind
Date: 22 Mar 2018 08:10:59
Message: <5ab39d53$1@news.povray.org>
On 22-3-2018 9:51, Bill Pragnell wrote:
[...] there are
> indeed many ways to skin a cat!
> 

Ouch! I hope no cats have been hurt in this project! ;-)

-- 
Thomas


Post a reply to this message

From: Bill Pragnell
Subject: Re: City buildings of different kind
Date: 22 Mar 2018 10:25:01
Message: <web.5ab3bc56653a98a1474d4c950@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 22-3-2018 9:51, Bill Pragnell wrote:
> [...] there are
> > indeed many ways to skin a cat!
>
> Ouch! I hope no cats have been hurt in this project! ;-)

I can confirm that no cats were hurt during the development of this project, and
that all skinning incidents have been metaphorical in nature :)


Post a reply to this message

From: Alain
Subject: Re: City buildings of different kind
Date: 22 Mar 2018 16:59:20
Message: <5ab41928$1@news.povray.org>

> On 21-3-2018 19:16, Alain wrote:

>>> On 20-3-2018 0:27, Bill Pragnell wrote:
>>>> So, inspired by Kenneth's recent forays into city building, I've 
>>>> returned to a
>>>> project that I started over 3 years ago.
>>>>
>>>> This started as a set of SDL macros, but unfortunately it was 
>>>> getting dog-slow
>>>> and impossible to maintain so I started over in C++. I'm using SVG 
>>>> files as
>>>> input, reading straight-line paths to define streets, intersecting 
>>>> them to make
>>>> block polygons, then splitting the blocks to get building polygons. The
>>>> buildings are constructed as triangle blocks and exported as mesh2 
>>>> objects in
>>>> ...inc files.
>>>>
>>>> In the images here, the building data is a few MB in size, generated 
>>>> in several
>>>> seconds by my program and rendered in several minutes by POV-Ray.
>>>>
>>>> I have a huge to-do list, and progress is sporadic because real 
>>>> life, but I am
>>>> getting some nice results at last!
>>>>
>>>
>>> Very interesting indeed. You might consider slicing off the polygonal 
>>> buildings when the angle gets too sharp. There are rooms there which 
>>> are impossible to furnish ;-)
>>>
>>
>> You probably did not see the World's narrowest house...
>> It's 5 stories high, and have only a single window on each top floors. 
>> The ground floor have only a single door and a narrow window. Go 
>> inside, and you can easily touch the opposing walls, everywhere.
>> It's to narrow for a double bed.
> 
> Well, I know Amsterdam has one at least. ;-)
> 

The one that have the official title is in Bruxel, on the Grand Place. 
As it's a private house, there are no visiting.


Post a reply to this message

From: Kenneth
Subject: Re: City buildings of different kind
Date: 23 Mar 2018 15:35:01
Message: <web.5ab55684653a98a1a47873e10@news.povray.org>
"Bill Pragnell" <bil### [at] hotmailcom> wrote:
> "Kenneth" <kdw### [at] gmailcom> wrote:
> > You've also solved the need for
> > 'recessed' building sections on top of the 'main' buildings.
>
> Do you mean the 'compound' buildings with the decreasing sizes? Those are
> basically a specialised building type that just creates two or three
> sub-buildings with different versions of the base polygon. Since the building
> construction already offsets polygons extensively, it wasn't a lot of work to
> add this.
>
> ...there are indeed many ways to skin a cat!
>

This as far as I got with my original code (and I made only a single small
render, unfortunately.) The upper building sections are not 'correct' though.

Then I changed the code, to try a different approach to those upper sections.

*Then* I decided to go in a different direction entirely-- making the building
faces as height_fields (which will require a re-work of my original
city-building code.)

Ah, the fun of it!


Post a reply to this message


Attachments:
Download 'buildings with added heights.png' (836 KB)

Preview of image 'buildings with added heights.png'
buildings with added heights.png


 

From: Stephen
Subject: Re: City buildings of different kind
Date: 23 Mar 2018 16:07:28
Message: <5ab55e80$1@news.povray.org>
On 23/03/2018 19:33, Kenneth wrote:
> Ah, the fun of it!

Pleased that you are enjoying yourself.
This is looking too good. ;-)

-- 

Regards
     Stephen


Post a reply to this message

From: Bill Pragnell
Subject: Re: City buildings of different kind
Date: 23 Mar 2018 18:20:01
Message: <web.5ab57c62653a98a11b6c6b3a0@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
> This as far as I got with my original code (and I made only a single small
> render, unfortunately.) The upper building sections are not 'correct' though.
>
> Then I changed the code, to try a different approach to those upper sections.
>
> *Then* I decided to go in a different direction entirely-- making the building
> faces as height_fields (which will require a re-work of my original
> city-building code.)

Yes, I remember this image - really nice. I need more roof furniture!

> Ah, the fun of it!

It's not the destination, it's the journey :)


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 6 Messages >>>

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