Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
OBJECT-ORIENTED ELEMENT SHADING AND COLORING
Document Type and Number:
WIPO Patent Application WO/1995/005638
Kind Code:
A1
Abstract:
An innovative system and method apply appropriate colors to geometric figures and create an effect of lightly contoured surface areas used for drawing human interface elements on a CRT display. A processor with an attached storage and display process graphic objects with the aid of an object-oriented operating system by receiving a plurality of colors defining an object and calculating a shadow color based on the plurality of colors. Then a highlight color is calculated based on the plurality of colors, and finally the object is displayed on the display with a shadow color and a highlight color giving the object a three dimensional appearance.

Inventors:
MATHENY JOHN R
WHITE CHRISTOPHER
SIBERLING ROBIN A
Application Number:
PCT/US1994/000056
Publication Date:
February 23, 1995
Filing Date:
January 03, 1994
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
TALIGENT INC (US)
International Classes:
G06F3/0481; G06F3/14; G06T15/02; G06T15/60; G06T15/80; (IPC1-7): G06T15/50; G06T11/00
Foreign References:
FR2588398A11987-04-10
GB2261144A1993-05-05
EP0406084A21991-01-02
Download PDF:
Claims:
CLAIMS
1. Having thus described our invention, what we claim as new, and desire to secure by Letters Patent is: A method for processing graphic objects on a computer with a memory and an attached display, comprising the steps of: (a) receiving a plurality of colors defining an object; (b) calculating a shadow color based on the plurality of colors; (c) calculating a highlight color based on the plurality of colors; and (d) displaying the object on the attached display with a shadow color and a highlight color.
2. A method as recited in claim 1, including the step of calculating a frame color based on the plurality of colors and displaying a frame around the object on the display.
3. A method as recited in claim 1, including the step of calculating a frame color as a function of a hue, saturation and value.
4. A method as recited in claim 1, including the step of calculating a highlight color as a function of a hue, saturation and value.
5. A method as recited in claim 1, including the step of calculating a shadow color as a function of a hue, saturation and value.
6. A method as recited in claim 1, including the step of filling an object based on the plurality of colors.
7. A method as recited in claim 4, wherein the highlight color is composed of 100% of the hue, 80% of the saturation and 125% of the value.
8. A method as recited in claim 5, wherein the shadow color is composed of 100% of the hue, 200% of the saturation and 50% of the value.
9. A method as recited in claim 3, wherein the frame color is composed of 100% of the hue, 400% of the saturation and 25% of the value.
10. A method as recited in claim 1, including the step of calculating a light shadow color as a function of a hue, saturation and value.
11. A method as recited in claim 10, wherein the light shadow color is composed of 100% of the hue, 132% of the saturation and 75% of the value.
12. A method as recited in claim 1, including the step of displaying a fill area with a shadow perimeter along at least two sides of the fill area, a highlight perimeter, and a frame perimeter outside the shadow perimeter and the highlight perimeter.
13. A system for processing graphic objects, comprising: (a) a processor; (b) a memory attached to and under the control of the processor; (c) a display attached to and under the control of the processor; (d) means for receiving a plurality of colors defining an object; (e) means for calculating a shadow color based on the plurality of colors; (f) means for calculating a highlight color based on the plurality of colors; and (g) means for displaying the object on the attached display with a shadow color and a highlight color.
14. A system as recited in claim 13, including means for calculating a frame color based on the plurality of colors and displaying a frame around the object on the display.
15. A system as recited in claim 13, including means for calculating a frame color as a function of a hue, saturation and value.
16. A system as recited in claim 13, including means for calculating a highlight color as a function of a hue, saturation and value.
17. A system as recited in claim 13, including means for calculating a shadow color as a function of a hue, saturation and value.
18. A system as recited in claim 13, including means for filling an object based on the plurality of colors.
19. A system as recited in claim 16, wherein the highlight color is composed of 100% of the hue, 80% of the saturation and 125% of the value.
20. A system as recited in claim 17, wherein the shadow color is composed of 100% of the hue, 200% of the saturation and 50% of the value.
21. A system as recited in claim 15, wherein the frame color is composed of 100% of the hue, 400% of the saturation and 25% of the value.
22. A system as recited in claim 13, including means for calculating a light shadow color as a function of a hue, saturation and value.
23. A system as recited in claim 22, wherein the light shadow color is composed of 100% of the hue, 132% of the saturation and 75% of the value.
24. A system as recited in claim 13, including means for displaying a fill area with a shadow perimeter along at least two sides of the fill area, a highlight perimeter, and a frame perimeter outside the shadow perimeter and the highlight perimeter.
25. A method for processing graphic objects on a computer with a memory and an attached display, comprising the steps of: (a) receiving a plurality of greyscale values defining an object; (b) calculating a shadow greyscale value based on the plurality of colors; (c) calculating a highlight greyscale value based on the plurality of colors; and (d) displaying the object on the attached display with a shadow and a highlight greyscale value.
Description:
OBJECT-ORIENTED ELEMENT SHADING AND COLORING

