Difference between revisions of "User:Jenna Huntsman/CameraLensPresets"

From Second Life Wiki
Jump to navigation Jump to search
(Add link to recalculation guide.)
(Formatting!)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
The table below contains settings for simulating various real-life lenses within Second Life. These settings will change the camera's Field of View (FoV), as well as [[Depth of field]] (DoF) settings. You may want to play around with some of these settings (for example, the Aperture value) to manipulate the depth-of-field effect.
The table below contains settings for simulating various real-life lenses within Second Life. These settings will change the camera's Field of View (FoV), as well as [[Depth of field]] (DoF) settings. You may want to play around with some of these settings (for example, the Aperture value) to manipulate the depth-of-field effect.


{{KBtip|The default Second Life camera is roughly equivalent to a full frame digital (''36x24mm sensor'') camera using 35mm lens.}}
{{KBtip|The default Second Life camera is roughly equivalent to a full frame digital (''36x24mm sensor'') camera using 31mm lens.}}


For reference, the following table describes the debug settings changed, their units, and what the setting does. Default values are not provided as these settings may vary between viewers.
For reference, the following table describes the debug settings changed, their units, and what the setting does. Default values are not provided as these settings may vary between viewers.
Line 11: Line 11:
! scope="col" | Description
! scope="col" | Description
|-
|-
| CameraAngle || [[Radians]] || Camera Field-of-View angle, diagonal. Equivalent to Angle of View - diagonal degrees to equate a real lens. This changes the '''visible''' FoV.
| CameraAngle || [[Radians]] || Camera Field-of-View angle, horizontal. Equivalent to Angle of View - width degrees to equate a real lens. This changes the '''visible''' FoV.
|-
|-
| CameraDoFResScale || Linear || Amount to scale down resolution of DoF effect. Manipulating this value may change performance.
| CameraDoFResScale || Linear || Amount to scale down resolution of DoF effect. Manipulating this value may change performance.
|-
|-
| CameraFieldOfView || Degrees || Field-of-View angle used for the DoF effect. Note that this value is the '''vertical''' FoV, NOT diagonal.
| CameraFieldOfView || Degrees || Field-of-View angle used for the DoF effect. Note that this value is the '''height''' FoV, NOT width.
|-
|-
| CameraFNumber || F Stop || F Stop (or Aperture) value to be simulated by DoF effect. '''This is the value you should change to adjust the intensity of the DoF effect.'''
| CameraFNumber || F Stop || F Stop (or Aperture) value to be simulated by DoF effect. '''This is the value you should change to adjust the intensity of the DoF effect.'''
Line 36: Line 36:
! scope="col" style="background-color:#A7C1F2"| Value
! scope="col" style="background-color:#A7C1F2"| Value
|-
|-
| CameraAngle || 2.403
| CameraAngle || 2.306
|-
|-
| CameraFieldOfView || 103.4
| CameraFieldOfView || 103.4
Line 51: Line 51:
! scope="col" style="background-color:#A7C1F2"| Value
! scope="col" style="background-color:#A7C1F2"| Value
|-
|-
| CameraAngle || 1.824
| CameraAngle || 1.688
|-
|-
| CameraFieldOfView || 64.65
| CameraFieldOfView || 64.65
Line 66: Line 66:
! scope="col" style="background-color:#A7C1F2"| Value
! scope="col" style="background-color:#A7C1F2"| Value
|-
|-
| CameraAngle || 1.421
| CameraAngle || 1.287
|-
|-
| CameraFieldOfView || 45.75
| CameraFieldOfView || 45.75
Line 76: Line 76:


