Welcome![Sign In][Sign Up]
Location:
Search - codeguru Open

Search list

[OpenGL programPrintGL_Fietiger

Description: 说明: GL Print.rar是一个比较常见的OpenGL的打印代码,在CodeGuru上有的,我在它的基础上面做了一点点改动,就是将CGLobj当成了View的一个成员,原来他们之间存在继承关系.效果相同. Ch4.rar是一本书上面的一个原码,没有打印功能.但是他设计的类比较好(个人观点)所有的绘制功能是在COpenGLDC里完成的,而视图的投影视口的变换等是由一个照相机类完成的,以至于我现在还不知道怎么回事,只管用就是了. NewGL.rar 的我结合上面两者改写的,实现了打印的功能,但是打印线的时候特别的不清楚,还有就是在Ch4.rar中的那三个球在这里也是打印不了的(可能和OpenGL的命令有关)(我刚刚接触OpenGl,很多东西不懂,只是抄袭别人的类来用,没有深入研究过). CAp.rar 是OpenGL打印的另一种实现的方法,在Ch4.rar的基础点改写,也是抄袭了别人的原码,主要使用了一个现成的捕捉类,实现了客户区的捕捉,它存在的问题就是有时会捕捉到屏幕菜单,像打印,打印预览什么的.不过这个倒是可以打印Ch4中的那三个球.此外,还可以直接保存成BMP文件. 以上是在下拙作(姑且说是自己的吧,因为都是抄袭别人的代码,所以说的时候有点脸红).权做抛砖引玉,如遇高手,万望不吝赐教 网名:fietiger Email:fietiger@163.com -: Print.rar GL is a more common OpenGL Print code, Some of the CodeGuru on, I was the basis of the above done a little bit of change, CGLobj is to the View as a member of the They exist between the original inheritance. the same effect. Ch4.rar a book is the one above the original code, no printing function. However, he designed the relatively good (personal view) all of the mapping function is COpenGLD C complete, and the vote View Television mouth is the transformation from one type to complete the camera, so I do not know how else, just use the grindstone. NewGL.rar combination of the above two, I rewrite, and achieving the Print function, But the time line Print special unclear There is Ch4.rar of those three balls in print here is not the (possibly the life and OpenGL so) (I just Open
Platform: | Size: 331520 | Author: fietiger | Hits:

[OpenGL programcodeguru-opengl

Description: 一个模拟地形的仿真,是用vc++ opengl弄的.感觉很有意思请大家积极下载-terrain simulation of a simulation, is the vc opengl get. The feeling is very positive interesting Please download
Platform: | Size: 15167488 | Author: mengyingheart | Hits:

[OpenGL programPrintGL_Fietiger

Description: 说明: GL Print.rar是一个比较常见的OpenGL的打印代码,在CodeGuru上有的,我在它的基础上面做了一点点改动,就是将CGLobj当成了View的一个成员,原来他们之间存在继承关系.效果相同. Ch4.rar是一本书上面的一个原码,没有打印功能.但是他设计的类比较好(个人观点)所有的绘制功能是在COpenGLDC里完成的,而视图的投影视口的变换等是由一个照相机类完成的,以至于我现在还不知道怎么回事,只管用就是了. NewGL.rar 的我结合上面两者改写的,实现了打印的功能,但是打印线的时候特别的不清楚,还有就是在Ch4.rar中的那三个球在这里也是打印不了的(可能和OpenGL的命令有关)(我刚刚接触OpenGl,很多东西不懂,只是抄袭别人的类来用,没有深入研究过). CAp.rar 是OpenGL打印的另一种实现的方法,在Ch4.rar的基础点改写,也是抄袭了别人的原码,主要使用了一个现成的捕捉类,实现了客户区的捕捉,它存在的问题就是有时会捕捉到屏幕菜单,像打印,打印预览什么的.不过这个倒是可以打印Ch4中的那三个球.此外,还可以直接保存成BMP文件. 以上是在下拙作(姑且说是自己的吧,因为都是抄袭别人的代码,所以说的时候有点脸红).权做抛砖引玉,如遇高手,万望不吝赐教 网名:fietiger Email:fietiger@163.com -: Print.rar GL is a more common OpenGL Print code, Some of the CodeGuru on, I was the basis of the above done a little bit of change, CGLobj is to the View as a member of the They exist between the original inheritance. the same effect. Ch4.rar a book is the one above the original code, no printing function. However, he designed the relatively good (personal view) all of the mapping function is COpenGLD C complete, and the vote View Television mouth is the transformation from one type to complete the camera, so I do not know how else, just use the grindstone. NewGL.rar combination of the above two, I rewrite, and achieving the Print function, But the time line Print special unclear There is Ch4.rar of those three balls in print here is not the (possibly the life and OpenGL so) (I just Open
Platform: | Size: 330752 | Author: fietiger | Hits:

CodeBus www.codebus.net