mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-25 21:48:41 -06:00
Set the FOV with respect to the image's zoom level
This commit is contained in:
@@ -57,7 +57,7 @@ namespace openspace::skybrowser::luascriptfunctions {
|
||||
browser->getSkyTarget()->lookAtGalacticCoord(imageCoordsGalactic);
|
||||
|
||||
// In WWT, VFOV = ZoomLevel * 6
|
||||
//browser->setFieldOfView(resultImage.zoomLevel * 6);
|
||||
browser->setFieldOfView(resultImage.zoomLevel / 6);
|
||||
}
|
||||
browser->sendMessageToWWT(browser->createMessageForSettingForegroundOpacityWWT(100));
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user