|
|
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 ;-)
--
Thomas
Post a reply to this message
|
|