We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionGeneral Discussion,  Status › GPU Rendering is awesome ! Could p5 use it
Page Index Toggle Pages: 1
GPU Rendering is awesome ! Could p5 use it ? (Read 2231 times)
GPU Rendering is awesome ! Could p5 use it ?
Jan 30th, 2010, 4:13am
 
There are this new generation renderers that use the GPU instead of ( or toghether with ) the CPU


The rendering times are ridiculous.  what before took many minutes or even hours now takes just seconds  Cheesy


Could Processing use also GPU to render

here are some examples :

http://www.refractivesoftware.com/videos.html

and Luxrender an open source renderer is using OpenCL :

http://www.luxrender.net/wiki/index.php?title=Luxrender_and_OpenCL
http://www.youtube.com/watch?v=33rU1axSKhQ

http://www.youtube.com/watch?v=YlGVitBaaHE
Re: GPU Rendering is awesome ! Could p5 use it ?
Reply #1 - Jan 30th, 2010, 8:26am
 
Quote:
Could Processing use also GPU to render ?


Isn't that the case in OPENGL mode already?
Re: GPU Rendering is awesome ! Could p5 use it ?
Reply #2 - Jan 30th, 2010, 9:06am
 
OpenGL does some rendering on the GPU, of course, but the GPGPU trends (OpenCL) goes beyond that, eg. doing ray-tracing as shown in Luxrender, or computing physics or graphs, like shown in Yaniv Frishman homepage.
It is a fact that modern GPUs have more horsepower than most CPUs... at least in a specialized way.
Re: GPU Rendering is awesome ! Could p5 use it ?
Reply #3 - Jan 30th, 2010, 10:24am
 
so could be used ?
Re: GPU Rendering is awesome ! Could p5 use it ?
Reply #4 - Jan 31st, 2010, 8:13am
 
yes it can, and have been used:

http://www.pixelnerve.com/v/2009/10/30/opencl-4-java/

look into OpenCL4Java and JOCL for more information. there are new updates, but i havent tried anything yet. hope it works for you.

have fun.
Page Index Toggle Pages: 1