davlia / citygen Goto Github PK
View Code? Open in Web Editor NEWThis project forked from stevenquinn/citygen
A Procedural City Generator script for Maya
This project forked from stevenquinn/citygen
A Procedural City Generator script for Maya
CityGen Maya Script CityGen is a procedural cityscape generator for Maya written in python. This can be done through either procedurally created buildings, or with user-supplied buildings. Using CityGen First, install the CityGen script by copying the cityGen.py file to your scripts folder. In Mac OS X, this is located at /Users/[username]/Library/Preferences/autodesk/maya/scripts In Windows, this is located at c:/Users/[username]/Documents/maya/2013-x64/scripts/ Note: Depending on your OS and Maya version, these paths may differ 2. Once you've installed the script, open up the script editor 3. Copy and paste the following code into the editor. Once you've done that, highlight the code and drag and drop it onto your custom shelf to add it to your shelf. import maya.cmds as cmds import cityGen as cg reload(cg) cg.UI() 4. Press the newly created button to run the GUI. 5. Below are the options available to you in the GUI City Width: The width of the city City depth: The depth of the city Maximum Building Height: when using the procedural buildings, this controls how tall they can be Building Gap: The space between buildings Street Width: How wide the streets are Block Size: The width of a city block, or the distance between streets 6. Procedural Buildings vs. User Created If you'd like to have the script create a set of sample buildings for you, simply run the script without anything being selected To have the script replicate buildings that you've created, first group the buildings so they're under a single group node. Select the group node, and then press the generate button Note: Be careful when using user generated buildings. If your buildings have a high polycount and you're creating a large city, you could run into memory issues.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.