SceneCity ⛫

add-ons
procedural
architecture
commercial

(Arnaud Couturier) #1001

Glad that SCG is useful to you :slight_smile:

Could you provide more information ?
Can you post your population map and one or two screenshots of what you’re getting with that map ?


(supaworst) #1002

Thanks for the fast reply! I’m using a simple linear gradient (from black to white) but it doesn’t matter if i use it or not,the result is always quite similar…the only difference i can see is about the heigth of the buildings because the disposition of the blocks is always the same. Today i can’t post any image, when i’ve some time i’ll do.
However, thanks again, i know that develop a tool that builds city procedurally is really an hard work and you have done a good job

I’ll be back soon with the screenshots!

Take care


(SHABA1) #1003

So If I am reading the web site correctly version 6.3 is a pay version. Is that correct?


(supaworst) #1004

Hi, i’m back with the screenshot:


This is what i get with a popMap. I supposed that the the black spaces are the streets and the white spaces are the buldings.
Beacuse of the flat colors i’ve thought that the all the buildings must have the same height and beacuse of the regular square shapes i’ve thought that they must be placed in a regular way.

Am i wrong? Could you suggest me a good workflow to use population map?

Thanks in advance

Take care


(Dimitris Chloupis) #1005

Not true . First you talk about Cpython and most likely you talk about GIL which does not allow the execution of concurent threads on multiple cores. However the multiprocessing.py module can span processes that can spread to multiple cores. There are also parrarel computing libraries that are C libraries wrapped for Python. In case of a C library the Cpython VM gives always priority to C code and then resumes execution of python, meaning C coder is not affected by GIL and thus possible to use C/C++ threading abilities taking advantage of multiple cores.

There are also pure python libraries specialising on multi core functionality like Parrarel Python -> http://www.parallelpython.com/

I know your post is very old but none the less I wanted to inform you about solutions that may improve this very nice addon.

Also other Python implementations are not affected by GIL , since they dont implement it , those include PyPy , Jython and Ironpython. Python contrary to what many people may believe becomes increasingly popular to CPU and Memory Intensive tasks. By default cpython can be even hundreds of times slower than C , but there are many tools that can speed up cpython up to the speed of C (see Cython) and in some cases like PyPy where default python code can run 10 times faster and use all multiple cores.

Speed up libraries are popping up like mushrooms lately.

Recent example I found is this -> http://continuum.io/blog/blaze

And there are countless more out there. With the right tools Blender could be ported entirely to python or up to 90%. So python scripts are perfectly capable in doing anything a coder wants in the way he wants it.


(Arnaud Couturier) #1006

Wow, I wasn’t notified of your replies by emails, sorry to be so late guys…

So If I am reading the web site correctly version 6.3 is a pay version. Is that correct?

Sorry, version 6.3?
Latest released version is 0.5.6. You have the basic version, which is free, then the full paid version, for a modest price.

Am i wrong? Could you suggest me a good workflow to use population map?

supaworst, the population map unfortunately doesn’t let you choose the location of your buildings.
Instead, you can give the generator a clue of how TALL they’ll be at any location, if they are ever created there.
There should be more ways to layout your buildings in the next versions. What you can do in the meantime is change the street layout from Paris to Manhattan, which is more square and regular.

Not true . First you talk about Cpython and most likely you talk about GIL which does not allow the execution of concurent threads on multiple cores. However the multiprocessing.py module can span processes that can spread to multiple cores. There are also parrarel computing libraries that are C libraries wrapped for Python. In case of a C library the Cpython VM gives always priority to C code and then resumes execution of python, meaning C coder is not affected by GIL and thus possible to use C/C++ threading abilities taking advantage of multiple cores.

kilon, thanks for all the information :slight_smile:
I should have a look at the libraries you’re mentioning, though is doesn’t really matter anymore for SCG: Python is nothing more than some glue to talk with Blender.
Always good to know anyway.

