Make the graphic card work !
Hello all !
I am working in an Open Gl project, with sound, with Pmpd stuffs and mc.pmpd, and video.
My fps render is about 9 images per second.
It's pretty weak !
When you see the pd patch of Cyrille Henry for instance (vivarium), he can work with 50fps (and it does work on my laptop).
Apparently he makes the graphic card work, much more than the process ! When you compare the frequency of a CPU, it's pretty weak in comparaison of a graphic card !
How can you make it in max Msp ? I'd like to knwow if, when you use the open gl protocol, is this your cpu or your graphic card which does the job ? When you use a texture ?
Is this possible to make the graphic card calculate the (x;y;z) coordonate from pmpd massES, mc.pmpd ? It demands a lot of CPU power...
Thx, and excuse my english !
Ad.
Hello Ad,
It would be great to see the patch to tell you something...
Could you use copy compressed (edit menu) and put it on line?
To make pmpd and mc.pmpd externals work on the graphic processor you should ask Cyrille and Mathieu but i think this is not possible yet...
Cheers
Hubert
You can not currently run externals on the gpu, but maybe in the future with something like nvidea's CUDA or the physics chips that are in some of modern graphic cards. You can do graphics card calculations using GLSL and CG shader programming with the gl.shader and slab objects, and there are some examples in the shaders that come with jitter, but I dont know enough about it to tell you more information. Maybe someone else can step in?
Ok !
I've looked at slab object, apparently it's very useful when you want to play movie(s)...
When opengl.gridshape or opengl.sketch are in process it must already use your GPU, doesn't it ?
According to my fps, the CPU must be working too ! And must slow the fps... although the GPU could make the job perfectly !
Ad