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.
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list