DiscussionsIssue archiveOCCT:Visualization

Archived issue #0001447

ToPixMap & OpenGL Display List problem

CommunityOCCT:Visualizationclosed0 public notes

Search issues

Description

This bug has been added by Author [email removed] at
http://www.opencascade.org/forumorg/bug.php?bug_id=103&f=8 .

----------

I found a problem in using V3d_View::ToPixMap function with Visual3d_Layer not
works. Only 3D View items was displayed. (no Layer items displayed.)

Because V3d_View::ToPixMap call "wglCreateContext" at call_togl_redraw in
OpenGL_togl_redraw.c, but "OpenGL DisplayList" is not shared,
Then Visual3d_Layer not works.
( because glIsList (ptrLayer->listIndex) at call_togl_redraw_layer2d in
OpenGL_togl_begin_layer_mode.c failed. )

I think wglShareLists() API helps this problem, but it's return error code
2000.(PIXMAP format error?)

And I think Visual3D_View_Print and call_togl_redraw_immediat_mode have same
problem.

---------------

Public activity

No public notes

Participants are labeled by their role within this record.