len3d

  博客园 :: 首页 :: 联系 :: 订阅 订阅 :: 管理
  219 Posts :: 0 Stories :: 370 Comments :: 0 Trackbacks

公告

04 2010 档案

摘要: When rendering hair with the raytracer, mental ray uses the ray origin to generate a temporary, flat surface which is as ray-facing as possible while lying on the hair axis. A corresponding normal is ...阅读全文
posted @ 2010-04-23 21:28 Len3d 阅读(289) | 评论 (13) 编辑

摘要: [代码]阅读全文
posted @ 2010-04-15 16:19 Len3d 阅读(188) | 评论 (1) 编辑

摘要: atomic:if (num_pinned == 0 && ptr != 0){ swap(ptr, 0);}struct { void *ptr; Intptr num_pinned;};p = ptrif (p != NULL){ e = [p 0x00000000] result = [NULL 0x00000000] if (CAS(&ptr, e, result)...阅读全文
posted @ 2010-04-08 00:34 Len3d 阅读(59) | 评论 (3) 编辑