MantisBT - Community
View Issue Details
0023097Community[OCCT] OCCT:Samplespublic2012-04-11 14:422012-04-18 18:53
Pawel 
bugmaster 
normalblock 
closedfixed 
WindowsVC++ 200832 bit
[OCCT] 6.5.3 
[OCCT] 6.5.3[OCCT] 6.5.3 
0023097: MFC Samples do not compile after redesigning the TKOpenGl driver
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.
Try to compile the 'All-vc9.sln' project from the 'samples\mfc\' directory
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).
No tags attached.
child of 0023095closed dbv Open CASCADE Porting demo and samples on OCCT 6.5.3 
Issue History
2012-04-11 14:42PawelNew Issue
2012-04-11 14:42PawelAssigned To => Pawel
2012-04-11 15:50PawelNote Added: 0020332
2012-04-11 15:51PawelAssigned ToPawel => bugmaster
2012-04-11 15:52PawelNote Added: 0020333
2012-04-11 15:52PawelStatusnew => resolved
2012-04-11 16:03abvAssigned Tobugmaster => dbv
2012-04-11 16:03abvStatusresolved => reviewed
2012-04-11 16:03abvRelationship addedchild of 0023095
2012-04-18 18:53bugmasterChangeset attached => occt master 1a4b0f54
2012-04-18 18:53bugmasterAssigned Todbv => bugmaster
2012-04-18 18:53bugmasterStatusreviewed => verified
2012-04-18 18:53bugmasterResolutionopen => fixed
2014-01-11 11:59abvCategoryOCCT Release:MFC => OCCT Release:Samples
2014-01-11 12:02abvCategoryOCCT Release:Samples => OCCT:Samples

Notes
(0020332)
Pawel   
2012-04-11 15:50   
Corresponding branch pushed for review.
(0020333)
Pawel   
2012-04-11 15:52   
Corresponding branch pushed for review.