小记一下用法与问题,时更 surface shader就不用操心了,自带lightmap计算 主要是vertex fragment shader部分 Unity5 bake light map有三种情况: 1.Non-directional 2.directional 3.directional s ...
分类:
Web程序 时间:
2017-08-10 16:54:47
阅读次数:
288
T1 基因光线 light 题目描述: 黑大帅统治古古怪界后,一直在玩一种很奇葩的游戏。在一个二维平面上,他先复制了n个小A,把他们放在不同的位置,然后射出一条ax+by+c=0的基因光线,宽度为d,即离这条直线的距离不大于d的小A会被射中。当然,某些悲剧的小A就会被射中,并变成黑小A。当然,这不是 ...
分类:
其他好文 时间:
2017-08-09 21:06:49
阅读次数:
210
Problem 灯 题目大意 n盏灯排成一列,标号一到n,一开始标号为1的灯亮着。 现在依次对于2~n的每一个质数pi,指定一盏亮着的灯ai,点亮所有标号为$A[i]\pm kP_i$的灯。 有spj,任意一种方案即可。 输入一个整数n,输出点灯方案。 Solution 首先写个暴力,考虑一下小范围 ...
分类:
其他好文 时间:
2017-08-07 22:07:52
阅读次数:
184
SVM: 1. 线性与非线性 核函数; 2. 与神经网络关系 置信区间结构; 3. 训练方法; 4.SVM light,LS-SVM; 5. VC维 u-SVC 与 c-SVC 区别? 除参数不同外,两者基本一样。 c-SVC c∈(0,∞) u-SVC c∈[0,1] c是一个很好的特征,它与支持 ...
分类:
系统相关 时间:
2017-08-07 10:15:13
阅读次数:
230
Description Compared to wildleopard's wealthiness, his brother mildleopard is rather poor. His house is narrow and he has only one light bulb in his h ...
分类:
其他好文 时间:
2017-08-07 00:18:58
阅读次数:
132
一开始,我使用的是itext2.1.7,但是会出现中文不能显示问题,解决方案:下载另一个包extrajars-2.3.zip,此包中的itext-asian.jar可以帮助解决中文乱码问题,若再遇到STSong-Light' with 'UniGB-UCS2-H' is not recognized ...
分类:
其他好文 时间:
2017-08-05 22:46:11
阅读次数:
3285
一、transform组件用途 1.维护场景树 2.对3D物体的平移,缩放,旋转 二、场景树定义 在Hierarchy视图中显示的: 一个game_scene场景,下面有Main Camera节点,Directional Light节点,game_root节点,game_root节点下又有Cube子 ...
分类:
编程语言 时间:
2017-08-01 14:46:09
阅读次数:
228
1045 - Digits of Factorial Factorial of an integer is defined by the following function f(0) = 1 f(n) = f(n - 1) * n, if(n > 0) So, factorial of 5 is ...
分类:
其他好文 时间:
2017-08-01 09:51:31
阅读次数:
180
首先需要我们在mainifests中进行注册, <activity android:name="com.special.residemenudemo.CameraActivity" android:theme="@style/Theme.AppCompat.Light.NoActionBar"/> ...
分类:
其他好文 时间:
2017-07-30 18:07:52
阅读次数:
107
http://lua.2524044.n2.nabble.com/LightUserData-and-metatables-td3807698.html "... do you realize that by setting the metatable of a light userdatayou ...
分类:
Web程序 时间:
2017-07-30 15:48:49
阅读次数:
180