上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 40 下一页
摘要: choice /t 5 /d y /nstart a.txt 阅读全文
posted @ 2018-02-06 14:01 酷熊 阅读(1438) 评论(0) 推荐(0) 编辑
摘要: Vertex Shader Fragment Shader 阅读全文
posted @ 2018-02-05 15:16 酷熊 阅读(203) 评论(0) 推荐(0) 编辑
摘要: double linearizeDepth(double nearz,double farz,double depth) { depth = 2.0 * depth - 1.0; return (2.0 * nearz) / (farz + nearz - depth * (farz - nearz)); } 阅读全文
posted @ 2018-01-25 10:06 酷熊 阅读(439) 评论(0) 推荐(0) 编辑
摘要: /************************************************************************/ /*线段与WGS84椭球求交 x^2/a^2+y^2/a^2+z^2/b^2=1 (x-x0)/m=(y-y0)/n=(z-z0)/p=t m=x1-x0 n=y1-y0 p=z1-z0 p0线段起始点 p1线段终点 center椭球球心 a =... 阅读全文
posted @ 2018-01-02 12:41 酷熊 阅读(964) 评论(0) 推荐(0) 编辑
摘要: 双击红色框区域 阅读全文
posted @ 2017-12-20 15:19 酷熊 阅读(4854) 评论(0) 推荐(0) 编辑
摘要: Properties { _R("Radius", Range(0,100)) = 1.0 _ColorTex("ColorTex (RGB)", 2D) = "red" {} struct Input { float2 uv_MainTex; float3 worldPos; //flo... 阅读全文
posted @ 2017-12-19 14:44 酷熊 阅读(1172) 评论(0) 推荐(0) 编辑
摘要: CGPROGRAM // Physically based Standard lighting model, and enable shadows on all light types #pragma surface surf Standard fullforwardshadows vertex:vert struct Input { ... 阅读全文
posted @ 2017-12-19 12:31 酷熊 阅读(2789) 评论(0) 推荐(0) 编辑
摘要: Texture2D colorTxt = new Texture2D(size, size); Color[] colors = new Color[10]{ Color.black, Color.white, Color.yellow , Color.gray , Color.green , Co 阅读全文
posted @ 2017-12-18 11:17 酷熊 阅读(3922) 评论(0) 推荐(0) 编辑
摘要: 关闭VS 关闭VS 开启控制台并导航到Visual安装文件夹,例如C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE 开启控制台并导航到Visual安装文件夹,例如C:\Program Files (x8 阅读全文
posted @ 2017-12-15 11:57 酷熊 阅读(3007) 评论(0) 推荐(0) 编辑
摘要: 这种情况下,需要调整.cpp文件中的头文件引用顺序,例如 A.cpp中 #include X.h #include Y.h #include A.h 尝试调整一下X.h和Y.h和A.h的顺序 阅读全文
posted @ 2017-12-11 10:45 酷熊 阅读(2947) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 40 下一页