Ball environment texture
The Ball environment requires an image of a highly reflective chrome ball reflecting the desired scene. This image is used to reflect the environment since the chrome ball provides a (nearly) 360o view of an environment.

Creating a Ball Image
An image of a reflective chrome ball can be created by placing a highly reflective chrome sphere in the real world environment that you want to use as the environment texture. The sphere should be placed in the environment at the exact location where you want to view your model. It is then photographed in this environment with note taken of the elevation of the camera from the ground, and the distance from any walls or large objects (if applicable).
Tip: Alternatively, a primitive sphere can be raytraced in a scene and the resulting image file used to create a ball texture. This ball texture could then be used to replace surfaces in the scene.
The photo of this sphere is essentially a sample of the total environment. It contains a full 360 degree field of view, minus the portion directly behind the sphere. The highest resolution is in the direction of the camera, therefore providing the best compression data for that point of view.
A second photograph should also be taken of the environment without the chrome ball from the exact same view point. Generally, the sphere is photographed with a telephoto lens and the scene without the sphere is photographed with a wider angle lens (24 - 50 mm).
You can supply the names of multiple ball texture files taken from different positions. This technique can alleviate the problem of the bad spot directly behind the ball where a small portion of the scene is missing. Also, as you get closer to the edge of the ball image, the amount of resolution per given section of the environment decreases. By using multiple ball images this can also be overcome. Alias will integrate these texture files and choose the best one for any particular direction of view.
The images of the ball must be taken on the horizontal plane of the ball (i.e. not from above or below the ball), and must be taken at equal intervals around the ball, from the same distance. Up to 32 images may be provided.
To use a single image for the ball texture, you must specify a "file" texture and then supply the name of the image file that represents the image you want to use.
If using multiple files, then the files to be used must be named as <filename>.1 through <filename>.n, where the files represent a sequence going around the ball in clockwise order as viewed from the top. The filename supplied as the image file must be input in the form of a "volume" texture. This volume texture input has three fields, `pix_sequence', `from' and `to'. Pix_sequence is the filename entry of the first image in the sequence of images to be used. `From' and `to', define how many images are to be used. When rendering, ALIAS will choose the ball texture image from the sequence that gives the best image (no bad spot and maximum resolution).
In using the Ball texture procedure, you first apply the image file of the scene with the reflective ball as a background color map using the Ball environmental procedure. You then apply the image file of the scene without the reflective ball as a two-dimensional image file backdrop.
The Ball procedure includes parameters for optional planes and a finite sphere to assist in modeling the geometry of the environment.
Ground and wall planes can be specified when a high degree of accuracy is needed. For example, if the environment is a room, the distance from the ball to the floor, walls, and ceiling can be specified. These intersection planes can be combined with a finite sphere to simulate a wide variety of environment geometry. Essentially, the intersections, planes, and sphere specify the geometry of the scene. The 360 degree view derived from the reflective ball is then projected onto this geometry.
An Eyespace toggle is also provided to simplify placement with the image file backdrop. A Reflect toggle is also provided to help in advanced modeling of background geometry.
Ball Environment Parameters

Image
Click the Map button to display the Texture selection window from which you can choose any texture to be used as the ball map. If you want to use an image file (a photograph for example), select a file Surface Texture. The file Control window is displayed and you can type a valid filename (and path, if necessary) into the Image field and press Enter. If you are unsure of the filename or complete path, click Browse to display the File Browser. See the file surface texture description for more information.
Inclination/Elevation
These sliders allow the projection of the environment to rotate with respect to the reflection planes. If the photo of the reflective sphere was not taken parallel to the ground plane, the corresponding angle of elevation should be entered in degrees. Or, if the camera view was not parallel to a vertical wall in the scene, this angle of inclination should be entered. If the photo of the reflective ball had been taken directly overhead, the elevation would be 90º.
For example, the most common situation would be to shoot the ball parallel to the ground plane, a default elevation of 0. If the view you want is substantially inclined, the photo of the reflective ball should be taken from the desired viewpoint to provide the highest resolution.
Eyespace
Used to simplify placement when a background image file is used. A background image file is defined relative to the window, not the camera view. Changing the camera view has no effect on an image file background. Toggling the Eyespace option ON makes the texture relative to the window, not the camera view. Therefore with eyespace ON, the texture automatically matches the background image file, provided that both pictures were taken from the same point of view. Animating the view will display the models and lights moving against a stationary background. The default of this option is OFF.
Tips:
Reflect
When toggled OFF, the texture is no longer reflection mapped, but solid textured with a spherical projection. You can model the geometry of a scene and then map the background onto this scene. Shadows, lighting effects, and fog effects can be added to the scene. The default is OFF.
The spherical geometry model is generally smoother than the reflection planes and less likely to produce a blurred image. It may be used in combination with the finite reflection wallplanes.
Projection Geometry Parameters
The Projection Geometry parameters define values for the finite sphere and ground and wall planes.