COPYRIGHT NOTIFICATION j Portions of this patent application contain materials that are subject to

* 5 copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.

Field of the Invention

10 This invention generally relates to improvements in computer systems and more particularly to a system and method for shading and coloring elements on a graphic display.

Background of the Invention

It is a recent trend in computer software to present the visual components of 15 the software (such as controls and windows) using a visual style with a three- dimensional (3D) effect that gives the illusion of tactile and spatial qualities. This trend has been assisted by recent advances in CRT hardware display capabilities. A 3D appearance conveys important cues about the software interface and complements direct manipulation methods of interacting with software. For 20 example, NeXT computers uses 3D shading to enhance the appearance of buttons on their operating system. Computer Aided Design (CAD) packages have also employed 3D shading to enhance the appearance of design information.

Summary of the Invention

An innovative system and method apply appropriate colors to geometric 25 figures and create an effect of lightly contoured surface areas used for drawing human interface elements on a CRT display. A processor with an attached storage and display process graphic objects with the aid of an object-oriented operating system by receiving a plurality of colors defining an object and calculating a shadow , color based on the plurality of colors. Then a highlight color is calculated based on

; 30 the plurality of colors, and finally the object is displayed on the display with a shadow color and a highlight color giving the object a three dimensional appearance.

Brief Description of the Drawings

Figure 1 is a block diagram of a personal computer system in accordance with a preferred embodiment;

Figure 2 illustrates a button in accordance with a preferred embodiment;

Figure 3 illustrates some example areas which can be created by applying hilight and shading colors to geometric shapes in accordance with a preferred embodiment;

Figure 4 shows a range of ten percent black tints, which create a range of grays in accordance with a preferred embodiment;

Figure 5 show an example of a button with each of the shade areas in accordance with a preferred embodiment;

Figures 6A and 6B illustrate graphic objects, which differ only in the colors used for the frame and shadow areas, and the resulting optical effect of different levels of depth in accordance with a preferred embodiment;

Figure 7 illustrates an HSV color space, based on a cylindrical coordinate system in accordance with a preferred embodiment;

Figure 8 illustrates outside edges of a RGB cube in accordance with a preferred embodiment;

Figure 9 is a flowchart presenting the logic associated with a preferred embodiment; and

Figure 10 is a flowchart of the detailed logic associated with obtaining new values for the Highlight Color, Shadow Color, Frame Color and the Light Shadow Color in accordance with a preferred embodiment.

Detailed Description Of The Invention

The invention is preferably practiced in the context of an operating system resident on a personal computer such as the IBM ® PS/2 ® or Apple ® Macintosh ® computer. A representative hardware environment is depicted in Figure 1, which illustrates a typical hardware configuration of a computer in accordance with the

subject invention having a central processing unit 10, such as a conventional microprocessor, with a built in non-volatile storage 11, and a number of other units interconnected via a system bus 12. The workstation shown in Figure 1 includes a Random Access Memory (RAM) 14, Read Only Memory (ROM) 16, an I/O adapter 18 for connecting peripheral devices such as a disk unit 20, and a diskette unit 21 to the bus, a user interface adapter 22 for connecting a keyboard 24, a mouse 26, a speaker 28, a microphone 32, and /or other user interface devices such as a touch screen device (not shown) to the bus, a communication adapter 34 for connecting the workstation to a data processing network 23 and a display adapter 36 for connecting the bus to a display device 38. The computer has resident thereon an operating system such as the Apple System/7 ® operating system.

Object Oriented Programming Techniques