SCG 0.5.6 is out !
Compatible with Blender 2.66.
Grab it at usual location.
http://cgchan.com/suicidator


(Heath3d) #1007

Hi Arnaud,
I just bought Suicidator and have found it both intuitive and powerful!

My biggest concern at the moment is that I want to use my own custom models for the building geometry.
I found the “number of high poly models” option and worked out I could replace out the generated mesh data with my own custom geometry easily enough.

The problem I’ve got is that the models that make up the buildings stories seem to be randomly distributed.
This means that I can make my own custom “level” geometry.
However, there’s no way of making my own “roof” geometry to be distributed to just the top floor of the buildings.

Ultimately, I’d like the following controls to replace the “number of high poly models”.
-number of ground level models
-number of mid level models
-number of roof models

This would allow me to swap out the suicidator roof models with a series of domes, steeples, ramparts etc.

Something along these lines, would greatly increase the usability of this tool in a production pipeline.

I just thought I’d put this request in as it was the first and most obvious limitation I came across with Suicidator.
Thanks for great tool,

-Heath


(Arnaud Couturier) #1008

I’m glad you’re satisfied :slight_smile:
Yes, there are still many limitations in the current version of the generator…

Thanks A LOT for your valuable input, really appreciated!
I’m putting it into my file of features to add.


(hazelnut2) #1009

Hey,
CG could very powerful in the future I am sure, but I also have some thoughts I want to share with you:

1)dividing the buildings in a roof, a mid-level and a ground level [email protected] mentioned above.
2)arrange the buildings on a grid and lining up the roof, mid-level and ground level vertically
2a)an option to generate an extra file for each building
3)set the duplicated faces to “not selectable” automatically
4)after generating the city I would like to move some buildings and generate other parts of the city.
4a) selecting an area of the generated city and generate the other part of the city.


(Arnaud Couturier) #1010

Ok got it!
Thanks very much :slight_smile:

What do you mean by 2a)an option to generate an extra file for each building ? Did you mean an extra object for each building ?


(hazelnut2) #1011

With 2a) all the buildings are written in an extra file and linked into the original file which creates the city.


(Arnaud Couturier) #1012

Ok I see .


(richardmanhamme) #1013

Hi there,

I am attempting to run SCG on my imac running OS X Version 10.8.3 with blender 2.63 using v0.5.7 of SCG.

I keep getting this error message when attempting to BUILD CITY.

I have attached a screen shot of the error message I am receiving. Any help would be greatly appreciated.


Thank you


(MadMatrix) #1014

This looks great, but I’m having a bit of trouble getting it into Blender. I’ve already extracted the file, but what do I do from there?


(Aenima) #1015

You cannot need to extract the file. Go to preferences addons install addon and choose the zip and you ok. Then check the java version. If you use a custom built version of blender maybe you get errors. In these case try an official build

Sent from my GT-I8190 using Tapatalk 2


(r4ytrace) #1016

looks great - good work


(Arnaud Couturier) #1017

@richardmanhamme, do you still have the problem ?
Sorry for replying so late, this forum sometimes doesn’t send me email notifications…

@r4ytrace
Thanks :slight_smile:


(KnightsFan) #1018

I’m probably missing something obvious, but I’ve got a problem. I generate a city, and it’s got nice, varying textures. But if I go into Edit mode on the city, or exit Blender and return to the city, all the buildings have the same material. I can edit the buildings manually and set the materials again, but that’s really a pain.


(vertstream) #1019

Hey there, Thanks @piiichan for putting this together and releasing it so we can all try before we buy.

Sadly I receive this error message after the pop up window states its done.

I have a macbook pro 2.4ghz intel i7 with 16gb of ram.

Any help would be much appreciated.



(Arnaud Couturier) #1020

Hi @vertstream
Welcome on BlenderArtists :slight_smile:

You get this error because it seems you renamed the folder in which SCG is.
You should remove the “2” and the space character at the end. The folder name should be exactly the same as when you unzipped it.

Let me know if it works.