Simple script visualizing OSO instructions using graphviz
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.rst
osograph.py
output.dot
test.osl
test.oso
test.png

README.rst

OSOgraph

http://github.com/syoyo/OSOgraph/raw/master/test.png

OSOgraph visualizes OSO(compiled intermediate instructions of OpenShadingLanguage by oslc) using graphviz.

Requirements

How to use

$ oslc test.osl
$ python osograph.py test.oso
$ dot -Tpng output.dot > test.png

Limitation & TODO

A lot.

I've made this simple script just for fun and understanding oso format, thus please don't expect too much on this project ;-)

License

BSD 2