Hi All
I setup my camera like that. But when I remove the hover controller, I can’t see any polygon. I need to set the pan and tilt angle of the camera.
m_scene = new Scene3D();
m_camera = new Camera3D();
//m_camera.lens.far = 50000;
m_view = new View3D();
m_view.scene = m_scene;
m_view.camera = m_camera;
m_view.width = vpWidth;
m_view.height = vpHeight;
m_view.antiAlias = 3;
setCamera(-9.9, 59.8, -236, 84);
// Setup HoverController
hoverController = new HoverController(m_camera, null, 150, 20, 200);
enabled = true;
public function setCamera(camX:Number, camY:Number, camZ:Number, camFOV:Number) : void
{
m_view.camera.z = camZ;
m_view.camera.y = camY;
m_view.camera.x = camX;
(m_view.camera.lens as PerspectiveLens).fieldOfView = camFOV;
// updateView();
}