A powering unit for an OpenGL lighting engine
- 1 January 2001
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- Vol. 2, 1641-1645 vol.2
- https://doi.org/10.1109/acssc.2001.987763
Abstract
The OpenGL geometry pipeline lighting stage requires raising a number in the range [0, 1] to a power between [1, 128] to compute specular reflections and spotlights. The result need only be accurate to a number of bits related to the color depth of the output device. This paper describes a hardware implementation of such a powering unit based on a logarithm lookup table, a multiplier, and an inverse log table. The log lookup table is partitioned into subintervals to reduce table size. A synthesized design uses 84 k gates to achieve 10-bit accuracy with a latency of 9.62 ns in a 180 nm process. Although the system is tailored for the OpenGL application, the same principles can be applied to the design of other powering units.Keywords
This publication has 6 references indexed in Scilit:
- Table-lookup algorithms for elementary functions and their error analysisPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2002
- Faithful powering computation using table look-up and a fused accumulation treePublished by Institute of Electrical and Electronics Engineers (IEEE) ,2002
- Arithmetic on the European logarithmic microprocessorIEEE Transactions on Computers, 2000
- Powering by a table look-up and a multiplication with operand modificationIEEE Transactions on Computers, 1998
- Elementary FunctionsPublished by Springer Nature ,1997
- Table-driven implementation of the exponential function in IEEE floating-point arithmeticACM Transactions on Mathematical Software, 1989