v0.5: ray tracing, constraints, callbacks