kevin-ewing / city_blender_scripting

Learning Blender's python API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

City Blender Scripting

City Blender Scripting is a collection of the work I have done in my Spring 2022 semester in my Animation Studio Independent Study. This semester I tasked myself with learning Blender's python API. To do this I would explore my interest in generative and procedural art. This was my first project. I hope you enjoy the artwork: either the sample renders, or by exploring image generation yourself.


Installation

With the github CLI:

gh repo clone kevin-ewing/city_blender_scripting

With http:

git clone https://github.com/kevin-ewing/city_blender_scripting.git

Usage

run.sh has two ways of being run. One with a single render and another that loops through and renders many images. For one output:

$ ./run.sh {single_output_number}

For example:

$ ./run.sh 23

For a sequence of output renders use:

$ ./run.sh {output_start_number} {output_end_number}

For example:

$ ./run.sh 1 50

The rendered image files will be output to ./output/output_{output_number}.png


Sample Outputs

alt output alt output alt output alt output alt output alt output alt output alt output alt output alt output alt output alt output alt output


License

MIT License

Copyright (c) 2022 Kevin Ewing

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Learning Blender's python API


Languages

Language:Python 99.7%Language:Shell 0.3%