Skip to content
Renderman procedural modelling and shading of a flower pot
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
FlowerPot1.png
FlowerPot2.png
README.md
envMap.tx
flowerPot.py
flowerPot.rib
groundPlaneShader.osl
groundPlaneShader.oso
marble.tx
marbleBmp.tx
marbleNormal.tx
soilShader.osl
soilShader.oso

README.md

RendermanProject

MSc Rendering project: the task was to procedurally model and shade an object using the python renderman API. My object was a ceramic flowerpot. The final renders are below:

flowerPot1

flowerPot2

To run the code, you need to first run flowerPot.py in python to generate the rib file and oso versions of the osl shaders, then render the files with Renderman, which can be done with the following commands in the terminal:

python flowerPot.py

prman flowerPot.rib

Currently, the code is set up to generate the second of these two images. To switch to the first angle, there are commented instructions in the flowerPot.py file under the 'move everything back from camera' section.

You can’t perform that action at this time.