Claims
- 1. An apparatus receiving a source image signal and a plurality of texture signals each representing a texture, for combining the source image signal with signals representing at least two of the textures during a single pixel rendering pass, the apparatus comprising:
- a first texture composite unit, disposed to receive the source image signal and a first texture signal of the plurality of texture signals, the source image signal and the first texture signal representing independent textures, and a first control signal representing a first relationship between the source image signal and the first texture signal, for combining the source image signal and the first texture signal in accordance with the first relationship to generate a first output texture signal;
- a second texture composite unit, disposed to receive the first output texture signal, a second texture signal of the plurality of texture signals, and a second control signal representing a second relationship between the first output texture signal and the second texture signal, for combining the first output texture signal and the second texture signal in accordance with the second relationship to generate a second output texture signal, wherein the second output texture signal is generated from the source image signal, the first texture signal, and the second texture signal in a single pixel rendering pass.
- 2. The apparatus of claim 1, wherein the second texture composite unit receives the first output texture signal directly from the first texture composite unit.
- 3. The apparatus of claim 2, wherein the first control signal and the second control signal are the same.
- 4. The apparatus of claim 2, wherein the first control signal and the second control signal are different.
- 5. The apparatus of claim 1, wherein additional texture composite units are sequentially connected such that one additional texture signal is combined by each additional texture composite unit during a single pixel rendering pass.
- 6. The apparatus of claim 1, wherein the source image signal comprises a source image color signal and a source image alpha signal and the first texture signal comprises a first texture color signal and a first texture alpha signal, the apparatus further comprising:
- a subtraction unit, having the source image color signal and the first texture color signal as inputs, for subtracting the source image color signal from the first texture color signal.
- 7. The apparatus of claim 1, wherein the source image signal comprises a source image color signal and a source image alpha signal and the first texture signal comprises a first texture color signal and a first texture alpha signal, the apparatus fiuther comprising:
- a multiplication and add unit, for multiplying the first texture signal with one of the source image color signal, the first texture alpha signal, the second texture alpha signal, and a level-of-detail signal, and adding one of the source image color signal and a third signal.
- 8. The apparatus of claim 1, wherein the source image signal comprises a source image color signal and a source image alpha signal and the first texture signal comprises a first texture color signal and a first texture alpha signal, the apparatus further comprising:
- a multiplication unit, for multiplying the first texture color signal and one of the source image color signal, the first texture alpha signal, the second texture alpha signal, and a level-of-detail signal.
- 9. The apparatus of claim 8, further comprising:
- a constant generating unit, for generating a signal representing a predefined value.
- 10. The apparatus of claim 8, further comprising:
- a pass-through unit, coupled to the source image signal, for outputting the source image signal.
- 11. The apparatus of claim 1, wherein the source image signal and the first texture signal each include four component signals.
- 12. The apparatus of claim 11, wherein the four component signals include a red color signal, a green color signal, a blue color signal, and an alpha color signal.
- 13. The apparatus of claim 11, wherein each texture composite unit further comprises four texture combine subunits, each texture combine subunit associated with one of the four component signals, each of the texture combine subunits having a first blend factor determinator, a blending unit, and an addition unit.
- 14. The apparatus of claim 13, wherein each of the texture combine subunits receives a control signal, and performs at least one of the blend function and the add function in response to the control signal in a single pixel rendering pass.
- 15. The apparatus of claim 13, wherein two or more of the texture combine subunits receive a first control signal and perform at least one of the blend function and the add function in response to the first control signal in a single pixel rendering pass.
- 16. The apparatus of claim 1, further comprising a first storage unit coupled to the first texture composite unit and a second storage unit coupled to the second texture composite unit, the first storage unit storing a representation of a first mipmap level, the second storage unit storing a representation of a second mipmap level.
- 17. The apparatus of claim 16, wherein the first texture composite unit includes:
- a first blend factor determinator, for determining a first blend factor, the first blend factor representing a blending relationship between the source image signal and the first texture signal;
- a first blending unit, coupled to the first blend factor determinator, for blending the source image signal and the first texture signal based upon the first blend factor; and
- a first addition unit, having the source image signal and the first texture signal as inputs, for adding the first output texture signal and the first texture signal.
- 18. The apparatus of claim 17, wherein the blending factor is equal to a selected composite factor representing one of the first mipmap level and a mid-level mipmap level between the first mipmap level and the second mipmap level, the source image color signal representing the first mipmap level, the first texture color signal representing the second mipmap level.
- 19. The apparatus of claim 17, wherein a texture effect is indicated by either or both of the first control signal and the second control signal.
- 20. The apparatus of claim 19, wherein the texture effect is one or both of specular light reflections and diffuse light reflections.
- 21. A computer based method for combining at least two texture signals, in a single pixel rendering pass, the computer having a first texture composite unit and a second texture composite unit, comprising the steps of:
- (a) receiving a source image signal;
- (b) receiving a first texture signal representing an independent texture;
- (c) receiving a first control signal representing a first relationship between the source image signal and the first texture signal; and
- (d) combining the source image signal and the first texture signal in accordance with the first relationship to generate a first output texture signal;
- (e) receiving a second texture signal;
- (f) receiving a second control signal representing a second relationship between the first output texture signal and the second texture signal; and
- (g) combining the first output texture signal and the second texture signal in accordance with the second relationship to generate a second output texture signal;
- wherein the second output texture signal is generated from the source image signal, the first texture signal, and the second texture signal in a single pixel rendering pass.
- 22. The method of claim 21, wherein the first and second control signals are the same.
- 23. The method of claim 21, wherein the first and second control signals are different.
- 24. The method of claim 21, wherein steps (e)-(g) are sequentially repeated for each generated output texture signal and additional texture signals such that one additional texture is combined by each repetition of steps (e)-(g) during a single pixel rendering pass.
- 25. The method of claim 21, wherein the second relationship can be represented by at least one of a blending operation, a multiplication operation, a subtraction operation, and an additional operation.
- 26. The method of claim 21, further comprising the steps of:
- determining a blend factor representing a relationship between the source image signal and the first texture signal; and
- performing one of a blending operation and an addition operation in a single texture rendering pass in response to the second control signal, the blending operation combining the source image signal and the first texture signal according to the blend factor, the addition operation adding the source image signal to the first texture signal to generate the first texture output signal.
- 27. The method of claim 26, further comprising the step of:
- performing a subtraction operation on the source image signal and the first texture signal in response to the first control signal.
- 28. The method of claim 26, wherein the source image signal comprises a source image color signal and a source image alpha signal, the first texture signal comprises a first texture color signal and a first texture alpha signal, the second texture signal comprises a second texture color signal and a second texture alpha signal, and further comprising the step of:
- performing a multiplication operation on the first texture color signal and one of the source image color signal, the source image alpha signal, the first texture alpha signal, and a level-of-detail signal in response to the first control signal.
- 29. The method of claim 26, further comprising the step of:
- generating one of a binary one signal and a binary zero signal in response to the first control signal.
RELATED APPLICATIONS
This application is a continuation of U.S. patent application Ser. No. 08/552,740 which was filed with the U.S. Patent and Trademark Office on Nov. 3, 1995, now U.S Pat. No. 5,740,343.
US Referenced Citations (20)
Non-Patent Literature Citations (2)
Entry |
Williams, Lance, "Pyramidal Parameters", ACM Computer Graphics, vol. 17, No. 3, Jul. 1983. |
Herbert, "Survey of Texture Mapping", IEEE--Proc. Graphics Interface 86, Nov. 1986. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
552740 |
Nov 1995 |
|