PHIGS by Example by William A. Giovinazzo & William A. Gaman
Author:William A. Giovinazzo & William A. Gaman
Language: eng
Format: epub
Publisher: Springer-Verlag Wien 2012
Published: 2015-04-12T16:00:00+00:00
4.1 Color Representation
As we have seen in Chapter 1, one way to specify an output primitive’s color is to set a color index. Each workstation has a color table that contains a list of all the colors for that workstation. The color index specified for the output primitive is an index into this table. Since the color table for each workstation can vary, we say that the color index is workstation dependent.
Figure 4.2 graphically demonstrates how the colors can vary from workstation to workstation. The structure specifies an index of 1 into the color table for an output primitive, it then posts the structure to workstation 1 and workstation 2. The color contained in entry 1 for each of these workstations is different. The output primitive that is resultantly displayed on the workstation, therefore, is different. This can be very useful in many applications when color is a function of some characteristic of a model. If, for example, we wished to demonstrate varying stress on an object, the index into the table can be a function of the stress on the object. We can also use multiple workstations with different color tables to model different function of the same structure. Figure 4.2. Indexed color.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Kathy Andrews Collection by Kathy Andrews(11318)
The remains of the day by Kazuo Ishiguro(8378)
Paper Towns by Green John(4785)
Spare by Prince Harry The Duke of Sussex(4781)
Industrial Automation from Scratch: A hands-on guide to using sensors, actuators, PLCs, HMIs, and SCADA to automate industrial processes by Olushola Akande(4587)
The Body: A Guide for Occupants by Bill Bryson(4577)
Be in a Treehouse by Pete Nelson(3642)
Harry Potter and the Goblet Of Fire by J.K. Rowling(3604)
Machine Learning at Scale with H2O by Gregory Keys | David Whiting(3599)
Never by Ken Follett(3515)
Goodbye Paradise(3441)
The Remains of the Day by Kazuo Ishiguro(3130)
Into Thin Air by Jon Krakauer(3125)
The Cellar by Natasha Preston(3073)
The Genius of Japanese Carpentry by Azby Brown(3033)
Drawing Shortcuts: Developing Quick Drawing Skills Using Today's Technology by Leggitt Jim(2936)
120 Days of Sodom by Marquis de Sade(2935)
Fairy Tale by Stephen King(2935)
The Man Who Died Twice by Richard Osman(2801)