In a preferred embodiment, the invention is implemented in the C++ programming language using object oriented programming techniques. As will be understood by those skilled in the art, Object-Oriented Programming (OOP) objects are software entities comprising data structures and operations on the data. Together, these elements enable objects to model virtually any real-world entity in terms of its characteristics, represented by its data elements, and its behavior, represented by its data manipulation functions. In this way, objects can model concrete things like people and computers, and they can model abstract concepts like numbers or geometrical concepts. The benefits of object technology arise out of three basic principles: encapsulation, polymorphism and inheritance.

Objects hide, or encapsulate, the internal structure of their data and the algorithms by which their functions work. Instead of exposing these implementation details, objects present interfaces that represent their abstractions cleanly with no extraneous information. Polymorphism takes encapsulation a step further. The idea is many shapes, one interface. A software component can make a request of another component without knowing exactly what that component is. The component that receives the request interprets it and determines, according to its variables and data, how to execute the request. The third principle is inheritance, which allows developers to reuse pre-existing design and code. This capability allows developers to avoid creating software from scratch. Rather, through inheritance, developers derive subclasses that inherit behaviors, which the developer then customizes to meet their particular needs.

A prior art approach is to layer objects and class libraries in a procedural environment. Many application frameworks on the market take this design approach. In this design, there are one or more object layers on top of a monolithic operating system. While this approach utilizes all the principles of encapsulation, polymorphism, and inheritance in the object layer, and is a substantial improvement over procedural programming techniques, there are limitations to this approach. These difficulties arise because it is easy for a developer to reuse their own objects, it is difficult to use objects from other systems, and a developer still needs to reach into the internal, non-object layers with procedural Operating System (OS) calls.

Another aspect of object oriented programming is a framework approach to application development. One of the most rational definitions of frameworks come from Ralph E. Johnson of the University of Illinois and Vincent F. Russo of Purdue. In their 1991 paper, Reusing Object-Oriented Designs, University of Illinois tech report UIUCDCS91-1696 they offer the following definition: "An abstract class is a design of a set of objects that collaborate to carry out a set of responsibilities. Thus, a framework is a set of object classes that collaborate to execute defined sets of computing responsibilities." From a programming standpoint, frameworks are essentially groups of interconnected object classes that provide a pre-fabricated structure of a working application. For example, a user interface framework might provide the support and "default" behavior of drawing windows, scroll bars, menus, etc. Since frameworks are based on object technology, this behavior can be inherited and overridden to allow developers to extend the framework and create customized solutions in a particular area of expertise. This is a major advantage over traditional programming since the programmer is not changing the original code, but rather extending the software. In addition, developers are not blindly working through layers of code because the framework provides architectural guidance and modeling but at the same time frees them to then supply the specific actions unique to the problem domain.

From a business perspective, frameworks can be viewed as a way to encapsulate or embody expertise in a particular knowledge area. Corporate development organizations, Independent Software Vendors (ISV)s and system integrators have acquired expertise in particular areas, such as manufacturing, accounting, or currency transactions. This expertise is embodied in their code. Frameworks allow organizations to capture and package the common characteristics

of that expertise by embodying it in the organization's code. First, this allows developers to create or extend an application that utilizes the expertise, thus the problem gets solved once and the business rules and design are enforced and used consistently. Also, frameworks and the embodied expertise behind the frameworks have a strategic asset implication for those organizations which have acquired expertise in vertical markets such as manufacturing, accounting, or bio-technology have a distribution mechanism for packaging, reselling, and deploying their expertise, and furthering the progress and dissemination of technology.

Historically, frameworks have only recently emerged as a mainstream concept on computing platforms. This migration has been assisted by the availability of object-oriented languages, such as C++. Traditionally, C++ was found mostly on UNIX systems and researcher's workstations, rather than on computers in commercial settings. It is languages such as C++ and other object- oriented languages, such as Smalltalk and others, that enabled a number of university and research projects to produce the precursors to today's commercial frameworks and class libraries. Some examples of these are Interviews from Stanford University, the Andrew toolkit from Carnegie-Mellon University and University of Zurich's ET++ framework.

There are many kinds of frameworks depending on the level of the system and the nature of the problem. The types of frameworks range from application frameworks that assist in developing the user interface, to lower level frameworks that provide basic system software services such as communication, printing, file systems support, graphic, etc. Commercial examples of application frameworks are MacApp (Apple), Bedrock (Symantec), OWL (Borland), NeXTStep App Kit (NeXT), and Smalltalk-80 MVC (ParcPlace).

Programming with frameworks requires a new way of thinking for developers accustomed to other kinds of systems. In fact, it is not like

