Visualization artefacts

Hi all,

I need an info if it's an OCC or a drivers bug for my graphic card (WinXP):

Open "Viewer3D.exe" from the Windows samples. If I activate antialiasing I see the triangle edges??

Best regards,

Patrik

Stephane Routelous's picture

Hi Patrick,

you can disable them by setting the environment variable :
OSD_Environment theEnv("CALL_OPENGL_ANTIALIASING_MODE","1");
theEnv.Build();

at the very beginning of your application (before any call to OCC(ex:InitInstance method of CWinApp)).

HTH,

Stephane
stephane.routelous@exotk.org

Patrik Mueller's picture

Hi Stephane,

thanks for the info. I'll have a look at it.
How about exoTK? Do you continue the project? No news since a long time!

Greets,

Patrik

Dmitry Khabi's picture

My Graphic Card is NVIDIA GeForce 8600 GT.
I dont see any differences if I switch on / off the ANTIALIASING_MODE.
Is there some problem with the Card and or OCC / OpenGL ?

Roman Lygin's picture

Dmitry, check View3D sample shipped with OCC.
Here are its screenshots with antialiasing mode off and on.
http://myphoto.nnov.ru/img/99f3c587bae28e92738c8e1c771377ef.png
http://myphoto.nnov.ru/img/b3fec154e1e5894ab4f820fec3d4aaf5.png

Hope this helps.
Roman
---
opencascade.blogspot.com - blog on Open CASCADE
Join the Open CASCADE Group at LinkedIn

colorviz's picture

I've noticed the same problem (in shaded mode). I've tested on many configurations, it seems to happen only on nVidia boards (with any drivers). But it seems to be OK on ATI graphic cards for instance.

Francois

Patrik Mueller's picture

Hi,

Stephanes hint with the environment variable solves the problem:

OSD_Environment theEnv("CALL_OPENGL_ANTIALIASING_MODE","1");
theEnv.Build();

But sometimes it would be nice having a list of environment variables and their functions!!

Best regards,

Patrik

Dmitry Khabi's picture

Dmitry Khabi | reply 2009-01-19 09:30
My Graphic Card is NVIDIA GeForce 8600 GT.
I dont see any differences if I switch on / off the ANTIALIASING_MODE.
Is there some problem with the Card and or OCC / OpenGL ?