Sky_Radius
The value in this slider represents a finite reflection sphere and determines the size of the sphere. A spherical geometry model is generally smoother than the reflection planes and is less likely to produce a blurred image. However, the finite sphere can be used in combination with the wall planes. The Sky Radius option default is 0.0
Bottom, Top, Left, Right, Front, Back
These options refer to the finite planes. Each slider defaults to 0. The slider value represents the distance of the reflecting planes from the reflective sphere. For example, if you want to model a scene with a ground plane and a sky, then the bottom plane should be set to match the distance of the reflective sphere above the ground. To model a room, the planes are set to the distance from the sphere to each of the walls in the room.
Hints & Tips
Chrome environment texture
The Chrome texture creates a simple but effective environment to simulate the reflections off chrome surfaces. The basic environment map consists of a ground plane and a sky plane with fluorescent style light rectangles.

Sky Parameters

Sky_color/Zenith_color/Light_color
The Sky_color, Zenith_color and Light_color options affect the color of these three components respectively.
The sky color, as the name implies, is the color of the sky in the environment. The Zenith color is the color straight up that is linearly interpolated with the elevation down to the Sky color. The Light color is the color of the lights that are present in the environment by default. These light elements do not illuminate and are there for reflective purposes only.
The slider controls for each of these parameters only affect the value of the current color. To change the color value, click in the color fields to display the Color Editor from which the actual RGB (Red, Green, Blue) of the color can be changed.
Light Placement Parameters
To add visual complexity to the scene, a series of rectangular lights are included in the sky. These lights are for visual effect only and do not act as light sources.

Width/Depth
The Width and Depth parameters determine the number of lights per unit length on the horizontal plane.
Width_mult/Width_offset
The Width_mult and Width_offset parameters effectively move the lights. Setting the Width_offset to a value of 0.5 moves the lights by 0.5 of an inter-light spacing that is 1.0/(number of lights per unit width).
Depth_mult/Depth_offset
The Depth_mult and Depth_offset parameters control the thickness of the lights as a fraction of the inter-light spacing.
Floor Parameters

Floor_color/Horizon_color/Grid_color
The Floor_color, Horizon_color, and Grid_color options control the color of the floor, horizon and grids respectively. The slider controls for each of these parameters only affect the value of the current color. To change the color value, click in the color fields to display the Color Editor from which the actual RGB (Red, Green, Blue) of the color can be adjusted.
There are two options for the way the floor is created. If Real_floor is set to OFF, then Grid_color is determined using a purely angular indexing scheme. The floor is effectively at infinity. Translating the eye point and the reflecting surface by the same amount produces no detectable change in the reflections. Therefore, a ball rolling over the floor will not have the correct reflections.
Real_floor
In order to overcome the limitations of angular look-up, the Real_floor parameter can be set to ON. In that case, the grid exists on a real floor. When using a real floor, ensure that the surfaces and camera in a scene do not project below this level. If they do, incorrect shading will be computed.
Grid Placement Parameters

Width/Depth
The values in these sliders control the width and depth of the grid lines.
Width_mult/Depth_mult
The values in these sliders determine the number of grid cells per unit length.
Width_offset/Depth_offset
The values in these sliders are used to displace the grid.
Cube environment texture
Use the Cube texture to create a cubic texture map for use as an environment map on an object, or to use as a background. The effect is like placing a reflective object inside a cube of images which are reflected.

The advantage to Cubic environment maps is that they can be blurred by an arbitrarily large amount without any additional cost. When generating a background from an environment map, the amount of blurring required to prevent aliasing increases with the field of view. In practice, a 5122 texture images and a field of view less than 90º, will result in very little blurring.
For reflection mapped surfaces however, the amount of blurring will depend on the surface curvature and the distance from the eye point. This cannot be computed automatically. Using the Blur_offset slider in the Blur window lets you de-focus the reflections by a desired amount (see Common Surface Texture Parameters for more information). In fact, soft focus reflections can be used to simulate less than perfectly polished surfaces.
An image file image is assigned to each side of the cube. This is done by accessing the Bottom, Top, Left, Right, Front and Back parameter image fields and assigning the appropriate image file name. If you are unsure of the exact filename and/or directory path location, each parameter field also includes a Browse button which you can use to display the File Browser to locate the required image files.
See Tips on Using Environment Textures in the Introduction to Environment Textures.
Sky environment texture
The Sky procedure is an environment map that generates images of a planetary atmosphere as seen from the surface of the planet.

Sky parameters let you control the composition of the atmosphere and the cloud layer. If no floor is specified, the environment below the horizon is a vertical mirror reflection of the environment above the horizon. If a floor is specified, it must be given an altitude and other variables to control the positioning of a color image file texture map on the surface.
Note: If the eye point or view drops below the floor height, the Sky texture will turn red as a warning. Keep the eye point above the floor.
Sky Environment Parameters
Total_bright
The value in this slider affects the overall brightness level of the environment with an effective slider range of 0.00 through 5.00
Sun Parameters

Sun_bright.
Affects the brightness of the sun in the environment. Although this slider control resembles a standard RGB slider control, it is only used to affect the brightness of the sun and does not effect the RGB color of the sun element itself.
Halo_bright.
Affects the brightness of the halo around the sun in the environment. Although this slider control resembles a standard RGB slider control, it is only used to affect the brightness of the halo and does not effect the RGB color of the halo itself.
Elevation
The value in this slider affects the angle of elevation of the sun relative to the floor. The slider control has a range of 0.00 through 90.0º. The default sun elevation is 45.0º.
Azimuth
The value in this slider affects the angle of the sun in the sky about a vertical vector, with an effective slider range of 0.00 through 360.0º. The default angle of the sun is 145.0º.
Size
The value in this slider affects the size of the sun in terms of its radius. The slider control has an effective range of 0.00 through 20 with a system default of 0.531.
Blur
The value in this slider affects the size of the halo around the sun in terms of its radius. The slider control has a range of 0.00 through 20.00 with a system default of 1.00.
Atmospheric Settings

The planet geometry is shown in the following illustration. As far as the atmospheric parameters are concerned, the eye point is located at the point 0 that is on the planet surface.

Sky_bright.
Multiplicative value for the sky color. Click the arrow in the color field to display the Color Editor from which you can modify the color.
Air_density
The value in this slider is used to control the density of the air in the atmosphere. The denser the air, the more light will be scattered. When setting the air density, it is best to think in terms of low versus high altitude terrestrial skies.
High altitude skies are almost black, looking straight up, whereas they are blue near the horizon. Low altitude skies are blue looking straight up, and white near the horizon. The effective altitude for the eye point is controlled indirectly by the Air_density option. Air_density settings less than 1 correspond to high altitude skies. Air_density settings greater than 1.0 correspond to low altitude skies with additional fine air pollution.
Dust_density
The value in this slider is used to control the density of the dust in the atmosphere.
Sky_thickness
Represents the thickness of the atmosphere in units.
Sky_Radius
The default for atmospheric Sky_thickness is 1000 units and the Sky_radius of the planet is 50 units. The planet is therefore very large and moving the eye will not greatly affect the appearance of the sky.
The atmospheric Sky_Radius parameter defines the radius of the planet as a multiple of the atmospheric Thickness. If the earth were flat, sunsets would be black. The sun's rays would have to penetrate an infinite length of air when they were traveling horizontally. However, because the earth is round, the length through the atmosphere for the horizontal rays depends on the radius.
Very large values for the radius will result in very red sunsets, however, they will also become exceedingly dim. The Sky_bright option lets you compensate for this.
Note: This is not a standard RGB slider, but rather a brightness slider.
Floor Parameters

