len3d

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 30 下一页

2012年11月6日

摘要: I did some tests with the C compiler of Visual Studio 2008, the two methods of dot below made no difference in the generated assembly code:typedefstructVec{floatx,y,z;}Vec;#defineDOT(a,b)(a.x*b.x+a.y*b.y+a.z*b.z)__forceinlinefloatdot(constVec*a,constVec*b){return(a->x*b->x+a->y*b->y+a-&g 阅读全文
posted @ 2012-11-06 14:15 Len3d 阅读(203) 评论(0) 推荐(0) 编辑

2012年11月3日

摘要: http://software.intel.com/en-us/articles/maximum-fps-three-tips-for-faster-codehttp://www.codeproject.com/Articles/6154/Writing-Efficient-C-and-C-Code-Optimizationhttp://leto.net/docs/C-optimization.php 阅读全文
posted @ 2012-11-03 17:53 Len3d 阅读(181) 评论(2) 推荐(0) 编辑

2012年10月8日

摘要: 现在的博客客户端没有一个用着顺手的,为什么?因为插入图片太难了。我首先要确认我的博客是否支持上传图片,然后,我要找到这个上传图片的按钮,并且经历一堆界面找到我硬盘上的图片文件(找图片文件本身就很麻烦,尤其是图片文件名很相近的时候,比如一堆刚从相机导出的照片),最后我要确认我的链接被插在文字中适当的位置,并且假如我要文字环绕图片或者其它高级一点的排版效果实在是太麻烦。这里提出一个新概念的博客图文混编工具,有以下特点来解决上述问题:1. 图片均用截屏方式插入,所见即所得,你可以使用本地最喜欢的图片浏览器(你通常也是这么浏览图片的),然后使用截图功能来截取屏幕上的任意区块插入博文。截图自动被缓存,. 阅读全文
posted @ 2012-10-08 14:24 Len3d 阅读(840) 评论(2) 推荐(0) 编辑

2012年9月18日

摘要: Kollig and Keller, Efficient Multidimensional Samplingwww.uni-kl.de/AG-Heinrich/EMS.pdfMonte Carlo Light Tracing With Direct Computation Of Pixel Intensitieshttp://graphics.cs.kuleuven.be/publications/MCLTWDCOPI/Strictly Deterministic Sampling Methods in Computer Graphicshttp://citeseerx.ist.psu.edu 阅读全文
posted @ 2012-09-18 09:39 Len3d 阅读(348) 评论(0) 推荐(0) 编辑

2012年9月7日

摘要: Possible ways for distributed rendering:Condor - free open-source distribution systemGoogle Protocol BuffersBitTorrent (P2P) 阅读全文
posted @ 2012-09-07 14:07 Len3d 阅读(194) 评论(0) 推荐(0) 编辑

2012年9月6日

摘要: 1. Distribute photons more evenly, which means each photon carries approximately the same power.2. Use disc(ellipsoid) instead of sphere to locate nearest photons, to reduce false photons in corners.3. Use differential checking to stop adding photons when the estimate is either constantly increasing 阅读全文
posted @ 2012-09-06 23:28 Len3d 阅读(179) 评论(0) 推荐(0) 编辑

2012年9月4日

摘要: http://www.fxguide.com/featured/the-art-of-rendering/Really classic. my favorite for coffee time:) 阅读全文
posted @ 2012-09-04 14:02 Len3d 阅读(204) 评论(0) 推荐(0) 编辑

2012年6月29日

摘要: 我是在上海南京西路的美国大使馆面试的。预约的是早上7点15的面试,大约6点20到达梅陇镇广场西侧的入口处排队。因为我面试的是有美国商会担保的商务签证,所以要排一个特殊的队伍,到场咨询保安就知道了。我到的时候排到了大概第五名的位置。排队之前要先到旁边的戏院里面寄存包,电子的东西都不能带,手机也要寄存的,这个也是问保安就知道了。面试之前要过安检,进门只能带材料和钱包,建议不要系皮带,安检的时候要脱下来,很麻烦。然后会在一号窗口领之前由美国商会递交的个人材料,再到二号窗口留十指指纹。留十指指纹的时候手不能太干,否则采集不出来,建议自己提前涂点护手霜。之后就到窗口和面试官面谈,就和银行的窗口一样,大约 阅读全文
posted @ 2012-06-29 09:56 Len3d 阅读(5370) 评论(0) 推荐(0) 编辑

2012年6月22日

摘要: * Distribute tasks in a round-robin fashion.* Required APIs:void task::spawn_root_and_wait(taks&);void task::spawn(task&);void task::spawn_and_wait_for_all(task&);Depth-first execution: * Strike when the cache is hot. The deepest tasks are the most recently created tasks, and therefore a 阅读全文
posted @ 2012-06-22 21:33 Len3d 阅读(566) 评论(4) 推荐(0) 编辑

2012年6月6日

摘要: UDP Multicast example:http://ntrg.cs.tcd.ie/undergrad/4ba2/multicast/antony/example.htmlHow to multicast over TCP/IPhttp://www.ibiblio.org/pub/linux/docs/howto/other-formats/html_single/Multicast-HOWTO.htmlLinux Socket Multicasthttp://www.tenouk.com/Module41c.html 阅读全文
posted @ 2012-06-06 13:28 Len3d 阅读(545) 评论(3) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 30 下一页