Unity3D游戏开发之3DMAX 灯光
欢迎来到unity学习、unity培训、unity企业培训教育专区,这里有很多U3D资源、U3D培训视频、U3D教程、U3D常见问题、U3D项目源码,【狗刨学习网】unity极致学院,致力于打造业内unity3d培训、学习第一品牌。
一、3DMAX 五种光源
1、Ommi Light 泛光灯:可以从一点向四周均匀照射的点光源。
2、Targ...
分类:
编程语言 时间:
2015-03-10 19:24:10
阅读次数:
229
基本数据类型
nil?boolean?number?string?userdata?function?thread?table
--将一个全局变量复制为nil?即等价于删除该变量
函数?string?type()返回参数类型
nil为false?其他为true
print("10"...
分类:
其他好文 时间:
2015-03-06 17:32:56
阅读次数:
129
网上的各种解决方案已经不少了,但是不适合于我的,谷歌一种新的解决方案 you can directly specify it in manifest file1234There are 3 themes available Theme.Holo.Light/Theme.Holo.Dark/Them....
分类:
其他好文 时间:
2015-03-04 20:48:44
阅读次数:
239
Turn for MEGA
Time limit: 1.0 second
Memory limit: 64 MB
A traffic light at the turn for the “MEGA” shopping center from the Novomoskovskiy highway works in such a way that k cars are abl...
分类:
其他好文 时间:
2015-03-04 19:11:46
阅读次数:
131
AtNodeIterator*?it?=?AiUniverseGetNodeIterator(AI_NODE_LIGHT);
????while?(!AiNodeIteratorFinished(it))
????{
????????AtNode*?light?=?AiNodeIteratorGetNext(it);
???...
分类:
其他好文 时间:
2015-03-03 16:51:38
阅读次数:
109
androidramdisk1、android文件系统的结构android源码编译后得到system.img,ramdisk.img,userdata.img映像文件。其中,ramdisk.img是emulator的文件系统,system.img包括了主要的包、库等文件,userdata.img包括...
分类:
移动开发 时间:
2015-02-28 14:19:25
阅读次数:
140
Android我们在eclipse导入开源项目后,经常会发现找不到类似Theme.AppCompat.Light.DarkActionBar的style,解决办法也比较简单,就是导入com.android.support:appcompat-v7包,不过又两点需要注意:不能只导入appcompat-v7.jar包,而是要导入appcompat-v7项目...
分类:
移动开发 时间:
2015-02-26 21:42:13
阅读次数:
197
在场景中添加一个Plan,Camera,Directional Light,Cube。添加两个脚本scrollerScirpt(挂在Camera),CubeDragScript(挂在Cube上)。1.鼠标滚轮实现缩放:将摄像机的镜头拉近或者拉远,调整摄像机的视角就可以实现,主要实现代码如下:void...
分类:
编程语言 时间:
2015-02-25 17:04:05
阅读次数:
327
数位DP#include #include using namespace std;const int MAX_DIGIT = 15;const int MAX_K = 10005;long long n;int f[MAX_DIGIT];long long memoize[MAX_DIGIT][M...
分类:
其他好文 时间:
2015-02-24 21:00:31
阅读次数:
220
数位dp,许多数位dp需要统计某种模式(子串)出现的数量,这种题通常需要在递归参数中加入高位已经出现过的模式的数量。#include #include using namespace std;#define D(x) const int MAX_DIGIT = 40;long long n;int ...
分类:
其他好文 时间:
2015-02-23 18:59:51
阅读次数:
131