Free procedural building generator: Building Generator v.01

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 09 September 2009   #16
Thanks Continuumx!

A user was getting an error while trying to generate a building with no details, no roof conform and no ledges. That's fixed now. Link is the same as before, and can be found in post #1
Old 09 September 2009   #17
Thumbs up

WOW! It's really useful script!

You are on the right way. You'll meet with all kinds of difficulties, but keep your wicket up and You'll come through all right!
Old 09 September 2009   #18
Great script thanks
My Battersea power station project

My Website
Old 09 September 2009   #19
Optimized some of the code.....turns out that even if all the windows were set to off, the script would still run through the window-creating function (only superficially though, since it doesn't end up actually creating any windows)....but this was taking a lot of time because it was creating and then deleting lots of objects. With that part fixed, the script is now 30-60% faster when generating buildings without windows.

Also, during the roof-geo-cleanup sequence there was a bunch of debug stuff being printed to the listener (huge lists of object names) that I forgot to remove for the release. Taking that out now shaves about a half second off sim times when skylights are turned on . It won't affect sim time if skylights are off.

Download link is in post #1 as usual.

Last edited by ivanisavich : 09 September 2009 at 05:30 PM.
Old 09 September 2009   #20
haha, really neat script, thanks for sharing

Some things I think would be useful:

Better object naming, ie per floor, balcony, floors, doors, roof windows ect.

option for one building on its own new layer

inset wall section would be cool

Always could use more Randomization options

Out of the couple dozen or so buildings I just built I noticed approx. half had roof top buildings overhanging, especially with long/narrow structure. possibly a scale% option needed?

Best regards,
poof ~>Vimeo<~
Old 09 September 2009   #21
Simply brilliant! every time i think Tyson's dropped off the face of the planet he emerges with a piece of greatness under his arm.

Now if only i could locate that auto-UV button..................
Old 09 September 2009   #22
Super Nice of you!

Old 09 September 2009   #23
That's really cool. Keep up the good work
This should take less than a few minutes.
Old 09 September 2009   #24
Thanks Johnny, I think all of those things are do-able for the next version
Old 09 September 2009   #25
I haven't had a chance to look deeply at this, but so far it looks like some great work. A couple of thoughts:
- better naming of objects as mentioned above would help a lot - by floor and side and type.
- I think the logic of the sub-materials could be better, like make all the glass mats the same mat id everywhere. See attached for an example of where the green (mat id 3) is on some things that aren't glass.
- lastly, notice the highlighted pillar peeking through the floor above...

But so far looks great.
Attached Images
File Type: png building test 0.01.png (53.5 KB, 204 views)
File Type: jpg building test 0.00.jpg (41.7 KB, 237 views)
fo co mo so
Old 09 September 2009   #26
Hey foco,

Thanks for the note about that pillar bug.

As for far the script doesn't touch them. What you're seeing is the default matID setup for AEC window objects. The next version of my script will correctly match up mat IDs.
Old 09 September 2009   #27
Great work Tyson! Thanks for sharing such great tool! One can only imagine the amount of ruling/branching/conditions you've had to implement to avoid having pillars smashing through windows. Out of curiosity: how long did it take to develop/write this script?
Old 09 September 2009   #28
Originally Posted by davius: Out of curiosity: how long did it take to develop/write this script?

Not too long. I started working on it last Wednesday and continued to develop it over the weekend.
Old 09 September 2009   #29
Tyson, you never cease to amaze.....thank you.
Sean Christian Bellinger
Game Developer, Educator
Old 09 September 2009   #30
Brilliant! Thx!
The GPU revolution will not be rasterized! -
reply share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 02:48 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.