艺术的追求从编程开始

C/C++/UNIX/PYTHON/ALGORITHM

导航

2016年6月17日

pip install 报错原因

摘要: 1. 要在~/.pip/pip.conf中添加源的地址。 2. 在运行pip install 命令的时候加上sudo -H 阅读全文

posted @ 2016-06-17 08:17 Rambo.Wang 阅读(427) 评论(0) 推荐(0) 编辑

2016年6月12日

map,hash_map, hash_table, 红黑树 的原理和使用

摘要: 在刷算法题的时候总是碰到好多题,号称可以用hash table来解题。然后就蒙圈了。 1.首先,map和hash_map的区别和使用: (1)map底层用红黑树实现,hash_map底层用hash_table 实现。所以map的时间复杂度为O(logn), hash_map为O(1)。 (2)map 阅读全文

posted @ 2016-06-12 10:26 Rambo.Wang 阅读(1040) 评论(0) 推荐(0) 编辑

2016年4月1日

Unity3d程序运行的时候在unity3d标志哪里进不去的原因

摘要: 我那个去,居然是有两个error。。我郁闷了,unity编译器有error居然也能打包能apk。我真是醉了。搞了我几个小时。 阅读全文

posted @ 2016-04-01 18:15 Rambo.Wang 阅读(571) 评论(0) 推荐(0) 编辑

2016年3月5日

第一章、简介

摘要: 1. TCP/IP 4层模型: 应用层->传输层->网络层->数据链路层。 (1) netstat -ni | netstat -nr (2) ifconfig en0 2.TCP/IP协议族: UDP简单的、不可靠的、数据报协议 TCP复杂的、可靠的、字节流协议 SCTP可靠的,目前看来只有电信领 阅读全文

posted @ 2016-03-05 12:00 Rambo.Wang 阅读(162) 评论(0) 推荐(0) 编辑

2016年2月11日

十五、polygon API

摘要: How polygons are handled internally The five basic polygonal API classes Construction History and Tweaks polyModifierCmd example splitUVCmd example Po 阅读全文

posted @ 2016-02-11 14:19 Rambo.Wang 阅读(547) 评论(0) 推荐(0) 编辑

2016年2月10日

十四、View Port 2.0

摘要: 1. 分为以下几类: (1) data classes: 用来访问scene中的geometry 和 shaders (2)scene override: 主要是用户自定义的drawing 、shading和effects (3)Rendering overrides: custom renderi 阅读全文

posted @ 2016-02-10 15:19 Rambo.Wang 阅读(188) 评论(0) 推荐(0) 编辑

十三、File Translator怎么写

摘要: ---恢复内容开始--- 1. File Translator可以将信息从maya中导入和导出。 2. 创建一个file translator需要从MPxFileTranslator继承。 3. 函数介绍: (1)::canBeOpened()方法决定了file translator是否可以打开文件 阅读全文

posted @ 2016-02-10 10:42 Rambo.Wang 阅读(278) 评论(0) 推荐(0) 编辑

2016年2月2日

十二、shapes

摘要: 1. The control points are attributes on the shape which are usually arrays of points. Control points become interactive, i.e. they can be selected and 阅读全文

posted @ 2016-02-02 19:52 Rambo.Wang 阅读(255) 评论(0) 推荐(0) 编辑

十一、Manipulators

摘要: 1. Manipulators是可以用三维进行绘制的的节点,可以将用户行为值化,对其他节点的属性进行modify。 2. 属性值可以通过Channel Box 和Graph Editor进行修改。同其他的dg节点不一样,manipulator直接修改属性值,而不通过plug。 3.可以用以下几种方法 阅读全文

posted @ 2016-02-02 00:41 Rambo.Wang 阅读(340) 评论(0) 推荐(0) 编辑

2016年2月1日

十、DG

摘要: 1.DG是dependency graph,我认为是依赖图,和DAG(有向无环图)的区别:DAG用来做场景管理,每个node代表的不是tranform就是shape,有父子关系。 DG是代表了每个实体节点之间的相互关系,通过plug,从output到input,再在每个DG节点中,对数据进行存储和计 阅读全文

posted @ 2016-02-01 17:54 Rambo.Wang 阅读(795) 评论(0) 推荐(0) 编辑