On Thu, 24 Feb 2005 23:55:07 +0100, Lourens Veen
<[EMAIL PROTECTED]> wrote:
> On Wednesday 23 February 2005 15:46, Timothy Miller wrote:
> >
> > That reminds me... lots of work has been done on reciprocal.  How
> > about log2?  We will need a fractional part.
> 
> In the model, there are only four calls to the log2() function, and in all
> cases the result is rounded or truncated. In case of truncation, we only need
> the integer part, which comes from the exponent. In case of rounding, we
> really want the integer part of log2(x) + 0.5, which is

In the case where it's truncated, we need the fractional part to
interpolate between MIP levels.
_______________________________________________
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