自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

blackdoc的专栏

成长之路

  • 博客(12)
  • 收藏
  • 关注

原创 ActiveX 控件测试容器 (tstcon32.exe)

从 IDE 运行 tstcon32.exe在“工具”菜单上单击“ActiveX 控件测试容器”。随即出现“ActiveX 控件测试容器”工具。

2009-08-07 10:19:00 1358 1

原创 取得GLUT 的glutCreateWindow的HWND

不過跟我本來想做的有點點不一樣就是了取得GLUT 的glutCreateWindow的HWND1.HWND hwnd = GetActiveWindow();2.char name[]="mainWindow";glutCreateWindow(name);HWND hwnd;hwnd=FindWindow(NULL,name); 

2009-08-05 15:52:00 5400 1

转载 在控制台程序中使用MFC类

号外:经常调试遇到的问题C/C++->Code Generation->Runtime Library,把您的 /MT 改为 /MD !! 在VC6中,建立一个console工程, 但是想使用MFC的类。怎么办呢?有两种方法。方法一:1. 在工程->常规->Microsoft基础类,选中"使用MFC作为静态链接库"或"使用MFC作为动态DLL"。2.在工程->C/C++->using

2009-07-30 14:22:00 922

转载 glut函数详解(11)--状态查询API

转自:http://www.cppblog.com/percyph/archive/2009/03/03/75425.html int glutGet(GLenum state);检索指定的GLUT状态参数:state:指定要检索的状态类型,为以下常量:  GLUT_WINDOW_X:当前窗口的x坐标,以像素为单位.  GLUT_WINDOW_Y:当前窗口的y坐标,以像素为单位.  GLU

2009-07-30 10:10:00 909

转载 在vs2005下的第一个OpenGL程序。

在vs2005下的第一个OpenGL程序。 学习OpenGL前的准备工作第一步,选择一个编译环境选择Visual Studio 2005作为学习OpenGL的环境。第二步,配置OpenGL环境具体做法在前一篇中。建议将相应文件放到VC的文件夹下,而不是PlatformSDK中。第三步,安装GLUT工具包GLUT不是OpenGL所必须的,但它会给我们的学习带来一定的方便,推荐安装。Windows

2009-07-30 09:41:00 562

原创 场景中移动模型

A: Add the Node in question to a Transform. This allows you to move your model around the scene by changing the Transform. Take a look at the osgreflect example, which uses Transform to create a mirro

2005-07-10 08:53:00 1071

原创 OSG中使用MFC窗口的一点启示

A: You can use OSG with or with out Producer, even if you are creating your own windows. See the osgsimple example for an example of using OSG with a generic windowing environment. OSG itself is windo

2005-07-10 08:51:00 2173

原创 OpenSceneGraph配置和编译说明

步骤1:   设置环境变量。在环境变量—〉系统变量中的path后面追加OSG整体程序的bin目录(如E:/OSG/OSG_OP_OT-0.9.6-2/OpenSceneGraph-0.9.6-2/bin)。在环境变量—〉用户变量中新建变量OSGinclude,值为:E:/OSG/OSG_OP_OT-0.9.6-2/OpenSceneGraph-0.9.6-2/include;新建变量OSGlib,

2005-07-07 20:39:00 2350

原创 OpenSceneGraph的安装

1、 前言 本文讲解了OSG在Windows环境下的安装。OpenSceneGraph可移植性非常强,支持主流Unix、Windows、Linux、Mac OSX等操作系统,支持多种编译器,这里主要讲Windows NT系列系统下使用Visual Studio.Net 2003(VC7.1)进行开发,这是在Windows下推荐的组合。文中所涉及的版本是0.9.8-2。  2、 下载 要建立一个基本

2005-07-07 20:36:00 8026

原创 退出VP场景时,程序崩溃的问题

is there anyone know how to quit the vpscene from CView safely? When i quit ,the program broken. whats the reason? please help me! A lot thanks. 回答:This is a common problem with MFC and no easy solut

2005-07-06 20:24:00 1121

原创 vp的键盘输入

I use a dialog as the parent of vega prime window,everything works well except that the vega dows dont handle my keyboard input.I use MotionGame,the window can handle my mouse action,but has no respo

2005-07-06 20:18:00 1153

原创 how to initialize the vp for second time

UrbanLegend:If you want to stop and start Vega Prime in the same App do you really need to SHUT Vega down can you not just unconfigure and reconfigureOckeMan:If you run VP 1.2.x its not posible. Even

2005-07-06 19:59:00 837

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除