home *** CD-ROM | disk | FTP | other *** search
- NAME: diffuse
-
- CELL CONTENTS:
- Each cell contains two hemispheres. One hemisphere is
- positioned to the lower left of the other. The hemisphere to the
- lower left partially occludes the other. The radius of each
- hemisphere is 80. The center of the sphears the hemispheres were
- cut from are positioned at 20, -20, 100 for the front (lower left)
- and -20, 20 -100 for the back (lower left). The front hemisphere
- is constructed with frontfacing facets while the back hemisphere
- is constructed with backfacing facet (thier per-vertex/per_facet
- normals are given as back facing, but if calculated by the rules
- for each primitive they would be frontfacing. Within a cell all
- attributes are constant, however some attributes will effect the
- frontfacing facet and others will effect the backfacing facet.
-
- Of the 10 variations of this test the output primitive used
- to create the facet is:
-
- | (diffuse.v01 - diffuse.v02) use "Polygon3" as the facets.
- | (diffuse.v03 - diffuse.v04) use "Fill_area_set3" as the facets.
- | (diffuse.v05 - diffuse.v06) use "Triangle3" as the facets.
- | (diffuse.v07 - diffuse.v08) use "Quad_mesh3" as the facets.
- | (diffuse.v09 - diffuse.v10) use "Index_polygon3" as the facets.
- | (diffuse.v11 - diffuse.v12) use "Non_uniform_bspline_surface" as the facets.
-
- CELL LAYOUT:
- Cells are arranged on the screen in a matrix of 4 rows and
- 4 columns.
-
- CONSTANTS:
- Background_color .3 .3 .8
- Interior_style solid
- Interior_color 1.0 1.0 1.0
- Backface_interior_color 1.0 1.0 1.0
- % backface_identify but cull_none %
- Backface_processing 1 0 ;
- Interior_lighting 3 (diffuse )
- HLHS_Removal hlhs_enable
- Edge_flag disable
- Text_prec Stroke
- Char_exp 1
- Char_height 30
- Text_color 1 1 1
-
- Surface_properties
- % Ambient reflection coefficient % 0.2
- % Diffuse reflection coefficient % VARIABLE
- % Specular reflection coefficient % 0.00
- % Specularity true-color components % 0.0 0.0 0.0
- % Specular exponent % 0.0
- % Transparency coefficient % 1.0
-
- Backface_properties
- % Ambient reflection coefficient % 0.2
- % Diffuse reflection coefficient % VARIABLE
- % Specular reflection coefficient % 0.00
- % Specularity true-color components % 0.0 0.0 0.0
- % Specular exponent % 0.0
- % Transparency coefficient % 1.0
-
- Define_light
- % Index in light source table % 1
- % Light source color components % 1.0 0.0 0.0 % Red %
- % Non-directional light source % Ambient_light
- ;
- Define_light
- % Index in light source table % 2
- % Light source color components % 0.5 1.0 0.5 % Greenish %
- % Directional light source % Directional_light {
- % Direction % 1 1 -1 }
- ;
- Define_light
- % Index in light source table % 3
- % Light source color components % 0.5 0.5 1.0 % Bluish %
- % Positional light source % Positional_light {
- % Position % 0 100 200
- % Attenuation % 0.500 0.005 }
- ;
- Define_light
- % Index in light source table % 4
- % Light source color components % 1.0 0.5 0.5
- % Spot light source % Spot_light {
- % Position % 0 -100 500
- % Direction % 0 0 1
- % Concentration % 10.00000
- % Spread angle in radians % 0.558505
- % Attenuation % 1.000000 0.000000 }
- ;
-
- PER FILE VARIABLES:
- Default_view_specification parallel/perspective
-
- RANDOM VARIABLES:
- Interior_pattern_index ( interior_pattern_index should have no effect
- since interior_style is fixed as solid )
-
- COLUMN VARIABLES:
- Column
- 1 2 3 4
- Variable: ____ ____ ____ ____
- Interior_shading 1(FLAT) 2(GOURAUD) 3(DOT) 4(PHONG)
- Surface_properties: Diffuse reflection coeficient
- 0 0.33 0.66 1
- Backface_properties: Diffuse reflection coeficient
- 1 0.66 0.33 0
- Call/Execute Exec Call Exec Call
-
-
- ROW VARIABLES:
-
- Row Light_state (those on )
- 1 2 (Directional_light )
- 2 3 (Positional_light )
- 3 4 (Spot_light )
- 4 1,2,3,4 (Ambient_light & the other three )
-
-
- ROW/COLUMN VARYING VARIABLES:
- NONE
-
- COMMENTS ON PHOTOGRAPHS:
-
- * Backface processing is being ignored in the photographs.
- What you should see is depicted below:
- (Note: for rows 1,2 and 3 each hemispheres should have
- only one light spot)
-
- _____ _____ _____ _____
- / 3 \ _____ / 2 \ _____ / 1 \ _____ / \ _____
- / / \ / / \ / / \ / / \
- \ / \ \ / \ \ / \ \ / \
- \_____\ / \_____\ 1 / \_____\ 2 / \_____\ 3 /
- \_____/ \_____/ \_____/ \_____/
- _____ _____ _____ _____
- / \ _____ / \ _____ / 1\ _____ / \ _____
- /2 / \ /2 / \ / / \ / / \
- \ / \ \ / \ \ / \ \ / \
- \_____\ / \_____\ 2 / \_____\3 / \_____\2 /
- \_____/ \_____/ \_____/ \_____/
- _____ _____ _____ _____
- / \ _____ / \ _____ / \ _____ / \ _____
- / 1 / \ / 3 / \ / 2 / \ / / \
- \ / \ \ / \ \ / \ \ / \
- \_____\ / \_____\ 2 / \_____\2 / \_____\ /
- \_____/ \_____/ \_____/ \_____/
- _____ _____ _____ _____
- / 3 \ _____ / 3 \ _____ / 2\ _____ / \ _____
- / / \ / / 1\ / /2 \ / /1 \
- \ / \ \ 2 / \ \1 / \ \ / \
- \1____\ / \_____\ 1 / \_____\ 2 / \_____\ 3 /
- \_____/ \_____/ \_____/ \_____/
-
-
- Were the number indicates the locations and intensity of a white
- diffuse highilght. Intensity are listed below:
-
- number intensity
- ----- ---------
- 1 Dim
- 2 Brighter
- 3 Brightest
-
- * The text size (for the text at toe bottom of the screen )
- was reduced from the size on the photograph. Additional
- information has been added to that text.
-