Added scene3d code