几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   c++ opengl sample that works (http://www.dimcax.com/hust/showthread.php?t=4370)

yang686526 2009-04-12 05:42 PM

c++ opengl sample that works
 
c++ opengl sample that works
hi,
does anyone have a simple sample that illustrates how to use native opengl calls to display into the solidworks active view?
i am trying to run the "official" sample swcom_opengl, but it does not do anything. as i understand it the cdocview:nbufferswap() is where this sample does the rendering but the program never executes this method. i have a part file loaded and do a lot of view refreshes but this method never gets invoked.
any help would be greatly appreciated. thanks.
kedar
quick


所有的时间均为北京时间。 现在的时间是 12:15 PM.