"programming" at all in the traditional sense. In old-style operating systems such as DOS or UNIX, the developer's own program provides all of the structure. The operating system provides services through system calls — the developer's program makes the calls when it needs the service and control returns when the service has been provided. The program structure is based on the flow-of-control, which is embodied in the code the developer writes.

When frameworks are used, this is reversed. The developer is no longer responsible for the flow-of-control. The developer must forego the tendency to understand programming tasks in term of flow of execution. Rather, the thinking must be in terms of the responsibilities of the objects, which must rely on the framework to determine when the tasks should execute. Routines written by the developer are activated by code the developer did not write and that the developer never even sees. This flip-flop in control flow can be a significant psychological barrier for developers experienced only in procedural programming. Once this is understood, however, framework programming requires much less work than other types of programming.

In the same way that an application framework provides the developer with prefab functionality, system frameworks, such as those included in a preferred embodiment, leverage the same concept by providing system level services, which developers, such as system programmers, use to subclass/override to create customized solutions. For example, consider a multi-media framework which could provide the foundation for supporting new and diverse devices such as audio, video, MIDI, animation, etc. The developer that needed to support a new kind of device would have to write a device driver. To do this with a framework, the developer only needs to supply the characteristics and behavior that is specific to that new device.

The developer in this case supplies an implementation for certain member functions that will be called by the multi-media framework. An immediate benefit to the developer is that the generic code needed for each category of device is already provided by the multi-media framework. This means less code for the device driver developer to write, test, and debug. Another example of using system framework would be to have separate I/O frameworks for SCSI devices, NuBus cards, and graphics devices. Because there is inherited functionality, each framework provides support for common functionality found in its device category. Other developers could then depend on these consistent interfaces to all kinds of devices.

A preferred embodiment takes the concept of frameworks and applies it ' throughout the entire system. For the commercial or corporate developer, system integrator, or OEM, this means all the advantages that have been illustrated for a framework such as MacApp can be leveraged not only at the application level for

such things as text and user interfaces, but also at the system level, for services such as graphics, multi-media, file systems, I/O, testing, etc.

Application creation in the architecture of a preferred embodiment is essentially like writing domain-specific puzzle pieces that adhere to the framework protocol. In this manner, the whole concept of programming changes. Instead of writing line after line of code that calls multiple API hierarchies, software will be developed by deriving classes from preexisting frameworks within this environment, and then adding new behavior and /or overriding inherited behavior as desired.

Thus, the developer's application becomes the collection of code that is written and shared with all the other framework applications. This is a powerful concept because developers will be able to build on each other's work. This also provides the developer the flexibility to customize as much or as little as needed. Some frameworks will be used just as they are. In some cases, the amount of customization will be minimal, so the puzzle piece the developer plugs in will be small. In other cases, the developer may make very extensive modifications and create something completely new. In a preferred embodiment, as shown in Figure 1, a program resident in the RAM 14, and under the control of the CPU 10, is responsible for managing various tasks using an object oriented graphic framework.

A preferred embodiment employs a new architecture to automatically create the appearance of contoured surface areas, which are employed in the architecture to draw the human interface elements of the software. Representing parts of a computer interface as surfaces or objects that have depth imparts a tangible, real- world quality which conveys meaning and functionality. For example, a user will be able to recognize and use a button control on the screen, because it resembles the user's concept of push buttons in the real world. Figure 2 shows an example of a button represented in this manner. This tangible appearance enables users to take advantage of what they know about the real world and tacitly apply that knowledge to using a computer interface. This is one factor in creating computer software that is "easy to use".

Creating the appearance of contoured elements The appearance of contoured elements relies on changes in color intensity which serve as visual cues that convey depth, shape and contour. This is the case in all types of flat visual mediums including paper, canvas and computer screens. For

the purposes of a computer application, the elements showing contour generally need to be simply drawn with little detail and flat depth. To represent elements on the display, the colors of geometric figures are carefully chosen to give the illusion of light striking an irregular surface, creating highlighted edges, shaded areas, and shadows. It is not necessary to define these elements as actual 3D objects, for their only function is to give the effect of depth and contour, and to be derived and rendered as quickly as possible on the screen. Figure 3 shows some example areas which can be created by applying hilight and shading colors to simple geometric shapes.

