Felix K�hling wrote:
Hi,clipping of lines at the edges of the viewing volume doesn't seem to work. The problem occurs both with RADEON_TCL_FORCE_DISABLE and with LIBGL_ALWAYS_INDIRECT. If I use a glOrtho (-1.0, 1.0, -1.0, 1.0, -1.0, 1.0) projection this works: glBegin(GL_LINES); glColor3f(1.0, 0.0, 0.0); glVertex2f(0.0, 0.0); glVertex2f(0.5, 0.5); glEnd(); but this does not: glBegin(GL_LINES); glColor3f(1.0, 0.0, 0.0); glVertex2f(0.0, 0.0); glVertex2f(1.5, 0.5); glEnd(); With Radeon HW TCL both work. I've tried to dig into the mesa code. In the debugger I could see where the clipping And and Or masks are set, correctly as it seems (clip_test2 called from run_vertex_stage). But I couldn't find the place where the actual clipping is supposed to occur :(
Have a look at #define RENDER_LINE in extras/Mesa/src/tnl/t_vb_render.c. 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
