<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.Code
        {mso-style-name:Code;
        mso-style-priority:1;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:#365F91;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:941959841;
        mso-list-type:hybrid;
        mso-list-template-ids:-1571781568 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#365F91'>Maybe this should go to the developer’s list, if so let me know.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#365F91'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#365F91'>I have occasionally had problems with nVidia video cards showing odd renderings of polydata object (shell/stl files with explicit normals). Up until now, changing the driver has fixed the problem (it’s not necessarily the latest and greatest drivers that work, sometimes the solution is to use older ones). Well, I just got an nVidia Quadro FX3800 in a new machine and I cannot find the magic bullet to make the problem go away, so I need the wisdom of the list gods to help out.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#365F91'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#365F91'>Here’s the problem in graphical form: <a href="http://www.lifemodeler.com/eric/snapshot.html">http://www.lifemodeler.com/eric/snapshot.html</a><o:p></o:p></span></p><p class=MsoNormal><span style='color:#365F91'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#365F91'>When the object in question is originally rendered, everything is fine. When I create a second view in the application (VTK inside wxWidgets) containing the same geometry, swapping back and forth between the two views causes this rendering error.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#365F91'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#365F91'>Here are some clues:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#365F91'><o:p> </o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='color:#365F91'><span style='mso-list:Ignore'>1)<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#365F91'>Not the hardware. I swap the video card into a Windows XP Pro 32-bit machine and cannot reproduce the problem. Problematic machine is Win7 Pro 64-bit, the problem follows the OS (we’ve put the card into three machines now, 2x Win7 and 1x XP).<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='color:#365F91'><span style='mso-list:Ignore'>2)<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#365F91'>We don’t see the problem in any other software, including other OGL-using CAD, CAM and CAE packages.<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='color:#365F91'><span style='mso-list:Ignore'>3)<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#365F91'>Does not happen on the “bad” machines when a Quadro FX1700 card is installed with the same driver versions. Does not happen with ATI FirePro V7800 on the “bad” machines.<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='color:#365F91'><span style='mso-list:Ignore'>4)<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#365F91'>Anything that causes the view to re-render (zoom, pan, or attribute changes on any object in the view), fixes the rendering and it looks “good” again.<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='color:#365F91'><span style='mso-list:Ignore'>5)<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='color:#365F91'>In the past, this sort of render-mangling has happened on arbitrary objects, but in this current manifestation, it only appears to affect things with opacity != 1.0.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#365F91'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#365F91'>I dug through both the developer and user archives, found something about texture maps causing problems when they were non-power-of-2 sized, but that’s not it, as I can turn off all texture maps and see the same problem (besides, all my texture maps are 256x, or 512x…).<o:p></o:p></span></p><p class=MsoNormal><span style='color:#365F91'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#365F91'>Does anyone have ideas on how I can diagnose this? It sort of looks to me like the normals are backwards on the polydata object, but what would that mean?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#365F91'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#365F91'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#365F91'>Eric<o:p></o:p></span></p></div></body></html>