Skip to content
刚完成“几大移动平台的纯C/C++开发调查”没几天,Nokia先是扼杀了第一款MeeGo手机,再是宣布和微软达成广泛的战略合作。也就是说,Nokia以后的机器可能都会用WP7。 再见,Symbian。再见,MeeGo。
前一阵子连载的“KlayGE中的延迟渲染”系列文章经过整理,现在有一个完整的版本放在wiki网站:http://www.klayge.org/wiki/index.php?title=%E5%BB%B6%E8%BF%9F%E6%B8%B2%E6%9F%93。
[zh] 随着移动平台软硬件的发展,越来越多游戏可以用于移动平台上。比如Unreal等大牌游戏引擎,也有了移动版本。没准过不了多久,CryEngine也会出现在手机上。 [/zh] [en] With the development of mobile platforms' software and hardware, more and more games are available for mobile platforms. And other great game engine, such as Unreal, also has mobile versions. Probably it won't take a long time to see a mobile CryEngine. [/en] [zh] 除了软硬件本身,阻碍开发的另一个因素就是开发语言。几乎所有现有桌面平台的游戏引擎都是用C/C++完成的,如果手机平台上没有C/C++的支持,那么重写引擎的代价会非常的大。下面 ...
刚才试了一下最新的dxprof 1.0.8,在KlayGE的例子程序上可以稳定执行了,不像以前一样会crash。 dxprof的网站是http://busyray.com/dxprof/index.html,介绍如下: DxProf is realtime DirectX profiling tool for easy identification of performance bottlecks on the GPU. DirectX 9, DirectX 10, and DirectX 11 are supported. Functionality DXProf injects itself into applications that use DirectX for rendering. It analyzes each draw call in every frame and displays performance statistics for those draw calls, overlaying it over application frame buffer. It works with Direct X9, Direct X10, or Direct X ...
花了几个小时吧Instanced Tessellation实现了一下,并集成到PNTriangle例子中了。这下在D3D10级别的显卡上也可以支持tessellation。Instanced Tessellation速度不错,蛮实用的。相关资料在:http://developer.download.nvidia.com/presentations/2008/GDC/Inst_Tess_Compatible.pdf。 目前还不支持Adaptive tessellation,所以每个三角形的细分级别都是一样的,对GPU来说是个负担。以后有空再做改进了。 细分5次以后的mesh相当密: 相比原先的mesh:
偶然发现了一个检测浮点数是否是NaN的做法:如果f == f返回false,就表示f是NaN。对于float和double都管用。
在今年的I3D上将有一篇名为“Subpixel Reconstruction Antialiasing”的论文,在NVIDIA的网站上找到的简介如下: Subpixel Reconstruction Antialiasing (SRAA) combines single-pixel (1x) shading with subpixel visibility to create antialiased images without increasing the shading cost. SRAA targets deferred-shading renderers, which cannot use multisample antialiasing. SRAA operates as a post-process on a rendered image with superresolution depth and normal buffers, so it can be incorporated into an existing renderer without modifying the shaders. In this way SRAA resembles Morphological Antialiasing ( ...
NVIDIA的Parallel Nsight 1.51发布了,而且Professional版本也是免费的,不用license。但是,单机调试仍然泥马要求有2个GPU...啥时候能把这个改了就好了。 下载地址在http://developer.nvidia.com/object/nsight.html
KlayGE中的延迟渲染(四)集中在Anti-alias的方法,本篇是这个系列的完结篇,我们一起来探讨未来将对延迟渲染所做的改进。 展望未来 shading pass再次渲染物体的改进 Deferred Lighting最受争议的一点应属在shading pass需要再次渲染几何体了。如果物体很多,尤其是有tessellation和GS的,多渲一遍有可能抵消了lighting pass带来的性能提升。改进的方法之一就是在建立G-Buffer阶段,用类似Deferred Shading的fat G-Buffer。除了原先的一张纹理,还需要一张纹理用来存放diffuse信息。但是lighting pass和原来一样,不涉及diffuse。shading pass就变成画一个全屏四边形,从G-Buffer的第二章纹理读取diffuse,进行着色。甚至emit也这么处理。 ...
早在2009年google就发布了android NDK,旨在用C/C++来开发android程序。但NDK并不能纯粹用C/C++来使用,而是通过JNI的形式让Java端调用。现在,这一点终于有了改观。在NDK r5上,可以独立用C/C++完成开发了!而且,OpenGL ES,Open SL ES,感应器等平台相关的API也暴露给了native,可以直接调用。对广大游戏开发者不啻为一件美事。 来自于google人员的blog中提到:“Of course, access to the regular Android API still requires Dalvik, and the VM is still present in native applications, operating behind the scenes. Should you need to do more than the NDK interfaces provide, you can always invoke Dalvik methods via JNI. ...