A process used in art and design creates tints of a color by adding white to a pure color. A range of gray values is created when increments of white are added to black. Each color tint is expressed as a tint of the original color. Figure 4 shows a range of ten percent black tints, which create a range of grays. Colors selected from this range of grays work well together to create 3D effects in accordance with a preferred embodiment. Figure 5 shows example graphic areas, drawn using the ten percent grays.

The examples in Figure 6A are created by assigning a light color ("highlight") to the edges which appear to catch and reflect light, a medium color ("fill") to the background, and one or two colors to areas of shaded contour ("light shadow" and "shadow"). In some cases, a very dark color ("frame") is used as a dark defining line. These colors are employed in different ways to achieve graphic elements of different appearances and effects. Figure 6B illustrates an added area for a frame. Using these four colors in different ways, many different styles of areas can be created. "Area" is used to depict a generic enclosed region. Visually, an area is defined by the darkest line. For a given graphic element, it is the contrast, the difference in color value (percent), between these colors that gives the effect and degree of depth. With less difference between the colors used for the hilight, fill, light shadow, shadow and frame, the area appears to be softer and shallower. With more contrast, the area appears sharper and higher. Figure 6A presents three objects, which differ only in the colors used for the frame and shadow areas, and the resulting optical effect of different levels of depth.

Specifying Lighter and Darker Colors To create the effect of contour using chromatic color, it is important to determine the corresponding lighter and darker colors for the highlight, shadows and frame. One way to describe color is in terms of hue, saturation and brightness

(or value). Hue refers to the chromatic color (blue, green, etc.). Saturation is used to indicate color purity, compared with white. Brightness, also called value, indicates the achromatic intensity, or how much black is added to the color. Artists specify color as tints and shades of basic pigments. A tint is the result of adding white to the pigment, and has the same effect of decreasing saturation. Adding black to a pigment creates a shade, or decrease in brightness. The end results are different colors of the same hue, with varying saturation and brightness, creating the corresponding lighter and darker colors.

Color models are a convenient way to specify colors and their relationships to each other. A color model is a description of a 3D color coordinate system in which a specific color is represented by a point. Many different color models have been created by artists and scientists to explain different aspects of color. A Hue, Saturation, Value (HSV) color model represents an artist's intuitive use of color, tint and shade. Figure 7 illustrates a HSV color model which is based on a cylindrical coordinate system, a six sided pyramid (hex cone) with a flat top at one end, terminating in a point at the other end. The outer edges of the flat top of the hex cone contain the pure, brightest colors (red, blue, green) and their secondary colors. Hue is specified in degree around the diameter, with 0° and 360° being pure red. The center axis contains achromatic values with white at the top center, black at the pointed end, and gray values running in-between along the vertical axis. Saturation is specified by the radial distance from the center. Value is specified as the distance from the black pointed end. Within this color model, a lighter or darker color for a given hue can be found by increasing or decreasing value and saturation, which identifies a color above or below that hue.

Determining lighter and darker colors in a computer system palette.

Foley, vanDam, et al, explain the intricacies of color in computer CRT displays in Interactive Computer Graphics: Principles and Practice, ((c) 1990 Addison-Wesley Publishing Company, Inc.). In their book they indicate, "The Red, Green, Blue (RGB) color model used in color CRT monitors and color raster graphics employs a Cartesian coordinate system. The RGB primaries are additive primaries; that is, the individual contributions of each primary are added together to yield the result... The main diagonal of the cube, with equal amounts of each primary, represents the gray levels; black is 0,0,0; white is 1,1,1."

The red, green, and blue primary colors used in the additive color systems relate to the red, green and blue phosphors used in color displays, and to the

psychological-physiological tri-stimulus theory of color perception, which is based on the hypothesis that there are three kinds of cones on the retina of the eye, each with peak sensitivities to light of these hues. Figure 8 shows the outside edges of a RGB cube.

To be compatible with eight bit CRT displays, commonly used in the computer industry, a preferred embodiment optimizes its color choices to identify exact colors available on this type of display. An eight bit color display is capable of showing two-hundred fifty-six colors. The RGB color space inside a two-hundred fifty-six color gamut is a cube of 6x6x6 units, or 216 colors (including black, white and four grays). Thus, the points in this cube are each different from their neighbors by 20% along one or more axis. (The remaining 40 slots available in the 256 color gamut are usually selected by the system designers.)

