1 // Copyright 2020 Intel Corporation 2 // SPDX-License-Identifier: Apache-2.0 3 4 #include "Camera.h" 5 6 namespace ospray { 7 namespace sg { 8 9 struct Panoramic : public Camera 10 { 11 Panoramic(); 12 }; 13 Panoramic()14 Panoramic::Panoramic() : Camera("panoramic") 15 { 16 createChild("interpupillaryDistance", 17 "float", 18 "Distance between left and right eye for stereo mode", 19 0.0635f); 20 child("interpupillaryDistance").setMinMax(0.f, 0.1f); 21 createChild("stereoMode", 22 "int", 23 "0=none, 1=left, 2=right, 3=side-by-side, 4=top-bottom", 24 0); 25 } 26 27 OSP_REGISTER_SG_NODE_NAME(Panoramic, camera_panoramic); 28 29 } // namespace sg 30 } // namespace ospray 31