【狗刨学习网】
最近1个月做了unity 次世代开发的一些程序方面的支持工作,当然也是基于物理渲染相关的,主要还是skyshop
marmoset的使用吧,他算是unity4.x版本 PBR的优秀方案之一了
但在使用以及性能上,还是多少有些坑和不足,这里也是自己的一些心得吧,希望可以其他对这个方案有兴趣的朋友起到一些帮助。
一、遇到了fps降低的BUG
国庆节前的老版本...
分类:
编程语言 时间:
2015-02-25 00:44:20
收藏:
0 评论:
0 赞:
0 阅读:
358
这一章我们来看看mybaits是怎么读取mapper的xml配置文件并解析其中的sql语句。
我们还记得是这样配置sqlSessionFactory的:
这里配置了一个mapperLocations属性,它是一个表达式,sqlSessionFactory会根据这个表达式读取包com.xxx.mybai...
分类:
移动平台 时间:
2015-02-25 00:44:11
收藏:
0 评论:
0 赞:
0 阅读:
554
OpenGLES 相关 - 10天线性代数学习总结...
分类:
其他 时间:
2015-02-25 00:44:06
收藏:
0 评论:
0 赞:
0 阅读:
294
自己总结的Mac中配置Java,Android,Maven,Hosts等环境变量的方法。工具类文章,按需观看...
分类:
移动平台 时间:
2015-02-25 00:43:30
收藏:
0 评论:
0 赞:
0 阅读:
403
B. Drazil and His Happy Friendstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDrazil has many f...
分类:
移动平台 时间:
2015-02-25 00:42:40
收藏:
0 评论:
0 赞:
0 阅读:
327
//CodeForces 404A 1 #include "iostream" 2 #include "cstdio" 3 #include "cstring" 4 #include "algorithm" 5 using namespace std; 6 char mat[310][310]; 7...
分类:
其他 时间:
2015-02-25 00:42:30
收藏:
0 评论:
0 赞:
0 阅读:
195
感谢:http://vfleaking.blog.163.com/blog/static/174807634201311011201627/http://hzwer.com/5250.html好吧,收获两点: 1、带修改,其实就是暴力,只是将同一块的查询再按照时间顺序排,这样就能减少在修改操作上“....
分类:
其他 时间:
2015-02-25 00:42:20
收藏:
0 评论:
0 赞:
0 阅读:
388
1 /opt/tomcat/bin/shutdown.sh2 sleep 53 ps aux|grep "apache-tomcat-7.0.1" |grep -v "grep" |grep "java" |awk '{print $2}' |xargs kill -94 rm -f /opt/to...
分类:
其他 时间:
2015-02-25 00:42:10
收藏:
0 评论:
0 赞:
0 阅读:
349
出于无聊, 打算从头实现一遍RSA算法第一步, 大素数生成Java的BigInteger里, 有个现成的方法 public static BigInteger probablePrime(int bitLength, Random rnd) { bitLength是期望生成的素数的二进制位数, .....
分类:
编程语言 时间:
2015-02-25 00:42:00
收藏:
0 评论:
0 赞:
0 阅读:
484
//CodeForces 407B 1 #include "iostream" 2 #include "cstdio" 3 #include "cstring" 4 #include "algorithm" 5 using namespace std; 6 const __int64 mod = 1...
分类:
其他 时间:
2015-02-25 00:41:50
收藏:
0 评论:
0 赞:
0 阅读:
302
//CodeForces 404B 1 #include "iostream" 2 #include "cstdio" 3 #include "cstring" 4 #include "algorithm" 5 using namespace std; 6 const __int64 N = 1e6...
分类:
其他 时间:
2015-02-25 00:41:40
收藏:
0 评论:
0 赞:
0 阅读:
281
//CodeForces 407A 1 #include "iostream" 2 #include "cstdio" 3 #include "cstring" 4 #include "algorithm" 5 using namespace std; 6 int square[1010]; 7 s...
分类:
其他 时间:
2015-02-25 00:41:30
收藏:
0 评论:
0 赞:
0 阅读:
308
C++之高精度算法注意:本文转载自http://blog.sina.com.cn/s/blog_4fdb102b010087ng.html,十分感谢原作者:忍者前言:由于计算机运算是有模运算,数据范围的表示有一定限制,如整型int(C++中int 与long相同)表达范围是(-2^31~2^31-1...
分类:
编程语言 时间:
2015-02-25 00:41:20
收藏:
0 评论:
0 赞:
0 阅读:
395
//CodeForces 408A 1 #include "iostream" 2 #include "cstdio" 3 #include "cstring" 4 #include "algorithm" 5 using namespace std; 6 int n, k[110], tmp, r...
分类:
其他 时间:
2015-02-25 00:41:10
收藏:
0 评论:
0 赞:
0 阅读:
283
Word Ladder II解题记录
分类:
其他 时间:
2015-02-25 00:41:00
收藏:
0 评论:
0 赞:
0 阅读:
288
1、操作系统为程序和用户提供了一定的服务。1、用户界面2、程序执行3、I/O操作4、文件系统操作5、通信。在许多情况下一个进程需要与另一个进程交换信息。这种通信有两种方式。一种是发生在同一台计算机运行的两个进程之间,另外一种是运行在由网络连接起来的不同的计算机上的进程之间。6、错误检测7、资源分配8...
分类:
其他 时间:
2015-02-25 00:40:50
收藏:
0 评论:
0 赞:
0 阅读:
230
在所有的服务器编程当中,定时任务永远是一个不可或缺的需求。最直接的需求就是,每天凌晨0点0分的时候总是有一大堆的各种精力重置。怎么来设计这个接口呢,想了几个方案:每秒触发每分钟触发每整点触发每天触发每个月触发oh no!不靠谱啊,如果这接口真设计成这样,得有多烂,灵光一现,unix下的crontab...
分类:
其他 时间:
2015-02-25 00:40:40
收藏:
0 评论:
0 赞:
0 阅读:
1238
信号量的操作及原理1.OSSemCreate创建信号量semaphore 在使用信号量之前,要先用OSSemCreate创建一个信号量,并通过返回的合法事件结构体指针使用信号量。OS_EVENT *OSSemCreate(INT16U cnt){#if OS_CRITICAL_METHOD ==.....
分类:
其他 时间:
2015-02-25 00:40:30
收藏:
0 评论:
0 赞:
0 阅读:
676
splay可以用于维护序列,比如noi的维修序列,比如这道发现当时splay没写总结,也没题解然后重新写splay竟然耗了一个晚上结果是因为max【0】没有附最小值!!血一样的教训最后祭出inline大法才过,我的splay真的慢到吐血{$inline on}{$M 1000000000,0,max...
分类:
其他 时间:
2015-02-25 00:40:20
收藏:
0 评论:
0 赞:
0 阅读:
534
//CodeForces 405B 1 #include "iostream" 2 #include "cstdio" 3 #include "cstring" 4 #include "algorithm" 5 using namespace std; 6 char str[3010]; 7 int...
分类:
其他 时间:
2015-02-25 00:40:10
收藏:
0 评论:
0 赞:
0 阅读:
388