Claims
- 1. An apparatus for illuminating samples in a volume rendering pipeline, comprising:a gradient magnitude modulation unit producing an opacity, emissive, diffuse and specular modulation factor from a gradient magnitude vector of each sample; a reflectance mapping unit producing a diffuse intensity and a specular intensity from the gradient magnitude vector of each sample and an eye vector of the volume; a first arithmetic logic unit combining an opacity of each sample with the corresponding opacity modulation factor to generate modulated opacities; a second arithmetic logic unit combining an emissive coefficient with the emissive modulation factor of each sample to generate modulated emissive coefficients; a third arithmetic logic unit combining the diffuse intensity with the diffuse modulation factor of each sample to generate modulated diffuse intensities; a fourth arithmetic logic unit combining the specular intensity with the specular modulation factor of each sample to generate modulated specular intensities; and a lighting unit applying the modulated emissive coefficient, modulated diffuse and specular intensities to color components of the samples to illuminate the volume sample.
- 2. The apparatus of claim 1 wherein the arithmetic logic units are multipliers.
- 3. The apparatus of claim 1 wherein the gradient magnitude modulation unit produces a valid signal to indicate whether the gradient magnitude lies within a predetermined range.
- 4. The apparatus of claim 1 wherein the reflectance mapping unit produces a sign for a dot product of the eye vector with each gradient magnitude vector to indicate whether the gradient vector is front-facing or back-facing.
- 5. The apparatus of claim 1 wherein one sample and one gradient magnitude vector is processed each pipeline clock cycle.
- 6. The apparatus of claim 1 wherein the gradient magnitude modulation unit filters the modulated opacity, emissive, diffuse and specular modulation factors using a step function.
- 7. The apparatus of claim 1 wherein the gradient magnitude modulation unit filters the modulated opacity, emissive, diffuse and specular modulation factors using a complex function.
- 8. The apparatus of claims 6 or 7 wherein the gradient magnitude modulation unit selectively filters the opacity, emissive, diffuse and specular modulation factors using the step function and the complex function depending on user supplied control parameters.
- 9. The apparatus of claim 7 wherein the complex function is selectively derived from the magnitude of the gradient vector or a truncated squared magnitude of the gradient vector.
- 10. The apparatus of claim 1 wherein the samples are classified in a previous stage of the rendering pipeline.
- 11. The apparatus of claim 1 wherein the illuminated samples are composited as pixels in a next stage of the pipeline.
- 12. A method for illuminating samples of a volume in a rendering pipeline, comprising the steps of:producing an opacity, emissive, diffuse and specular modulation factor from a gradient magnitude vector of each sample in a gradient magnitude modulation unit; producing a diffuse intensity and a specular intensity from the gradient magnitude vector of each sample and an eye vector of the volume in a reflectance mapping unit; combining an opacity of each sample with the corresponding opacity modulation factor to generate modulated opacities; combining an emissive coefficient with the emissive modulation factor of each sample to generate modulated emissive coefficients; combining the diffuse intensity with the diffuse modulation factor of each volume sample to generate modulated diffuse intensities; combining the specular intensity with the specular modulation factor of each sample to generate modulated specular intensities; and applying the modulated emissive coefficient, modulated diff-use and specular intensities to color components of the volume samples to illuminate the sample.
CROSS REFERENCES TO RELATED APPLICATIONS
This application is a continuation in part of U.S. patent application Ser. No, 09/190,643 “Fast Storage and Retrieval of Intermediate Values in a Real-Time Volume Rendering System,” filed by Kappler et al. on Nov. 12, 1998.
US Referenced Citations (11)
Non-Patent Literature Citations (4)
Entry |
A. Mammen; “Transparency and Antialiasing Algorithms Implemented with the Virtual Pixel Maps Technique”; IEEE Computer Graphics & Applications, Jul., 1989; pp. 43-55. |
J. Lichtermann; “Design of a Fast Voxel Processor for Parallel Volume Visualization”; pp. 83-92. |
R. Drebin et al.; “Volume Rendering”; Computer Graphics, vol. 22 No. 4, Aug., 1988; pp. 65-74. |
D. Voorhies et al.; “Virtual Graphics”; Computer Graphics, vol. 22 No. 4, Aug., 1988; pp. 247-253. |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09/190643 |
Nov 1998 |
US |
Child |
09/315661 |
|
US |