On Wednesday, August 11, 2004, at 09:31 PM, Rob Kramer wrote:

Hi,

On Thursday 12 August 2004 01:23 am, Denis Oliver Kropp wrote:
texture mapping could be used to rotate the image.

Have a look at IDirectFBSurface::TextureTriangles().
I haven't tested it for a while on a CLE266, but it's
working great on Matrox now.

The vertices and texture coordinates for such a rotation
are fairly simple.

Ah, thanks! The df_texture demo is very promising and works perfectly on the
CLE266. Now I better get some 3D skills, the ve.c source is hard to
understand due to all the matrix math. Any idea where I could get a start at
reading up on what for example W, S, T coordinates mean in DFBVertex?


Hmm, I don't even see how a rectangle is drawn in df_texture, if the entire 3D
system works with triangles. 3D newbie for sure..

If you find some material, please let me know as well. I could use a tutorial on the 3D beginnings and the vertices etc...


--
Nathanael D. Noblet
Gnat Solutions
412 - 135 Gorge Road E
Victoria, BC V9A 1L1

T/F 250.385.4613

http://www.gnat.ca/





Reply via email to