>>> The Blog of Rog

Not frog.

PyODE Example 3

A brief demonstration of collision detection in PyODE, rendered with Pixie. This is something I actually started years ago, but never got around to posting it.

Here’s the command pipeline to generate an mp4 video:

First, create the rib file with my pyode_render_ex3.py script:

python pyode_render_ex3.py

Compile the shader:

sdrc occsurf2.sl

Then render with Pixie:

rndr -p pyode_ex3.rib

Crop the the tif files and convert to png using convert_frames.pl:

perl convert_frames.pl

Assemble the frames into an uncompressed avi with VirtualDubMod (Windows) and these processing settings:

VirtualDubMod /spyode_ex3.vcf /x

Compress the avi with x264 and this AVISynth file:

x264 --crf 16 -o pyode_ex3.mp4 pyode_ex3.avs