3d game sample init