On 8/9/07, Hugh Fisher <[EMAIL PROTECTED]> wrote:
> Timothy Normand Miller wrote:
>
> > Is the number space too big to make use of lookup tables for some of
> > the work?  We're working with limited-range integers.
>
> If you look at Viktors composite function, it's just add,
> subtract, left shift by 2 of the final RGB components.
> Unsigned bytes, results clamped to 0..255 range.
>
> (But I haven't been paying too much attention to the
> hardware discussions lately, maybe y'all decided to
> switch to floating point? :-) )

We'll use float to necessary precision in the GPU, but wherever we can
avoid it, we will.  This looks like a good place to avoid it.

-- 
Timothy Normand Miller
http://www.cse.ohio-state.edu/~millerti
Open Graphics Project
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to