CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - bit c
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - bit c - List
[
OpenGL program
]
3dfont2.0
DL : 0
作者: yulongsun 需要在penGL中作中文输出,但没发现何处有合适的,把一个叫zhaohui的人写的英文字符输出类改了一下,可以输出中文了,但却并没有解决我的问题。我感觉得应该使用wglUseFontBitmaps()函数使字体保持不变。但我对 OpenGL不熟,不知怎么用。不过我做的东西也许对别人有用,权且放在这儿。同时希望得到指教。 文件:CGLFont.c CGLFont.h env::windows2000, vc6.0 e-mail: yulongsun@163.com -Author : yulongsun penGL need to give Chinese exports, However, we did not find a suitable where, a person called zhaohui write English characters output category changed a bit, the Chinese can export, but not solve the problem. I feel that you should use wglUseFontBitmaps () function so that fonts remain unchanged. But I OpenGL well, I do not know how use. But I may do something useful for others, the time being here. Hope received the exhibitions. Documents : CGLFont.c CGLFont.h env : : Solaris, vc6.0 e-mail : yulongsun@163.com
Date
: 2008-10-13
Size
: 109.63kb
User
:
黄景天
[
OpenGL program
]
cn700_vc5114678898923
DL : 0
我学了一下OpenGL,写了这个代码。用C语言编写的,仅供娱乐-me a bit OpenGL, write this code. C language, is for Entertainment
Date
: 2008-10-13
Size
: 17.15kb
User
:
tang
[
OpenGL program
]
PrintGL_Fietiger
DL : 0
说明: 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
Date
: 2008-10-13
Size
: 323.75kb
User
:
fietiger
[
OpenGL program
]
3dfont2.0
DL : 0
作者: yulongsun 需要在penGL中作中文输出,但没发现何处有合适的,把一个叫zhaohui的人写的英文字符输出类改了一下,可以输出中文了,但却并没有解决我的问题。我感觉得应该使用wglUseFontBitmaps()函数使字体保持不变。但我对 OpenGL不熟,不知怎么用。不过我做的东西也许对别人有用,权且放在这儿。同时希望得到指教。 文件:CGLFont.c CGLFont.h env::windows2000, vc6.0 e-mail: yulongsun@163.com -Author : yulongsun penGL need to give Chinese exports, However, we did not find a suitable where, a person called zhaohui write English characters output category changed a bit, the Chinese can export, but not solve the problem. I feel that you should use wglUseFontBitmaps () function so that fonts remain unchanged. But I OpenGL well, I do not know how use. But I may do something useful for others, the time being here. Hope received the exhibitions. Documents : CGLFont.c CGLFont.h env : : Solaris, vc6.0 e-mail : yulongsun@163.com
Date
: 2026-01-02
Size
: 109kb
User
:
黄景天
[
OpenGL program
]
cn700_vc5114678898923
DL : 0
我学了一下OpenGL,写了这个代码。用C语言编写的,仅供娱乐-me a bit OpenGL, write this code. C language, is for Entertainment
Date
: 2026-01-02
Size
: 17kb
User
:
tang
[
OpenGL program
]
PrintGL_Fietiger
DL : 0
说明: 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
Date
: 2026-01-02
Size
: 323kb
User
:
fietiger
[
OpenGL program
]
renderCyliner-master
DL : 0
renderCyliner: A bit of OPENGL C code that renders a cylinder between two points.
Date
: 2026-01-02
Size
: 2kb
User
:
zuozhan
[
OpenGL program
]
half_float-master
DL : 0
half_float: C implementation of a 16 bit floating-point type mimicking most of the IEEE 754 behaviour. Compatible with the half data type used as texture format by OpenGl/Direct3D.
Date
: 2026-01-02
Size
: 12kb
User
:
haozai
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.