联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 p3D font - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为18996
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • Air Traffic Controller
  • PoolMan
  • virtualdub-win
  • Apache-SSL-Jserv
  • CppUnit
  • FCK editor
  • GLgraph
  • Async Professional
  • -= 更多 =-

    项目描述:
    In this article, I give a wrap class which encapsulate the OpenGL 3D Font functions. With this class, you can design any 3D letter as a 3D geometry object, translating, scaling, rotating, texture mapping, etc.

    The key steps to display a 3D letter is:

    1) Create a display list
    2) Create and set a font to current windows context device, wglUseFontOutlines function can retrieve the 3d Font geometry data from the context device.
    3) call glListBase and glCallLists to display 3D font letters.


    在这个项目中,我提供了一个封装类,它封装了OpenGL 3D Font 功能。用这个类,你可以将任意的3D字母设计为一个3D几何对象,进行变形,缩放,旋转,纹理映射,等等。
    显示3D字母的关键步骤是:
    1)创建一个显示列表
    2)创建和设置一个字体到当前的Windows设备环境中,wglUseFontOutlines 函数可以从设备环境中获取3D字体几何数据。
    3)调用glListBase 和 glCallLists来显示3D字体字母。
    来源: http://www.codeguru.com/opengl/3dfont.shtml
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    3dfont  1.0  2004-04-18 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/opengl/3dfont.zip

      » 合 作 伙 伴