GMS:Lighting Options: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
Tag: Reverted
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
#REDIRECT [[Lighting Options]]
{{GMS Deprecated Feature}}
;The Lighting Options described below are for much earlier versions of GMS. GMS still has lighting options, but they are described on the [[Lighting Options]] page.
The Lighting Options are accessed by clicking on the ''Lighting Options'' [[File:Lighting Options Macro.svg|12 px]] item in the ''Display Options'' [[File:Display Options Macro.svg|16 px]] dialog. The following table describes the lighting display options.
The Lighting Options are accessed by clicking on the ''Lighting Options'' [[File:Lighting Options Macro.svg|12 px]] item in the ''Display Options'' [[File:Display Options Macro.svg|16 px]] dialog. The following table describes the lighting display options.


{| class="wikitable"
{| class="wikitable"
! width="125" | Display Option !! Description
|-
| Enable lights || This checkbox controls whether light sources are used in the lighting process for generating lighted images. These light sources control the intensity of the colors on the lighted image and highlight the relief or geometrical variation in the surface of the objects being lighted.
|-
| Lighting list box || This list contains preset lighting schemes and highlights the scheme currently displayed.
|-
| Renaming a scheme || Double-click on a scheme to begin editing its name.
|-
| Deleting a scheme || Right-click on a scheme and select Delete. The final scheme cannot be deleted.
|-
| Creating a scheme || Right-click on a scheme and select Duplicate.
|-
| Plan view preview || This preview shows the current light scheme on a sphere in plan view, i.e., looking along the z-axis. Click or drag within the preview to direct both the diffuse and the specular components of the light currently selected in the light table. The selected light direction is shown by a dot on the sphere. A direction from in front of the sphere is shown by a green dot, and from in back by a red dot.
|-
| Smooth edges || Check this box to smooth all diffuse and specular lights of this scheme so that the surface does not appear faceted.
|-
| Shiny || Increase this value to sharpen all specular highlights of this scheme. At 100% this value turns off the specular highlight since it assumes that all specular lights are points whose reflection shrinks to a imperceptible point at maximum shininess. At 0% this value assumes that the full intensity of the light is reflected in all directions (decrease the specular values proportionally to get a realistic effect of less and less light reflecting to the eye from each surface).
|-
| Ambient slider || Shows the ambient value of the light currently selected in the table, and can change the value. The ambient value is light from all directions which lights each and all surfaces uniformly leaving no surface unlighted. It is most useful on surfaces facing away from directional light such as diffuse and specular light.
|-
| Diffuse slider || Shows the diffuse value of the light currently selected in the table, and can change the value. The diffuse value is for a point light which brightens surfaces in all directions the more they face that light, and which leaves surfaces in darkness that face away from the light.
|-
| Specular slider || Shows the specular value of the light currently selected in the table, and can change the value. The specular value is a point light which brightens surfaces if they reflect like a mirror from the direction of the light to the direction of the viewer, and which leaves surfaces in darkness that do not have this angle of reflection.
|-
| Light table || Displays the enable, xyz position, Ambient, Diffuse, and Specular values for each of 8 lights in the current scheme, and highlights the currently selected light. Any of these values may be modified by clicking them and editing their value.
|-
| Enable column || Check these boxes to turn on each light.
|-
| X, Y, and Z columns || Edit these values or click/drag in the plan view preview sphere to change the direction of the light. These values are normalized to a unit direction vector.
|-
| Ambient, Diffuse, and Specular columns || Edit these values or drag their corresponding slider.
|}
<!--{| class="wikitable"
! width="125" | Display Option !! Description
! width="125" | Display Option !! Description
|-
|-
Line 48: Line 19:
|-
|-
| Edit light source || The sphere shown on the tab is shaded according to the current setting for the lighting options. The light angle can be changed by clicking on the sphere with the cursor at the location where a direct ray from the light source to the center of the sphere would strike the sphere. The sphere shading is updated instantaneously to reflect the chosen light angle.
| Edit light source || The sphere shown on the tab is shaded according to the current setting for the lighting options. The light angle can be changed by clicking on the sphere with the cursor at the location where a direct ray from the light source to the center of the sphere would strike the sphere. The sphere shading is updated instantaneously to reflect the chosen light angle.
|}-->
|}
 
[[File:DisplayLighting.png|thumb|none|left|500 px|The ''Display Options'' dialog showing the ''Lighting'' tab.]]
[[File:DisplayLighting.png|thumb|none|left|500 px|The ''Display Options'' dialog showing the ''Lighting'' tab.]]



Latest revision as of 20:48, 3 May 2022

Redirect to:

The Lighting Options described below are for much earlier versions of GMS. GMS still has lighting options, but they are described on the Lighting Options page.

The Lighting Options are accessed by clicking on the Lighting Options Lighting Options Macro.svg item in the Display Options Display Options Macro.svg dialog. The following table describes the lighting display options.

Display Option Description
Enable shading This option controls whether a light source is used in the shading process for generating shaded images. This light source controls the intensity of the colors on the shaded image and highlights the relief or geometrical variation in the surface of the objects being shaded.
Ambient light Ambient light is light that comes from all directions and not a particular source.
Diffuse light Diffuse light is that which comes from a particular source and direction.
Smooth features This option adjusts the normals on the triangles to make the surfaces look smooth.
Specular highlights Specular light comes from a particular light source and is reflected in a particular direction causing a shiny hot spot.
Edit light source The sphere shown on the tab is shaded according to the current setting for the lighting options. The light angle can be changed by clicking on the sphere with the cursor at the location where a direct ray from the light source to the center of the sphere would strike the sphere. The sphere shading is updated instantaneously to reflect the chosen light angle.
The Display Options dialog showing the Lighting tab.

See also