摘要:
A method and system for performing enhanced lighting functions with respect to texture map data is operable within a computer controlled graphics display system and allows defined portions of a texture map to bypass prescribed lighting processes. Within a texture map, each texel data (u,v) is defined to contain color information and a control code (e.g., “texel light bit”). The texel light bit indicates to the lighting process whether or not texel color modulation is to occur to this texel data. In one embodiment, if the texel light bit is set, then no lighting modifications (e.g., color modulations) are performed with respect to the texel data. Also, if the texel light bit is not set, then normal lighting modifications are performed with respect to the texel data. In this way, the present invention allows texture map data to be lit in a non-uniform manner across a same graphics primitive. The present invention is particularly useful with respect to graphics objects (e.g., lights, indicator bulbs, glowing regions of the texture map) which should remain unaffected by external light sources (e.g., the sun, the moon, darkness of the night) within a three-dimensional graphic scene. By defining certain texel regions as having “texel lights”, the present invention then bypasses the external lighting conditions applied to the display scene for these regions.
摘要:
A graphics processor is disclosed that renders polygons with specular highlighting (glare) based on specular fractional values included in a texture map as components of each texel in the texure map. Each texel in the texture map includes red, green, and blue color values and the specular fractional component. The specular fractional component determines the proportion or percentage of a specular color value that is to be combined with the texel color values. The graphics processor preferably comprises a texture map engine that includes multiplier logic and adder logic. The texture map engine receives three values preferably from a video memory device—the texel color value, the specular fractional component value, and the specular color value. The multiplier multiplies the specular fraction by the specular color value and the resulting product is added to the texel color value. The output value from the adder is then used to render a screen pixel or is provided to another lighting stage. The result is that the texture map itself can influence how much specular highlighting is applied to an object on the screen.
摘要:
A method and system for filtering texture map data for improved image quality in a graphics computer system. The present invention is directed to a method and system for performing texture map filtering for reducing “flickering” and “sparkling” when rendering a relatively small graphics primitives using a texel map of relatively larger area and low color frequency. A footprint area is defined as the area of texel map space that is mapped into one pixel coordinate of display space. One embodiment of the present invention is particularly useful in texture mapping where the footprint area is larger than one. In this instance, during rendering, the change in texel map coordinates (e.g., du, dv) is large for a unit change in screen coordinates (e.g., dx, dy). When obtaining a texel at location (u, v), the present invention performs a color filtering of texels located at distances du and dv away from the texel at location (u, v). If texel wrap is not allowed, edge pinning is used to obtain the required texels for color filtering. The texels which are rendered in adjacent pixels on the display screen become more colored filtered with respect to each other rather than filtering nearest neighbor texels which often leads to flickering and sparkling in texture mapping cases of large footprint areas. The present invention reduces flickering and sparkling without requiring multiple texture maps (and therefore additional memory), as required using mipmapping.
摘要:
An equalized or compensated suspension system is reproduced in a model of a locomotive and comprises an arrangement of levers and/or dummy leaf springs which are interconnected by links so as to imitate the suspension system of the original locomotive. The model locomotive has a chassis and generally vertically reciprocable wheel axles mounted along the chassis. Springs are disposed in housings fixed to the model's chassis and are arranged to act at opposite ends on the wheel axles and associated levers or dummy leaf springs of the suspension system.
摘要:
In a model of a steam locomotive which is driven by an electric motor and includes a model reproduction of the valve gear regulating the steam control valves of the steam cylinders, the electric motor is coupled to the axle of a set of driving wheels of the model via a drive shaft, which is permitted a limited amount of axial float and is coupled to the axle by a gearbox. Axial movement of the drive shaft is produced by interaction between the gears of the gearbox and is controlled by coil springs disposed on the shaft at opposite ends of the gearbox. These axial movements result from changes in the amount and direction of the torque applied to the gearbox by the electric motor and are transmitted to the model valve gear by an axially movable rod. Hence the configuration of the model valve gear is continuously changeable in accordance with the required pulling power and direction of movement of the model locomotive so that the position of the model valve gear substantially corresponds to that of the real locomotive when operating under similar conditions, thereby providing for more realistic operation of the model.
摘要:
In a model of a steam locomotive having two independent sets of driving wheels, the single electric motor for driving the model is coupled to the two sets of driving wheels via a differential gear. The latter allows the two sets of driving wheels to alter their angular positions relative to each other, owing to track irregularities and other causes, and thereby enables the model to operate more realistically.