[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz] 23rd
From: |
Tuomas Lukka |
Subject: |
[Gzz] 23rd |
Date: |
Tue, 23 Jul 2002 23:48:07 +0300 |
User-agent: |
Mutt/1.4i |
More texture stuff: got offset textures working and looking pretty good.
Next on that front: using dot products and palettes to create more
variability. Jvk?
Dot product on NV20 supports the hilo texture so it doesn't suffer
from the resolution problems of offset; on NV25 you can offset with
hilo so there's no problem.
But still, dot product does allow some nice things: you can independently
specify two vectors, both of which affect the shape of the final drawing.
So one example of a pipeline might be
Texture 2D (DSDT) -> Offset 2D -> Dot prod -> Dot prod 2D
i.e. first mix up the "normals" for dot products by an offset operation
and then calculate two dot products with the normal and use them as tex
coords for the palette texture.
Offset 2D -> Dot prod -> Dot prod 2D (DSDT) -> Offset 2D
Other way around: use dot product values as indices to offset texture
Offset 2D -> Dot prod -> Dot prod 2D (DSDT) , Texture 2D
a modulating 2D texture.
Also, started working on Benja's request for enfilade-string-string'-enfilade'
conversion.
Tuomas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gzz] 23rd,
Tuomas Lukka <=