The Floor parameters let you assign an image file image as a texture map for the Floor or planet surface. By default, there is no image file mapped to the floor. The floor used is simply a basic color.
Floor_texture
To assign a floor texture map click the Map button.
Has_floor
Lets you toggle the floor texture map ON or OFF at any time.
Cloud Parameters

Cloud texture
Lets you assign a layer of clouds to the sky. The cloud density is modulated using an image file. It is recommended that you use the Fractal surface texture as a background to generate the image file.
By default, there is no image file mapped. To assign a cloud texture map click the Map button.
Cloud_bright.
One form of illumination is the ambient scattered light from the atmosphere. This depends on the current setting of the Elevation parameter in the Sun Parameters window. The results can be fine-tuned using color variables, which set the brightness. Open the Color Editor window to adjust the color.
Sunset_bright.
Another form of illumination of the clouds occurs when the sun is below the horizon and the clouds are front lit. This is a very subtle effect and occurs only briefly. The brightness can be controlled using the Sunset_bright slider.
Density
Controls how dense the clouds are. At 0.0, the clouds are non-existent. At 5.0, they become heavy rain clouds.
Threshold
Controls how much of the sky is covered with cloud by providing a threshold value for the texture. At 0.0 the entire sky will be cloudy. As the threshold increases, darker areas of the texture are considered not cloudy.
Power
The clouds are scaled and positioned by adjusting the Power option. The cloud density is achieved by subtracting the Threshold from the pixel value clipping to 0, then multiplying the result with Density. The amount of de-focusing of the Cloud_texture can be controlled by using the Blur slider control in the Sun Parameters window.
Altitude
The height of the floor is controlled using this slider value. It is important that the eye point and the surfaces in a scene do not travel below this level, or incorrect images will result. The amount of blurring of the floor is computed from the field of view for the image. This will be adequate for viewing the environment directly as a background. However, if the environment is reflected in a highly curved surface, aliasing artifacts will result. In this case, the Blur value in the Sun Parameters window may need to be increased.
Note: The cloud altitude does not greatly affect the position of the clouds on the screen. Instead, it affects the fraction of the atmosphere that obscures it near the horizon. Low altitude clouds disappear into haze much more slowly than high altitude clouds.
Halo_Size
One form of illumination is direct back lighting from the sun. This is most noticeable near the edges of thick clouds or on thin clouds. The radius over which this illumination happens can be controlled by adjusting the Halo Size.
Calculation Quality Parameters

The atmospheric calculations for curved atmospheres are expensive. The Calculation Quality control variables do not greatly affect the appearance of the sky, but do affect the speed at which the calculations are computed.
Sky_samples
The value in this slider controls the number of samples used above the cloud layer. This can be set to a value as low as 1 for maximum speed.
Floor_samples
Floor_samples of 0 provides no atmosphere between the eye and the horizon of the floor. Setting the floor samples to a greater number increases the effects of the atmosphere along the floor.
Cloud_samples
Controls the number of samples below the cloud layer. If set to 0 the clouds will not fade to mist at the horizon.
Sphere environment texture
A Sphere environment texture uses a single image to store the intensity information for all possible directions. The best way to create a spherical environment map is to generate a ramp image and paint objects onto it that avoid the poles and the edges.

Sphere Environment Parameters
Source texture
By default, there is no image file mapped. To assign a texture to a sphere texture map click the Map button.
Shear_u
Specifies that horizontal stripes can be sheared into a barber pole arrangement.
Shear_v
Can be used to apply a horizontal shear to the texture. This mean that previously concentric lines at the poles will now spiral inwards. Combinations of rotations, offsets and shears allow the generation of a vortex animation.
Flip
Flips the U and V orientations in parametric space; what was the horizon now spans the two poles, and vice versa.
Note: This also turns the texture backwards.
aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights
reserved.