Tue, 06/20/2017 - 06:56
Forums:
Hello,
I am using TriedronDisplay() function, with Redraw() function called every timer tick.
It was all good during ver 6.8.0. But when using 7.1.0, The Trihedron starts blinking when Redraw() is called.
How should I solve this? Thank you.
Here is the Code:
----------------------------------------------------------------------
myView->TriedronDisplay(Aspect_TOTP_LEFT_UPPER, Quantity_NOC_RED, 0.1, V3d_ZBUFFER);
myView->Redraw(); // <-- called every 0.5 sec.
------------------------------------------------------------------------
Tue, 06/20/2017 - 14:23
What is your configuration (you can use V3d_View::DiagnosticInformation())?
Which GUI framework is used in this application?
It looks like you have no proper OpenGL driver installed.
Wed, 06/21/2017 - 05:05
Hi Kirill,
Sorry that I'm pretty new to OpenCascade. This might be a pretty dumb question:
I tried to call V3d_View::DiagnosticInformation() as following:
But than I don't know how to get the information form 'dict'.
-----------------------------------------------------------
myView->Redraw();
TColStd_IndexedDataMapOfStringString dict;
myView->DiagnosticInformation(dict, Graphic3d_DiagnosticInfo_Complete);
-------------------------------------------------------------
I'm using NVIDIA GeForce 8600 GT (Microsoft Corporation - WDDM v1.1),
The Application is C# winform.
Thank you.
Wed, 06/21/2017 - 09:43
Draw Harness is a useful source of code snippets for using OCCT functionality - you should try looking into it if you want to know OCCT better.
Testing problems in Draw Harness is also useful practice - bugs reproducible in Draw Harness can be easily reported on OCCT bug tracker.
Sun, 06/25/2017 - 07:49
Hello,
You don't need to call v3dView->TriedronDisplay every time before Redraw().
You just can call it once.
Mon, 06/26/2017 - 04:04
Hello Shabalin,
Thank you for the reply. But I did call v3dView->TriedronDisplay only once. The Trihedron flashes when I call Redraw().
Maybe the code I pasted is misleading. Sorry for that.