Michael Vance wrote:
>
> This is all with respect to software Mesa:
>
> Where can I find information about the values in ctx->ProjectionMatrix?
Not sure I understand your question.
> I'm tracing through the glFog code, and for the
> code I'm testing the value of eyez is always zero, so for EXP and EXP2
> modes, the e^tmp value is always 1.0, and therefore no fogging is
> provided. Is this a problem with rasterization only interfaces?
I guess I'll need more info on your "rasterization only interface".
> I'm also getting very unexpected behaviour from LINEAR, but I'll have
> more about that later.
I was working on a bug fix for LINEAR fog in the 3dfx driver yesterday.
Maybe related?
> Also, any reason why eyez is calculated differently in EXP,EXP2
> vs. LINEAR? There's an additional negation in the LINEAR case.
You're looking at _mesa_fog_rgba_pixel()? The sign of eyez doesn't
really matter since for LINEAR and EXP we use the absolute vale and
in the EXP2 case we're squaring that value.
-Brian
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev