setAperture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (See Also setApertureNew)
m (formatted notes)
Line 27: Line 27:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
'''Maruk''': It's up to the maker of the mission to decide if HDR effects are to be disabled and what aperture to be used. Of course, this static aperture setting will not work well after lighting conditions changed too much.
 
<dt class="note">[[User:Maruk|Maruk]]
<dd class="note">It's up to the maker of the mission to decide if HDR effects are to be disabled and what aperture to be used. Of course, this static aperture setting will not work well after lighting conditions changed too much.
([http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=5e616cfc43f68196bc449049082a18f9;act=ST;f=68;t=58187;st=15 forum discussion])  
([http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=5e616cfc43f68196bc449049082a18f9;act=ST;f=68;t=58187;st=15 forum discussion])  


'''Namikaze''': The aperture value to simulate typical daylight (outdoor) conditions is 50.  The aperture value to simulate typical daylight (indoor) conditions is 30.  Setting the value to less than 20 will result in a very bright scene, suitable for night conditions.  The closer the number is to 0, the more light will be let into the lens, to carry on the aperture metaphor.  Different lighting/weather conditions can change the actual indoor and outdoor aperture values.  Experiment and test to be sure.
<dt class="note">[[User:Namikaze|Namikaze]]
<dd class="note">The aperture value to simulate typical daylight (outdoor) conditions is 50.  The aperture value to simulate typical daylight (indoor) conditions is 30.  Setting the value to less than 20 will result in a very bright scene, suitable for night conditions.  The closer the number is to 0, the more light will be let into the lens, to carry on the aperture metaphor.  Different lighting/weather conditions can change the actual indoor and outdoor aperture values.  Experiment and test to be sure.
 
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 18:28, 26 March 2016

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets custom camera aperture (-1 to do it automatically).
Groups:
Uncategorised

Syntax

Syntax:
setAperture aperture
Parameters:
aperture: Number
Return Value:
Nothing

Examples

Example 1:
setAperture 0.3

Additional Information

See also:
setApertureNew

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Maruk
It's up to the maker of the mission to decide if HDR effects are to be disabled and what aperture to be used. Of course, this static aperture setting will not work well after lighting conditions changed too much. (forum discussion)
Namikaze
The aperture value to simulate typical daylight (outdoor) conditions is 50. The aperture value to simulate typical daylight (indoor) conditions is 30. Setting the value to less than 20 will result in a very bright scene, suitable for night conditions. The closer the number is to 0, the more light will be let into the lens, to carry on the aperture metaphor. Different lighting/weather conditions can change the actual indoor and outdoor aperture values. Experiment and test to be sure.

Bottom Section