2D/3D visual stimulus generation