- 博客(7)
- 资源 (1)
- 收藏
- 关注
转载 GLUT Tutorial 3 : Preparing the window for a reshape
Download the following VC project (glut0.zip) and run it. Youll see two windows: a console window and the OpenGL window. Now resize the window so that the height no longer matches the width. The tria
2006-03-28 15:18:00 1420
转载 GLUT Tutorial : Initialization
In this section were going to build the main function of our application. The main function will perform the required initializations and start the event processing loop. All the functions in GLUT ha
2006-03-28 15:16:00 1269
转载 GLUT Tutorial : Setup
下面的一些文档转载自http://www.lighthouse3d.com/opengl/tutorials.shtml 感觉不错,贴出来,做个储备吧GLUT stands for OpenGL Utility Toolkit. Mark J. Kilgard, to enable the construction of OpenGL applications that are truly w
2006-03-28 15:15:00 1565
原创 Blender的mesh 数据结构
这是mail list 给我的解释,没有翻译,大家先看看: > typedef struct Mesh { > ID id; id: used for storage of the Mesh struct in the library > struct BoundBox *bb; The boundbox of the mesh (surprise!) > ListBase effect;
2006-03-24 10:10:00 3102
原创 Adding a Floating Panel to a Window
这是Johnny Matthews写的一篇教程,接在我的上一篇文章之后,也是介绍如何在Blender中编码。不知道教程中用的什么版本的Blender,和我的实际操作有一点出入,我下面的是在2.37中试验的结果,效果图见最后。 这篇文章主要讲如何在UI/Image Editor下加一个浮动面板,你如果将窗口切到UI/Image Editor下,按一下N键,会出现一个标题为Properity的面板,按
2006-03-23 10:01:00 1168 1
原创 interface API 介绍
本文的写作得益于Blender maillist 给我发的一份邮件,告诉我Blender的user interface方面的文档都在/doc/interface.txt中,我看了这个文档,决定把我了解得内容写出来。 1. 窗口(window)和模块(block) 所有的Blender的GUI元素都被存放在uiBlock结构中,而所有的uiBlock构成一个链表,最终显示在一个窗口中。 uiBloc
2006-03-23 09:48:00 1815
原创 Adding new Space Window
这是Ton Roosendaal写的一篇教程,比较初级。不过我也比较初级,今天刚刚实现了这个程序,想和大家分享一下! 先把效果图贴一下: 要成功的加入这个东西,需要以下几步:makesdna/DNA_space_types.h 在这个文件中,我们定义新的space window的数据结构 代码:
2006-03-23 09:41:00 1031
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人