POPPUR爱换

 找回密码
 注册

QQ登录

只需一步,快速开始

手机号码,快捷登录

搜索
查看: 1897|回复: 3
打印 上一主题 下一主题

OpenCL path tracer / ray tracing demo using the AMD OpenCL Beta SDK

[复制链接]
跳转到指定楼层
1#
发表于 2009-12-24 11:25 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
http://davibu.interfree.it/opencl/smallptgpu/smallptGPU.html

SmallptCPU vs SmallptGPU

Written by David Bucciarelli

SmallptGPU is a small and simple demo written in OpenCL in order to test the performance of this new standard. It is based on Kevin Beason's Smallpt available at http://www.kevinbeason.com/smallpt/. SmallptGPU has been written using the ATI OpenCL SDK beta4 on Linux but it should work on any platform/implementation (i.e. NVIDIA). Some discussion about this little toy can be found at Luxrender's forum

A video of SmallptGPU is available here: http://vimeo.com/8013005 (the old low quality version is available here: http://vimeo.com/8013005)


Key bindings

  • 'p' - save image.ppm

  • ESC - exit

  • Arrow keys - rotate camera left/right/up/down

  • 'a' and 'd' - move camera left and right

  • 'w' and 's' - move camera forward and backward

  • 'r' and 'f' - move camera up and down

  • PageUp and PageDown - move camera target up and down

  • ' ' - refresh the window

  • 'm' - starts to record a movie in binary format (it can be decoded with the decodemovie utility)

  • 'l' - enable/disable indirect diffuse path (available only on CPU version because a bug of ATI's compiler)

  • '+' and '-' - to select next/previous object

  • '2', '3', '4', '5', '6', '8', '9' - to move selected object

下载: smallptgpu-v1.3.tgz (includes sources, Linux 64bit binaries and Windows 32bit binaries)

2#
发表于 2009-12-24 12:29 | 只看该作者
回去试试
回复 支持 反对

使用道具 举报

tangboyun 该用户已被删除
3#
发表于 2009-12-24 15:30 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

tangboyun 该用户已被删除
4#
发表于 2009-12-24 16:10 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

广告投放或合作|网站地图|处罚通告|

GMT+8, 2025-2-11 00:54

Powered by Discuz! X3.4

© 2001-2017 POPPUR.

快速回复 返回顶部 返回列表