平民程序 - linghuye's blog

天下风云出我辈,一入江湖岁月催。皇图霸业谈笑中,不胜人生一场醉。提剑跨骑挥鬼雨,白骨如山鸟惊飞。尘事如潮人如水,只笑江湖几人回。

随笔 - 221, 文章 - 0, 评论 - 680, 引用 - 0
数据加载中……

Displacement Map Demo

Displace map demo, OpenGL和DirectX实现, 基于Vertex texture fetch.

1.Displacement Map用到的主要技巧是Vertex Texture Fetch.
2.ATI不支持Vertex Texture Fetch,所以只能用NVidia显卡跑此Demo.
3.Vertex Texture Fetch确实很慢,至少目前不适用.

http://www.cnitblog.com/Files/linghuye/DisplaceMapDemo.rar

posted on 2008-03-05 19:59 linghuye 阅读(2076) 评论(3)  编辑 收藏 引用 所属分类: 3D图形学研究

评论

# re: Displacement Map Demo  回复  更多评论   

谁说ATI不支持VTF?!你使用最新的驱动在R6xx以上试试啊!
2008-07-23 17:16 | 路人

# re: Displacement Map Demo  回复  更多评论   

i think your demo is not the complete version of the so called technique "displacement mapping", yours is just a vertex shader which takes a height map texture as its input and use texture look up to modify the vertex postion, which is just the last step of the displacement mapping
2008-08-26 12:18 | zxx

# re: Displacement Map Demo[未登录]  回复  更多评论   

同意楼上,看起来不是Displacement mapping,而是类似于高度场的Displacement Vector Feild(位移矢量场)
2008-10-06 14:59 | 老狼
只有注册用户登录后才能发表评论。