The RGB cube and the HSV hex cone are geometrically similar shapes. The top of the HSV hex cone corresponds to the projection seen by looking along the principal diagonal of the RGB color cube from white toward black. A preferred embodiment employs the technique of finding lighter and darker corresponding colors by translating a color specified in RGB space into the HSV color space. This process also maintains the integrity of the interface when viewed in greyscale because it relies on the contrast between the colors to maintain the illusion of depth. A detailed explanation of color, color space, color gamuts and other color related principles described and illustrated in this specification is presented in, Principles of Color Technology, 2nd Edition, by Fred W. Billmeyer, Jr. and Max Salzman, John Wiley & Sons, 1981; Color and the Computer, by Foley et al., Addison-Wesley Publishing Co., Inc. 1990.

Defining Elements

A preferred embodiment for displaying elements employs 3D rendering technology. This processing includes defining each element as an individual object having depth, width and height, specifying the light source, and then rendering the output using a sophisticated 3D mechanism. An advantage of the preferred embodiment is that these programming methods can be specialized for the purpose of drawing software interface elements, such as windows, buttons, and other types of controls. Using this approach, elements can be created and displayed on the screen very rapidly with little processor impact because complex calculations and data transformations are minimized.

Details in accordance with a preferred embodiment

A preferred embodiment includes a flexible method for automatically determining new colors for shading contour by manipulating the saturation and value of a base fill color. Four new colors are derived from the fill color - hilight, light shadow, shadow and frame. These five colors are twenty percent darker or lighter in value. (On a scale where black is 100%) The process is:

1. Specify a starting base or "fill" color, as coordinates in RGB (red, green, blue) color model. 2. Convert the fill color to the HSV (hue, saturation, value) color model. (A description of the RGB and HSV color models and the algorithm to convert between the two is published in Interactive Computer Graphics: Principles and Practice, Foley, vanDam, et al, (c) 1990 Addison-Wesley Publishing Company, Inc.) 3. Determine new HSV values for the four new colors: a. To determine the "highlight" color, the fill color's saturation is multiplied by 0.8, and the value is multiplied by 1.25, with a maximum value of 1. b. To determine the "light shadow" color, the fill color's saturation is multiplied by 1.32, and the value is multiplied by .75, with a maximum value of 1. c. To determine the "shadow" color, the fill color's saturation is multiplied by 2 with a maximum value of 1. The value is divided by 2. d. To determine the "frame" color, the fill color's saturation is multiplied by four, with a maximum value of 1, and the value is divided by four. 4. Convert the HSV values for each color back to RGB.

5. Assign these colors to the lines or areas which draw a particular element.

Detailed Logic

The logic associated with a preferred embodiment is also presented in the flowchart shown in Figure 9. Processing commences at terminal 1400 where control is passed to function block 1400 where the Red, Green. Blue (RGB) color is obtained. Then, at function block 1420, the RGB color is converted to Hue, Saturation and Value as described above. The new HSV values are obtained at 1430 for Highlight (H), Shadow (S) and Frame(F). The details of this calculation are presented in Figure 10 and its accompanying description. Then the new HSV values are converted back to RGB values as indicated in function block 1440, the object is drawn in simulated 3D in function block 1450, and processing is completed at terminal 1460.

Figure 10 is a flowchart of the detailed logic associated with obtaining new values for the Highlight Color, Shadow Color, Frame Color and the Light Shadow Color. Processing commences at terminal 1500 and control is immediately passed to function block 1510 to calculate the Highlight color. To determine the Highlight color: H = H; S = S * .8; and V = V * 1.25 (Vmax=l). Then, at function block 1520 the Shadow Color is calculated, at function block 1530, the Frame Color is calculated To determine the shadow color: H = H; S = S * 2 (max=l); V = V / 2. To determine the frame color: H = H; S = S * 4 (max=l); and V = V / 4. At function block 1540 the Light Shadow Color is calculated. To determine the light shadow color: H = H; S = S * 1.32; and V = V * .75. These values are used to carry out the processing set forth in Figure 14 at function block 1450. Objects such as bounding rectangles, buttons and fields using these as line colors. By positioning lines of certain colors next to each other, a 3D effect is achieved. The overall color of the object can be changed by passing the desired fill color. The rest of the colors change automatically as indicated in the flowchart logic. Finally, processing is completed at terminal 1550.

Similar uses of the rendering system are available for bounding rectangles and other fields. Further, while the invention has been described in terms of a preferred embodiment in a specific system environment, those skilled in the art will recognize that the invention can be practiced, with modification, in other and different hardware and software environments within the spirit and scope of the appended claims.