{| class="mw-collapsible mw-collapsed wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
! colspan="2" style="background-color:#ffc000"| 35 mm (SL Default)  
! colspan="2" style="background-color:#ffc000"| 31 mm (SL Default)  
|-
|-
! scope="col" style="background-color:#A7C1F2"| Debug Setting
! scope="col" style="background-color:#A7C1F2"| Debug Setting
Line 83: Line 83:
| CameraAngle || 1.047
| CameraAngle || 1.047
|-
|-
| CameraFieldOfView || 37.85
| CameraFieldOfView || 35.98
|-
|-
| CameraFocalLength || 35
| CameraFocalLength || 31
|-
|-
| CameraMaxCoF || 29.0
| CameraMaxCoF || 29.0
Line 96: Line 96:
! scope="col" style="background-color:#A7C1F2"| Value
! scope="col" style="background-color:#A7C1F2"| Value
|-
|-
| CameraAngle || 0.783
| CameraAngle || 0.691
|-
|-
| CameraFieldOfView || 22.9
| CameraFieldOfView || 22.9
Line 111: Line 111:
! scope="col" style="background-color:#A7C1F2"| Value
! scope="col" style="background-color:#A7C1F2"| Value
|-
|-
| CameraAngle || 0.537
| CameraAngle || 0.471
|-
|-
| CameraFieldOfView || 15.38
| CameraFieldOfView || 15.38
Line 126: Line 126:
! scope="col" style="background-color:#A7C1F2"| Value
! scope="col" style="background-color:#A7C1F2"| Value
|-
|-
| CameraAngle || 0.407
| CameraAngle || 0.350
|-
|-
| CameraFieldOfView || 11.56
| CameraFieldOfView || 11.56
Line 134: Line 134:
| CameraMaxCoF || 29.0
| CameraMaxCoF || 29.0
|}
|}
{{KBtrivia|custom=Did you know| that you can leave [[Depth of field|DoF]] enabled for daily use? Try the settings given above for '''31 mm''', with an F-Stop (F number) value of '''16.0'''.}}

Latest revision as of 05:34, 7 June 2022

The table below contains settings for simulating various real-life lenses within Second Life. These settings will change the camera's Field of View (FoV), as well as Depth of field (DoF) settings. You may want to play around with some of these settings (for example, the Aperture value) to manipulate the depth-of-field effect.

KBtip2.png Tip: The default Second Life camera is roughly equivalent to a full frame digital (36x24mm sensor) camera using 31mm lens.

For reference, the following table describes the debug settings changed, their units, and what the setting does. Default values are not provided as these settings may vary between viewers.

Debug Setting Glossary
Debug Setting Units Description
CameraAngle Radians Camera Field-of-View angle, horizontal. Equivalent to Angle of View - width degrees to equate a real lens. This changes the visible FoV.
CameraDoFResScale Linear Amount to scale down resolution of DoF effect. Manipulating this value may change performance.
CameraFieldOfView Degrees Field-of-View angle used for the DoF effect. Note that this value is the height FoV, NOT width.
CameraFNumber F Stop F Stop (or Aperture) value to be simulated by DoF effect. This is the value you should change to adjust the intensity of the DoF effect.
CameraFocalLength mm Focal length of the lens to be simulated by the DoF effect.
CameraMaxCoF mm*1000 Lens Circle of Confusion value to be simulated by the DoF effect.
CameraFocusTransitionTime Seconds Time the camera will take to transition between 2 focal planes.
Essay.png
Editor note: The below settings assume that the screen is in the 16:9 aspect ratio - These values vary depending on aspect ratio, so if you have a screen of a different ratio, you may need to recalculate these values.
KBnote.png Note: To manipulate the intensity of the Depth-of-Field effect, change the aperture (F number) value. Common values are: 1.4, 2, 2.8, 4, 8, 12, 16, 20, 24
8 mm (Fisheye)  
Debug Setting Value
CameraAngle 2.306
CameraFieldOfView 103.4
CameraFocalLength 8
CameraMaxCoF 29.0
16 mm  
Debug Setting Value
CameraAngle 1.688
CameraFieldOfView 64.65
CameraFocalLength 16
CameraMaxCoF 29.0
24 mm  
Debug Setting Value
CameraAngle 1.287
CameraFieldOfView 45.75
CameraFocalLength 24
CameraMaxCoF 29.0
31 mm (SL Default)  
Debug Setting Value
CameraAngle 1.047
CameraFieldOfView 35.98
CameraFocalLength 31
CameraMaxCoF 29.0
50 mm  
Debug Setting Value
CameraAngle 0.691
CameraFieldOfView 22.9
CameraFocalLength 50
CameraMaxCoF 29.0
75 mm  
Debug Setting Value
CameraAngle 0.471
CameraFieldOfView 15.38
CameraFocalLength 75
CameraMaxCoF 29.0
100 mm  
Debug Setting Value
CameraAngle 0.350
CameraFieldOfView 11.56
CameraFocalLength 100
CameraMaxCoF 29.0
KBtrivia.png Did you know that you can leave DoF enabled for daily use? Try the settings given above for 31 mm, with an F-Stop (F number) value of 16.0.