GLSL实现Interactive Fluid 流体【转】】的更多相关文章

http://blog.csdn.net/a3070173/archive/2008/12/08/3479477.aspx 完成的部分: 1.流体本身的绘制和更新 未解决的部分: 1.由于采用经过抖动的屏幕坐标进行折射图纹理采样,在设置了GL_CLAMP_TO_EDGE之后仍然会 导致边沿采样走样,仔细对比了游戏编程精粹6的样例,发觉在OpenGL上设置了与D3D对应的OpenGL 纹理环绕参数,但仍未能避免这个问题. 2.反射图在进行采用纹理坐标抖动后发生采样错误. Demo效果截图: exe…
让bootstarp3 支持ie的兼容模式: 支持浏览器的响应式布局: 是指网页既可以用在pc上,也可以用在手机上, 而且不需要修改源文件. bootstrap包括: css文件, 只需要加载: css/bootstrap.min.css js文件, 只需要加载: js/bootstrap.min.js fonts文件(夹), 要放在网站的根目录下. less 和sass: less(解析器)是基于javascript的, 所以主要是用在客户端. sass是基于ruby的, 主要是用在服务器端.…
概况 熟悉HTML5.CSS3.JavaScript.ES6规范 熟悉JQuery框架 熟悉BootStrap 熟悉Less.Sass 熟悉Vue 熟悉Git postman Bootstrap 布局 container 固定容器 container-fluid 流体容器 栅格系统 .col- 针对所有设备 .col-sm- 平板 - 屏幕宽度等于或大于 576px .col-md- 桌面显示器 - 屏幕宽度等于或大于 768px) .col-lg- 大桌面显示器 - 屏幕宽度等于或大于 992…
http://blog.csdn.net/a3070173/archive/2008/11/20/3342062.aspx Dislace Mapping其实就是在顶点着色器中 对顶点进行置换偏移,经常用于水仿真流体绘制. 顶点着色器: uniform float g_fScale; uniform sampler2D g_DisplaceTexture; void main() { float fDisplace = texture2DLod(g_DisplaceTexture, gl_Mul…
bootstrap练习笔记-巨幕和流体布局 1.在bootstrap中 .jumbotron可以设置巨幕效果 2.div.jumnotron自动设置一个黑色的巨幕效果 3.div.container 表示宽度为1200的时候显示效果 4.div.fluid表示采用流体布局(百分比布局) 5.Img.img-responsive表示图片自适应 6.hidden-xs表示在小于小屏幕的时候隐藏,其他的显示 7.bootstrap采用的是移动端优先,首先设置的就是移动端效果,然后再根据不同的屏幕调整大…
Liquid Rendering 流体渲染  本文主要讲解Rendering折叠栏中的内容.原文地址:https://docs.chaosgroup.com/display/PHX3MAX/Liquid+Rendering 主要内容 Overview 综述 Actions 基本操作 Parameters 参数 Ocean Example: Ocean Subdivs Mesh smooth Motion blur Displacement 综述 The rendering process in…
Liquid Input 流体输入 本文主要讲解Input折叠栏中的内容.原文地址:https://docs.chaosgroup.com/display/PHX3MAX/Liquid+Input 主要内容 Overview 综述 Parameters 参数 Time Bend Controls Channel Smoothing Channels Mapping 通道映射 Overview The Input roll-out determines the path of the input…
Liquid Output 流体输出  本文主要讲解Output折叠栏中的内容.原文地址:https://docs.chaosgroup.com/display/PHX3MAX/Liquid+Output 主要内容 Overview 综述 Parameters 参数 General 通用参数 Example: FLIP/Liquid compression artifacts Output Particles 粒子输出 Grid channels 网格通道 Using Environment V…
流体动力学 本文主要讲解Dynamics折叠栏中的内容.原文地址:https://docs.chaosgroup.com/display/PHX3MAX/Liquid+Dynamics 主要内容 Overview 综述 Parameters 参数 Example: Motion Intertia Example: Steps Per Frame Example: Time Scale Example: Viscosity Example: Non-Newtonian Example: RGB D…
流体网格 本文主要讲解Grid折叠栏中的内容 主要内容 Overview 综述 Parameters 参数 General 普通参数 Example: Scene Scale Example: Grid Resolution Container Walls 容器壁 Adaptive Grid 自适应网格 综述 The PhoenixFDSimulator works best when the scale of the container matches the real-world size…