Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/syoyo/osograph

Simple script visualizing OSO instructions using graphviz
https://github.com/syoyo/osograph

Last synced: 18 days ago
JSON representation

Simple script visualizing OSO instructions using graphviz

Awesome Lists containing this project

README

        

OSOgraph
========

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

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

Requirements
------------

* OSL compiler from openshadinglanguage
* http://code.google.com/p/openshadinglanguage/
* Python
* Graphviz

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