osgEarth噪波着色混合案例 26.noise.earth
来源:互联网 发布:听音辨歌软件 编辑:程序博客网 时间:2024/06/05 14:14
osgEarth噪波着色混合案例 26.noise.earth
1) 案例概述
地形着色器代码实现地面噪波着色混合效果。
2) 软件环境
osgEarth:官方代码库2017.11.09最新代码地址:www.github.com/gwaldron/osgearth
osgEarth编辑器:SXEarth2.8及以上,下载地址:www.sxsim.com
3) 硬件环境
本文编写和案例测试使用的硬件环境:CPU: i5四核,显卡:GTX660,内存:8GB。
(推荐使用英伟达显卡,intel显卡,会出现三维场景中文字显示不全的问题,笔记本双显卡,需要切换到独显。)
4) 编辑测试
在场景栏,删除“高程着色图”扩展,去除地面彩色。选中场景面板的“地形着色器”项,在右侧属性栏,右键“代码”项,在打开的编辑窗口,可以编辑GLSL代码。在vec2 coords = getNoiseCoords( floor(baseLOD) ); 后面,添加coords = 2.0*coords;可以调节杂色的密度。
阅读全文
0 0
- osgEarth噪波着色混合案例 26.noise.earth
- osgEarth几何着色器案例 34. geomshader.earth
- osgEarth高程配色案例 5. colorramp.earth
- osgEarth地形透明案例 6. fade_elevation.earth
- osgEarth脚本属性案例 9. feature_labels_script.earth
- osgEarth颜色反转案例 13.glsl.earth
- osgEarth细节纹理案例 14.detail_texture.earth
- osgEarth地形压平案例 37. feature_elevation.earth
- osgEarth矢量裁剪案例 38. feature_clip_plane.earth
- osgEarth矢量加载案例 39. feature_country_boundaries.earth
- osgEarth高程着色图案例 35. contourmap.earth
- osgEarth shapefile矢量生成三维模型案例 2.boston.earth
- osgEarth波士顿城市建筑生成案例 3. boston_buildings.earth
- osgEarth矢量瓦片tfs生成建筑案例 4. boston_tfs.earth
- osgEarth MBTiles瓦片加载案例 21.mb_tiles.earth
- osgEarth 图层层级范围案例 22.min_max_level.earth
- osgEarth图层显示范围案例 23. min_max_range.earth
- osgEarth图层显示分辨率案例 24.min_max_resolutions.earth
- 卷积与反卷积
- 【LeetCode】88.Merge Sorted Array(easy)解题报告
- 从ITP项目到全球员工运动会,为海航陈峰带领的海航集团竖大拇指
- 郑老师说滴。
- Spring Cloud构建客户端
- osgEarth噪波着色混合案例 26.noise.earth
- 网易2017内推笔试1:分苹果 [python]
- CtsOsTestCasesTest android.os.cts.BuildVersionTest#testBuildFingerprint
- 网易2017内推笔试1:合唱团 [python]
- 一篇感情真挚的HR活动稿
- 新零售新趋势?丨工信部:我国5G研发推动全球统一标准
- 大话设计模式 第21章 单例模式
- android.support.constraint.ConstraintLayout
- dedecms安全篇:织梦文件夹目录权限设置