摘要:
本文主要分析CUDA SDK sample如何同OpenGL相结合. 在CUDA中调用OpenGL主要有以下几个要点: Interoperability with OpenGL requires that the CUDA device be specified by cudaGLSetGLDevice() before any other runtime calls. Register res... 阅读全文
摘要:
本文主要分析VolumeRender中涉及到的一些图形算法:Ray casting、 直线平面求交。 VolumeRender渲染效果 Volume Render通常用来绘制几何图形难以表现的流体、云、火焰、烟雾等效果,流行的volume render算法有:ray casting、texture-based volume rendering。SDK例子使用的是Ray casting算法。 ... 阅读全文