[PD] gem list operations on the gpu

marius schebella marius.schebella at gmail.com
Sun Apr 19 11:47:15 CEST 2009


Sebastian Saa wrote:
> Hello, is it possible to run gemlist operations on the gpu? im 
> experimenting with recursive structures in gem , i cannot have to much 
> recursions because my computer become slow, so i was thinking if its 
> posible to make those calculations on the gpu, is this possible?

hi sebastian,

it depends on what exactly you're trying to do. it is possible to 
calculate a recursive structure once and then upload it to the GPU using 
a displaylist. basically you are creating a geometry that you can access 
like a model. have a look at the example in 
examples/GEM/09.OpenGL/02.displaylist.pd
But this will not help you, if the recursion needs to be recalculated 
for every frame. for this you could use vertex shaders (again, depending 
on what you're trying to achieve). with the upcoming GEM release and if 
your gfx card supports it, it should also be possible to use geometry 
shaders as well.

the other options are pdlua (with luagl) or writing your own GEM object...

marius.




More information about the Pd-list mailing list