|
From: Johan O. <joh...@pp...> - 2001-01-04 16:46:24
|
Johan Olin writes once again ...... As usual, I was barking up the wrong tree .... The source of the problem is the glx-driver .... Lines ar extremely stippled when disabling HW acceleration :-) Sorry ...... BR: Johan Johan Olin wrote: > > Johan Olin wrote an writes again ..... > > > Hi, I'm having troubles getting Stippled > > lines beeing drawn as sold lines no matter > > what I do .... > > I'm able to succesfully compile & link > > the 'lines' demo in the 'book' subdir ... > > > > Jesus, get a spellchecker !!!! I'm talking to myself here ...... > (must have been drunk ..... half an hour ago ???? what's a 'sold line' > ??) > > My problem is that even if I enable stippled lines and > set some stipple-patterns, my lines are drawn solid :-( > I've followed the instructions from the "Red Book", > copied some bits from the 'lines' demo in the 'book' subdir > and re-compiled the entire driver/lib stuff but those > d**n lines refuse to stipple themselves ....... > > > Mesa_xx_xx_xx/book/lines.c : > > ... > > /* in 1st row, 3 lines, each with a different stipple */ > > glEnable (GL_LINE_STIPPLE); > > > > glLineStipple (1, 0x0101); /* dotted */ > > drawOneLine (50.0, 125.0, 150.0, 125.0); > > glLineStipple (1, 0x00FF); /* dashed */ > > drawOneLine (150.0, 125.0, 250.0, 125.0); > > glLineStipple (1, 0x1C47); /* dash/dot/dash */ > > drawOneLine (250.0, 125.0, 350.0, 125.0); > > ... e.t.c ... > > All I see is a bunch of SOLID lines !!!! > The problem applies to both my own "creations" > and the demos/samples found in the Mesa distr. > > Everything else I've tried out so far seems to work :-) > (rotating cubes, spheres, teapots in all possible colors ..... ) > > My HW/SW setup is: > Linux 2.2.18 / XFree 3.3.6 / Matrox G400 / > utah-glx (OCT 19 2000) / Mesa 3.2 (OCT 19 2000 snapshot) ..... > Configured with '--enable-extras' (glut, GLU e.t.c. ...) > > BR. Jussi / Finland > > PS. Quake 3 arena demo runs fine :-) (as root...) > > _______________________________________________ > Mesa3d-users mailing list > Mes...@li... > http://lists.sourceforge.net/mailman/listinfo/mesa3d-users |