摘要:
[代码] 阅读全文
posted @ 2010-04-15 16:19
Len3d
阅读(447)
评论(1)
推荐(0)
|
摘要:
[代码] 阅读全文
posted @ 2010-04-15 16:19
Len3d
阅读(447)
评论(1)
推荐(0)
摘要:
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
阅读(210)
评论(3)
推荐(0)
摘要:
In computer science, the producer-consumer problem (also known as the bounded-buffer problem) is a classical example of a multi-process synchronization problem. The problem describes two processes, th... 阅读全文
posted @ 2010-03-25 13:00
Len3d
阅读(549)
评论(1)
推荐(0)
摘要:
http://beej.us/guide/bgnet/output/html/multipage/index.html 阅读全文
posted @ 2010-03-23 00:19
Len3d
阅读(207)
评论(3)
推荐(0)
摘要:
The next five calls implement a layer on top of standard memory allocation. They allow to allocate special block arenas from which memory is allocated. All blocks in a block arena have the same size t... 阅读全文
posted @ 2010-03-15 13:00
Len3d
阅读(325)
评论(0)
推荐(0)
摘要:
Database Module (DB)IntroductionThe database is a common repository for data. The most important application is the scene data, but it can keep auxiliary data such as function declarations and frame b... 阅读全文
posted @ 2010-03-15 12:31
Len3d
阅读(396)
评论(1)
推荐(0)
摘要:
There are three types of inputs and outputs in a shader: uniforms, attributes and varyings. Uniforms are values which do not change during a rendering, for example the light position or the light colo... 阅读全文
posted @ 2010-02-26 17:01
Len3d
阅读(1150)
评论(5)
推荐(0)
摘要:
1. Move depth controlling code out of RayEngine. --Done2. Convert the implementation of RayEngine from FileReader based into DataArray based. --Done3. Use single-linked list to optimize sample_list.pu... 阅读全文
posted @ 2009-12-25 10:50
Len3d
阅读(496)
评论(16)
推荐(0)
摘要:
scene FastRay RayInterface mental ray num. polygonsgeneral_03 21 sec 53 sec 4 sec 1190400general_04 1 min 10 sec 3 min 18 sec 20 sec 4761600general_05 2 m... 阅读全文
posted @ 2009-12-21 12:36
Len3d
阅读(296)
评论(2)
推荐(0)
|