Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-16-04, 02:23 AM   #1
locutus
Registered User
 
Join Date: Dec 2004
Posts: 8
Default Strange render error an AMD64 with 66.29

I observed a strange render behaviour in an application of the
company I am working for. I tracked down the Problem to a point
where the rendering fails. You will agree with me that the
following 4 code fragments should all work fine, but they don't.
All fragments together should render a box (part of a simple qt
sample program). The problem only occurs if you set the color
before glBegin and use glVertex3d to set the points.

// works
glBegin (GL_LINE_LOOP);
glColor3ub (200, 200, 200);
glVertex3d (1.0, 0.5, -0.4);
glVertex3d (1.0, -0.5, -0.4);
glVertex3d (-1.0, -0.5, -0.4);
glVertex3d (-1.0, 0.5, -0.4);
glEnd ();

// doesn't work
glColor3ub (200, 200, 200);
glBegin (GL_LINE_LOOP);
glVertex3d (1.0, 0.5, 0.4);
glVertex3d (1.0, -0.5, 0.4);
glVertex3d (-1.0, -0.5, 0.4);
glVertex3d (-1.0, 0.5, 0.4);
glEnd ();

// works
glColor3ub (200, 200, 200);
glBegin (GL_LINES);
glVertex3f (1.0, 0.5, -0.4);
glVertex3f (1.0, 0.5, 0.4);
glVertex3f (1.0, -0.5, -0.4);
glVertex3f (1.0, -0.5, 0.4);
glEnd();

// works
glBegin (GL_LINES);
glColor3ub (200, 200, 200);
glVertex3f (-1.0, -0.5, -0.4);
glVertex3f (-1.0, -0.5, 0.4);
glVertex3f (-1.0, 0.5, -0.4);
glVertex3f (-1.0, 0.5, 0.4);
glEnd();


Driver Version: 66.29
Distribution: based on SuSE 9.0
Video bios version: 04.28.20.33.01
Processor: Dual Opteron 246 (2 Ghz)
Graphic board: Quadro4 980 XGL
Motherboard: Tyan Thunder K8W (Revision 1.01)
Attached Files
File Type: txt XF86Config.txt (5.8 KB, 168 views)
File Type: txt XFree86_log.txt (34.9 KB, 228 views)
locutus is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:01 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.