April 23rd, 2011

RenderMan TextMate bundle

Doing my first steps with Pixar’s RenderMan I was installing 3delight on my Mac and started playing around with shaders and rib files. To simplify development I created a little bundle for my text editor of choice, TextMate. 3delight comes with the commands shaderdl and renderdl to compile shaders and render rib files.

Using the bundle, all you have to do is press Cmd+R when editing your rib file. The file automatically gets saved and a window pops up showing the status of the renderdl command. Also, the rendered image is displayed. The bundle also supports a slightly better syntax highlighting (based on the C bundle).

Renderman TextMate Bundle

Setup

  1. Download the bundle and double-click on the .tmbundle to install
  2. Set the variable DELIGHT In TextMate’s preferences => Advanced => Shell Variables to the path of your 3delight installation, e.g. /Applications/Graphics/3Delight-9.0.84 (You can find this out by typing echo $DELIGHT into Terminal)

Feel free modify, improve, tweak it to your taste. Feedback welcome! N.B.: Your rendered image has to have the extension .tif and has to be named like the the rib file for the preview to work. If you want to use other formats, you can change it directly within the bundle editor.

Download: TextMate RIB bundle



Leave a Reply