Archived issue #0023097
MFC Samples do not compile after redesigning the TKOpenGl driver
Description
The User_Cylinder uses the 'TriangleSet' rendering primitive, which was removed starting OCCT 6.5.3. It is necessary to use the corresponding sub-class of 'Graphic3d_ArrayOfPrimitives' to visualize the triangles.
Steps to reproduce
Try to compile the 'All-vc9.sln' project from the 'samples\mfc\' directory
Additional information
Quotation from: http://dev.opencascade.org/index.php?q=node/63#comment-92
Primitive arrays support all options needed by an application in order to display geometry, normals, colors and textures. The main reason to switch to them is that they are hardware-accelerated on graphic systems that support vertex buffer objects (VBO).
Primitive arrays support all options needed by an application in order to display geometry, normals, colors and textures. The main reason to switch to them is that they are hardware-accelerated on graphic systems that support vertex buffer objects (VBO).
Public activity
2 archived notes
Participants are labeled by their role within this record.
Corresponding branch pushed for review.
Corresponding branch pushed for review.
Related records