摘要:
An adaptive forward differencing apparatus wherein, when rendering curves, calculated x, y values are increased or decreased in order to create values which correspond to the next pixel of the display CRT, such that curves of substantially one pixel increments are continuously and uniformly generated. The apparatus also provides circuitry for generating coordinates of display elements which approximate an ideal vector and to define curves, vectors or objects within maximum and minimum coordinates of the CRT display. The present invention also provides efficient circuitry for computing the value of 1/w of the homogenous coordinate w.
摘要:
An adaptive forward differencing apparatus wherein, when rendering curves, calculated x, y values are increased or decreased in order to create values which correspond to the next pixel of the display CRT, such that curves of substantially one pixel increments are continuously and uniformly generated. The apparatus of the present invention also provides circuitry for generating coordinates of display elements which approximate an ideal vector and to define curves, vectors or objects within maximum and minimum coordinates of the CRT display. The present invention also provides efficient circuitry for computing the value of 1/w of the homogenous coordinate w.
摘要:
An adaptive forward differencing apparatus, wherein, when rendering curves, calculated x, y values are increased or decreased in order to create values which correspond to the next pixel of the display CRT, such that curves of substantially one pixel increments are continuously and uniformly generated. The apparatus also provides circuitry for generating coordinates of display elements which approximate an ideal vector and to define curves, vectors or objects within maximum and minimum coordinates of the CRT display. The apparatus also provides efficient circuitry for computing the value of 1/w of the homogenous coordinate w.
摘要:
The present invention provides apparatus and methods which are most advantageously used in conjunction with a computer display system incorporating the use of a Z-buffer to provide three dimensional hidden surface elimination. A buffer memory is provided which is sufficiently large such that each display element (pixel) on the display is represented by a 16-bit Z value. The Z value corresponds to the Z axis depth of the object at the particular point corresponding to the pixel. The buffer comprises a plurality of dynamic random access memories (D-RAMs) having two operation modes: Normal and Read-Modify-Write (RMW). A counter/pointer register is provided which successively addresses values in the buffer representing successive pixels along scan lines of the display. A graphics processor is provided with coordinates defining a three dimensional image to be displayed and, for each point of the object, computes a current Z.sub.c value beginning at an initial coordinate address in memory. The initial address is loaded into the graphics processor and a D-RAM read-modify write (RMW) cycle is initiated concurrent with the calculation of Z.sub.c. This address corresponds to the address for the point at which the graphics processor is computing Z.sub.c. The value of Z.sub.p, the prior Z value for that address location, is read from the buffer memory and stored in a data-out register. The dynamic RAM in the buffer then waits in the RMW cycle until the processor fetches the Z.sub.p value from the data-out register and compares it to Z.sub.c. The value of Z.sub.p in the buffer is updated if Z.sub.c is less than Z.sub.p. If Z.sub.c is greater than or equal to the Z.sub.p the RMW cycle is aborted, and the current value of Z.sub.p in the buffer is maintained.
摘要:
In a bit mapped display environment which has n hardware color look-up tables (CLUTs) where n=1 or more, which also has a limited number of Display Attribute Identification Values, and which may operate under various window systems, such as the X Window System protocol, an apparatus and a method for installing and uninstalling hardware colormaps under the constraint of a finite number of Display Attribute Identification Values, whereby the most recently installed (MRI) policy of the X Window System is followed. The invention provides a scheme which gracefully degenerates to some "color flashing" when Display Attribute Identification Values are exhausted; which allows Display Attribute Identification Values to be uncoupled from colormap management and used for more graphics intensive functions when needed; and which dynamically regenerates when display attributes again become available. The invention also minimizes the rendering of the Display Attribute Planes when a new colormap is installed in a system containing multiple hardware color look-up tables.
摘要:
A method and apparatus for handling alpha premultiplication is described. In an embodiment, image data is contained within an instance of an image object that also contains a state variable indicating whether the image data is currently premultiplied or non-premultiplied. A method within the image object responds to requests to coerce the image data into a desired or destination premultiplication state. Based on the value of the state variable, the method multiplies or divides the image data components by the alpha component, or does nothing. The state variable is updated to reflect any change in the premultiplication state of the image data. In one embodiment, the image object is implemented as a buffered image object instance containing a tile object instance and a color model object instance. The tile object instance maintains a reference to a data array(s) containing the image data file, and provides methods for inserting and extracting pixel data from the data array(s). The color model object instance contains the premultiplication state variable for the image data, and a method for coercing the image data into a desired premultiplication state. Applications can insure that image data is in the desired premultiplication state by accessing the associated buffered image object instance to invoke the coercion method, and specifying the desired state. The buffered image object instance responds by invoking the data coercion method in the color model object instance, and specifying the desired premultiplication state and the tile object instance containing the image data.