particle tracing in 3D