快捷高度图效果

3 replies [最后一篇]
u8
User offline. Last seen 43 周 3 天 ago. Offline
超级管理员
Joined: 09/05/2009
Points: 2119

选择一张图片,即可在场景中看到以此图为高度图的模型效果!

After making the straight geometry manipulation experiment I thought I would have a look at loading images in as relief maps, similar to the real-world products they’re offering at Shapeways. A relief map is when you take the colour of a pixel in an image and set that to the elevation of the image. While Unity is great for 3D, it doesn’t want to do much file I/O, so you’ll have to load images from elsewhere on the internet if you want to see something different. The default image supplied here is from Florida State U’s Laboratory for Computational Vision, and displays an actual height-map generated for this kind of purpose. If you want something else, just paste the link in and click ‘load image’, and as always in Unity, right-click for full-screen.

What I’ve got so far is not bad, but surprisingly noisy!
This much higher resolution than the mesh experiment, but Unity can’t get access to the webcam (without a struggle), so doing relief mapping from there will have to wait a while. As always, stay tuned!

reliefMapIcon

演示效果文件在附件中,压缩包解压密码为本站域名!

noflyzone
User offline. Last seen 6 天 5 小时 ago. Offline
初级会员
Joined: 08/08/2010
Points: 90

unity3d8.com是密码,楼上的几位小白

uke
User offline. Last seen 3 天 6 小时 ago. Offline
超级管理员
Joined: 09/07/2009
Points: 2499

不会吧,可以打开的啊

wwt
User offline. Last seen 41 周 1 天 ago. Offline
注册用户
Joined: 06/16/2010
Points: 18

怎么下下来,打不开啊。