06 2017 档案

fft ocean注解
摘要:针对这两篇教程: http://www.keithlantz.net/2011/10/ocean-simulation-part-one-using-the-discrete-fourier-transform/ http://www.keithlantz.net/2011/11/ocean-sim 阅读全文

posted @ 2017-06-23 10:46 wantnon 阅读(2168) 评论(1) 推荐(1) 编辑

理顺FFT
摘要:DFT(Discrete Fourier Transform):离散傅立叶变换 直观的计算DFT算法复杂度为O(N*N)。 FFT(Fast Fourier Transformation):快速傅立叶变换,DFT的快速算法。凡将DFT算法复杂度降至O(N*logN)的算法,均可称为FFT。 最常用的 阅读全文

posted @ 2017-06-16 03:15 wantnon 阅读(539) 评论(0) 推荐(0) 编辑

从零开始unity特效(持续追加中)
摘要:打算重拾3d渲染了,计划把主要理论过一遍,每部分琢磨一个言之有物的demo。 因为很多东西要现学,再加上上班-8h,更新会比较慢,但会坚持。 (待续) houdini+unity河流(2019-3-24)(一):https://zhuanlan.zhihu.com/p/60264624(二):htt 阅读全文

posted @ 2017-06-11 14:32 wantnon 阅读(18505) 评论(2) 推荐(2) 编辑

unity, 在image effect shader中用_CameraDepthTexture重建世界坐标
摘要:更新 更简单的方法: //depth: raw depth, nonlinear, 0 at near plane, 1 at far plan float4 screenUVwithDepth=float4(screenUV,depth,1);//now x,y,z are in [0,1] nd 阅读全文

posted @ 2017-06-10 20:54 wantnon 阅读(3307) 评论(0) 推荐(0) 编辑

unity, ComputeScreenPos 作用
摘要:这帖子讲得很清楚:https://forum.unity3d.com/threads/what-does-the-function-computescreenpos-in-unitycg-cginc-do.294470/ 阅读全文

posted @ 2017-06-08 16:29 wantnon 阅读(1454) 评论(0) 推荐(0) 编辑

Lambert漫反射的BRDF
摘要:Lambert漫反射brdf=Albedo/pi。 推导: 如图,设Lambert面元获得入射照度Ei,各方向均匀释放亮度,每个方向释放的亮度都是Lo。 又设此表面反射率为Albedo,根据反射率定义 Albedo=Eo/Ei =(因为Lo各方向相同)=(为半球) =(Lo*pi)/Ei 所以 br 阅读全文

posted @ 2017-06-07 02:09 wantnon 阅读(2075) 评论(0) 推荐(0) 编辑

精确光源(Punctual Light Sources)
摘要:《Physically-Based Shading Models in Film and Game Production》(SIGGRAPH 2010 Course Notes) (地址:http://renderwonk.com/publications/s2010-shading-course/ 阅读全文

posted @ 2017-06-07 01:54 wantnon 阅读(2470) 评论(0) 推荐(0) 编辑

面元间的能量传输
摘要:问题: 设P点处面元ds,其法向为n',Q点处面元dA,其法向为n,PQ距离为r,由P射向Q的光线亮度为L,求Q点接收到的功率(光通)。 解: Q点入射亮度为L,意思是说在Q点安一个测量仪器对入射亮度进行测量,测量的结果将为L。 恰好我们手头没有直接测量亮度的仪器,只好采用间接测量法,测得Q点接受到 阅读全文

posted @ 2017-06-03 22:58 wantnon 阅读(354) 评论(0) 推荐(0) 编辑

pbr若干概念
摘要:pbr基于辐射传输理论,最基本的一个观点是:一切皆光源--任何一个面元既是光能接收器,也是光能发射器。 pbr基于辐射传输理论,最基本的一个观点是:一切皆光源--任何一个面元既是光能接收器,也是光能发射器。 光通(flux):单位时间内通过某一面积的光能,单位W(瓦特),用表示。 可见,光通其实就是 阅读全文

posted @ 2017-06-03 09:33 wantnon 阅读(587) 评论(0) 推荐(0) 编辑

c# xml 输出注释格式控制
摘要:string str="\n\t///*! 妆容类物品子分类 */\n\tenum MakeupSubType\n\t{\n\t\tItem_InvalidMakeupSubType = -1,\t\t\t\t\t\t/*!< 无效类型 */\n\t\tItem_MST_Begin = 300,\n 阅读全文

posted @ 2017-06-02 11:45 wantnon 阅读(362) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示