Vulkan

2012年4月14日

GPU遮挡查询入门介绍

摘要: GPU遮挡查询的方法是渲染一个物体时,向GPU发出遮挡查询命令,再渲染物体且不写颜色缓存和深度缓存,然后等待查询结果返回,如果查询结果为渲染的像素数量大于0则表示该物体应该被渲染,否则不被渲染。GPU遮挡查询的简单方法:1.glGenQueriesARB: 创建查询2.glBeginQueryAR... 阅读全文

posted @ 2012-04-14 21:42 Vulkan 阅读(400) 评论(0) 推荐(0) 编辑

2012年3月25日

Win7下如何安装双显卡驱动.

摘要: 方法:注: 首先按照正常的安装方式进行,恢复BIOS默认,之后安装Switchable显卡驱动,若安装之后出现驱动无法正常安装时,参考以下步骤安装1.在BIOS里设置Default Primary Video Device为PCI Express,设置Graphics Device为Discrete... 阅读全文

posted @ 2012-03-25 22:51 Vulkan 阅读(669) 评论(0) 推荐(0) 编辑

2012年3月22日

OpenGL Interoperability with CUDA

摘要: 原文地址http://3dgep.com/?p=2082OpenGL Interoperability with CUDAPosted on December 5, 2011Postprocess EffectIn this article I will discuss how you can us... 阅读全文

posted @ 2012-03-22 15:07 Vulkan 阅读(390) 评论(0) 推荐(0) 编辑

2012年3月21日

OZone3D OpenGL Vertex Buffer Objects 3/3

摘要: 3 - References3.1. Buffers Usage STREAM1DYNAMIC1STATIC1DRAW1GL_STREAM_DRAWGL_DYNAMIC_DRAWGL_STATIC_DRAWREAD2GL_STREAM_READGL_DYNAMIC_READGL_STATIC_ RE... 阅读全文

posted @ 2012-03-21 14:06 Vulkan 阅读(231) 评论(0) 推荐(0) 编辑

OZone3D OpenGL Vertex Buffer Objects 1/3

摘要: 原文地址http://www.ozone3d.net/tutorials/opengl_vbo.phpOpenGL Vertex Buffer ObjectsBy Christophe [Groove] Riccio - www.g-truc.net And Jerome [JeGX] Guinot... 阅读全文

posted @ 2012-03-21 14:04 Vulkan 阅读(175) 评论(0) 推荐(0) 编辑

OZone3D OpenGL Vertex Buffer Objects 2/3

摘要: 2 - PracticeFor each sub-part of the practice part, there is an associated class in the samples program of this document. Two other examples none desc... 阅读全文

posted @ 2012-03-21 14:04 Vulkan 阅读(188) 评论(0) 推荐(0) 编辑

VBO的使用2

摘要: OpenGL VBO 说明自: http://hi.baidu.com/luckwxx623/blog/item/34e36445b8fad92ecffca3e1.html 顶点缓冲和索引缓冲是OpenGL 1.5版本所提供的功能,因此首先检查OpenGL版本是否达到1.5。因为Windows仅直接... 阅读全文

posted @ 2012-03-21 13:55 Vulkan 阅读(499) 评论(0) 推荐(0) 编辑

VBO的使用

摘要: 原文:http://stackoverflow.com/questions/3121472/how-to-get-vbo-workingok so let's start with what you should check for. In your compiler look for gl.h .... 阅读全文

posted @ 2012-03-21 13:48 Vulkan 阅读(659) 评论(0) 推荐(0) 编辑

2012年3月20日

C++中计算程序的运行时间

摘要: C++中计算程序的运行时间 一个程序的功能通常有很多种方法来实现,怎么样的程序才算得上最优呢?举个例子,如果实现同一个功能的两个程序,一个一点按钮就给出运行结果,而另一个则需要漫长的时间去等待,就像安装WINDOWS XP一样(呵呵,太夸张了吧),你会去使用哪个程序呢?毋庸置疑,最优程序的第一条法... 阅读全文

posted @ 2012-03-20 22:21 Vulkan 阅读(176) 评论(0) 推荐(0) 编辑

VC中获得动态数组长度与数组元素个数

摘要: 实现动态内存管理有两种方式:填表式:每次分配的时候记录起始地址和大小,释放时候查询表完成,这种方式用户无法知道大小。Cookie式:每次分配动态动态数组起始地址之前记录动态数组的大小,VC中用这种方式实现。VC中可用如下方法获得动态数组大小:int *p=new int[10];int size=*... 阅读全文

posted @ 2012-03-20 14:21 Vulkan 阅读(338) 评论(0) 推荐(0) 编辑

导航