I want to set camera position programmatically in this way:
int wasModifying = camera->StartModify(); camera->SetPosition(cameraPosition, cameraPosition, cameraPosition); camera->SetFocalPoint(cameraFocalPointPosition, cameraFocalPointPosition, cameraFocalPointPosition); camera->SetViewUp(0, 0, 1); camera->EndModify(wasModifying);
which works in some cases. However, when I zoom in or out before the calls manually so that the camera position is significantly different than the position I want to set, the view stays black after the calls. Only when I start to rotate the view afterwards manually, it gets updated and shows the correct angle. Is there any way to force an update?