ATI released OpenCL SDK with hardware support

Discussions related to GPU Acceleration in LuxRender

Moderators: Dade, jromang, tomb, coordinators

Re: ATI released OpenCL SDK with hardware support

Postby Chiaroscuro » Thu Jan 21, 2010 1:33 pm

mitchde wrote:[...]Reading scene: private-scenes/bulletphysiks.scn[...]
I'm guessing because the scene file is looking for files in "scene" and you put them in a directory called "private-scenes" instead?

Edit: Oh, and re: your question. It's Bullet Physics, completely free and open source (MIT license) physics engine for all platforms. I used a combination of custom C++ code, the bullet physics engine, Blender 2.5 and Python, all in a hard coded quick and dirty style.
Last edited by Chiaroscuro on Thu Jan 21, 2010 2:49 pm, edited 1 time in total.
Chiaroscuro
Developer
 
Posts: 858
Joined: Thu Jan 21, 2010 10:46 am

Re: ATI released OpenCL SDK with hardware support

Postby jensverwiebe » Thu Jan 21, 2010 1:34 pm

This scene files (bullet*) crashs smallluxGPU-v1.1beta2_OSX_64bit OS X version
Reading scene: private-scenes/bulletphysiks.scn


Thats wrong !!!! Runs fine. :)

You misuse it, right command: ./smallluxgpu 1 4 0 1 0 640 480 scenes/bulletphysics.scn
You see, files must be draggged in "scenes". Path is hardcoded in .scn, just take a look inside the files next time.

Jens
Attachments
bulletphysics.jpg
on OSX....
User avatar
jensverwiebe
Developer
 
Posts: 3429
Joined: Wed Apr 02, 2008 4:34 pm

Re: ATI released OpenCL SDK with hardware support

Postby Chiaroscuro » Thu Jan 21, 2010 1:47 pm

Dade wrote:
Chiaroscuro wrote:Awesome work Chiaroscuro :o :D :o

Like you write: "The OpenCL fun appears to be just beginning!". You may be interested to hear we have planned to write the part of Luxrender dedicated to OpenCL acceleration as an open source component reusable for other projects: http://www.luxrender.net/wiki/index.php?title=LuxRays

I understand your problems with the static accelerator of SmallLuxGPU. But, if there is interest, I can look a bit into the problem. It wasn't thought for that kind of applications at the beginning but I love what I have seen in your video and I would like to experience it in real time :D
Thanks! Don't worry about supporting animations inside the engine for now, as long as we can get the host to export easily... although a batch mode (with switches for: desired total passes, max time and optional GUI) would go a long way... ;)

Thank you for the great work you've done!
Chiaroscuro
Developer
 
Posts: 858
Joined: Thu Jan 21, 2010 10:46 am

Re: ATI released OpenCL SDK with hardware support

Postby vildanovak » Thu Jan 21, 2010 2:48 pm

Dade, luxrays is an awesome idea!
I guess this can help a lot of other opensource renderers in future.
I thought in similar direction, but didnt expect you would come with such great decision so soon!
vildanovak
 
Posts: 53
Joined: Sat Dec 19, 2009 6:45 am

Re: ATI released OpenCL SDK with hardware support

Postby erwincoumans » Thu Jan 21, 2010 3:45 pm

jensverwiebe wrote:Thats wrong !!!! Runs fine. :)


That is very cool! We are preparing to integrate OpenCL in the core of Bullet 3.x, and this would be a great demo to combine both.

I hope to look into this further soon.
Thanks,
Erwin
http://bulletphysics.org
erwincoumans
 
Posts: 1
Joined: Thu Jan 21, 2010 3:41 pm

Re: ATI released OpenCL SDK with hardware support

Postby mitchde » Fri Jan 22, 2010 12:58 am

Thanks for all who helped with my crash (1. typo in name + wrong folder) !
Now working !
SOme other results (of the OS x version from jens) may found here (german only), Until now only an ATI 4870 Mac has posted his values.
http://www.render2reality.de/cpu+gpu_4.jpg
MAcPro (XEON 4 core ) . He get most ray/sec doing mixed GPU+CPU 1900, GPU only 1050, CPU only 1500
But nice, because most (also Apple OpenCL Demos) make much trouble / crash with ATI gpu on OS X.
http://www.maclife.de/forum/viewtopic.php?f=11&t=62436 (sorry, but german only)
mitchde
 
Posts: 256
Joined: Fri Dec 25, 2009 2:13 am

Re: ATI released OpenCL SDK with hardware support

Postby Dade » Fri Jan 22, 2010 11:13 am

Chiaroscuro wrote:Attached is a quick test image I just made with SmallLuxGPU-v1.1beta2 (11K tris). Also attached is the scene file if anyone is interested.


I'm going to include this scene in the next SmallLuxGPU release, I hope it is fine for you :?:
User avatar
Dade
Developer
 
Posts: 8404
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: ATI released OpenCL SDK with hardware support

Postby Chiaroscuro » Fri Jan 22, 2010 4:24 pm

Dade wrote:I'm going to include this scene in the next SmallLuxGPU release, I hope it is fine for you :?:
Yes, sure. Thanks.
Chiaroscuro
Developer
 
Posts: 858
Joined: Thu Jan 21, 2010 10:46 am

Re: ATI released OpenCL SDK with hardware support

Postby Dade » Sat Jan 23, 2010 6:03 am

A new version with support for batch rendering is available here: http://davibu.interfree.it/opencl/small ... 2beta1.tgz

The command line arguments look like:

./smallluxGPU 1 8 0 1 64 640 480 30 scenes/luxball.scn

Where "30" is the number of seconds after what the rendering will stop. The output is always written in the image.ppm file.
User avatar
Dade
Developer
 
Posts: 8404
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: ATI released OpenCL SDK with hardware support

Postby jensverwiebe » Sat Jan 23, 2010 9:46 am

Hey Dade:

smallLuxGPU builded fine on OSX again ( with my flags ) and seems to give slightly higher rays/sec now.

Jens
User avatar
jensverwiebe
Developer
 
Posts: 3429
Joined: Wed Apr 02, 2008 4:34 pm

PreviousNext

Return to GPU Acceleration

Who is online

Users browsing this forum: No registered users and 1 guest

cron