|
@@ -1,5 +1,5 @@
|
|
|
/**
|
|
|
- * Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
|
+ * Copyright (c) 2020-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
|
|
|
*
|
|
|
* @author David Sehnal <david.sehnal@gmail.com>
|
|
|
* @author Alexander Rose <alexander.rose@weirdbyte.de>
|
|
@@ -13,8 +13,8 @@ import { Camera, ICamera } from '../camera';
|
|
|
import { Viewport } from './util';
|
|
|
|
|
|
export const StereoCameraParams = {
|
|
|
- eyeSeparation: PD.Numeric(0.064, { min: 0.01, max: 0.5, step: 0.001 }),
|
|
|
- focus: PD.Numeric(10, { min: 1, max: 100, step: 0.01 }),
|
|
|
+ eyeSeparation: PD.Numeric(0.062, { min: 0.02, max: 0.1, step: 0.001 }, { description: 'Distance between left and right camera.' }),
|
|
|
+ focus: PD.Numeric(10, { min: 1, max: 20, step: 0.1 }, { description: 'Apparent object distance.' }),
|
|
|
};
|
|
|
export const DefaultStereoCameraProps = PD.getDefaultValues(StereoCameraParams);
|
|
|
export type StereoCameraProps = PD.Values<typeof StereoCameraParams>
|