pyvsim, Python Visualization Simulation is a tool for helping in the set-up of optical measurement systems.
It includes camera models and the possibility of importing CAD models for the calculation of parameters such as field and depth of view.
The physical simulation is written in a generic form, so the project can be adapted for many uses (maybe even 3d scenarios rendering).
For the moment, pyvsim is more concentrated in simulating PIV equipment, a nice example of what it can already do is the configuration below.
It can also be used to generate synthetic images of particles (but it’s not so efficient doing so).
This site is generated from the pyvsim source code, and it is an ongoing project.
There is a simple tutorial in the Getting started with pyvsim page.
In the Google Code page, you can clone the latest version of pyvsim!