Duh. I feel pretty stupid. That's fixed.

Okay, I've started hacking the code for the Avenger/Banshee driver, but I've
already gotten stumped by something.  The FillTriangle2D function in tdfx.c
doesn't appear to be working properly.  I think it's a color setting problem
but I'm not sure.  My understanding of the code is as follows.

Triangle is passed to the tdfxFillTriangle2D function.
Triangle is sorted using sort_triangle function from util.h.
srcXY is set to the x1y1 value.
LaunchArea is set to the next highest y vertex.
Launch area is set to the last y vertex.
LaunchArea is set again to last y vertex.

According to the Avenger docs this should work.  Yet, I get no rendered
triangles.  I'm beginning to suspect that the SetColor is not happenng
properly.  Any ideas?

Thanks,
David Wood


----- Original Message -----
From: "Denis Oliver Kropp" <[EMAIL PROTECTED]>
To: "David Wood" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, November 22, 2001 3:33 PM
Subject: Re: [directfb-dev] Problems Running Demos with Voodoo3 Drivers


> Quoting David Wood ([EMAIL PROTECTED]):
> >
> > Okay,
> >
> > I have some wierdness going on.  I'm not sure if its a bug or simply the
way I'm trying to run this. When I boot my kernel with the tdfxfb kernel
driver I
> > can't get any of the demos to run. I'm a little confused.  It tells me
that there are no valid modes in the fb.modes file and the current mode
isn't
> > supported.  It does this in any mode from 640x480-16 up to 1024x768-24.
Any suggestions?  When I run with the vesa driver it doesn't activate
hardware
> > acceleration even when I specify it on the command line.
>
> Do you have a /etc/fb.modes containing modes at e.g. 16 bit?
> If not try using the fb.modes from the DirectFB source tree.
>
> --
> Best regards,
>   Denis Oliver Kropp
>
> --------------------------------------------
> | DirectFB - Hardware accelerated graphics |
> | http://www.directfb.org/                 |
> --------------------------------------------
>



-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to