Michel Dänzer wrote:
First of all, thanks Keith for sharing your insights ( and Jens for the
URL about locking ).


On Don, 2002-11-28 at 13:31, Keith Whitwell wrote:

gloss: artifacts with the initial highlight, goes away with SW TCL,
seems to be the same problem as the ice in tuxracer
This is a result of slight differences between geometry generated by software t&l and hardware t&l. The gloss cylendar is drawn in two passes, and the crawling you see is a result of differences between the passes.

Some work could be done tweaking the vertices (z values?) emitted by swtcl to get a closer alignemnt.

Otherwise, this isn't strictly a bug. GL doesn't require invarience at this level.

I see. Do you have an idea on how to go about tweaking the vertices?
There are a bunch of ways
- tweak the zscale and zoffset viewport parameters but *ONLY* when hardware tcl is disabled (probably the best option?)
- turn off _radeon_render_stage, and tweak the vertices as they are emitted in radeon_draw_triangle() and radeon_draw_quad(). These functions are now generated ty t_dd_triemit.c, so you'll have to dig a little. (might be the easiest for debugging).
- Modify the vertices as they are generated by t_dd_vbtmp.h. There is facility in there for an additional viewport transformation, for instance.

Keith





-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to