4 corner gradient

Tom De Man Tom.DeMan at DZINE.BE
Thu Jun 28 02:06:38 PDT 2007


Hi,

This might be slightly off topic but I can't resist asking the experts
here:

Using the i915 I try to create a 4 corner gradient rectangle using 2 3D
primitive triangles. I get a visible diagonal line between the two
triangles (which is ugly). If I use software routines to make a gradient
rectangle it looks good.
I've tested making the rectangle with 4 triangles (all to the center), but
I get a cross then (although less visible).

Is this something due to how triangles are colored, due to some 3D param
or is it inevitable ?

Kind regards,
Tom

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4cornergradient.jpg
Type: image/jpeg
Size: 34098 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20070628/8f61e2cc/attachment.jpg>
-------------- next part --------------
--------------------------------------------------------------------------
Confidentiality Statement: This e-mail is intended solely for the person to whom it is addressed and may contain confidential or legally privileged information. Access to this e-mail by anyone else is unauthorised. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and destroy this e-mail and any attachments. Any views or opinions presented are solely those of the author and do not necessarily represent those of dZine n.v. E-mail may be susceptible to data corruption, interception, unauthorised amendment, viruses and delays or the consequences thereof. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited.
--------------------------------------------------------------------------


More information about the xorg mailing list