I have an application which does some sort of simulation and the resulting vertex modification are rerendered using transform feedback. The performance is fairly good I get approx. 1000 fps on a 1024x768 screen with about 2500 particles each modifiable in realtime by mouse interaction.
Now I want to know
- if it is possible to use transform feedback along side a CUDA kernel? If so how do i do the synchronization of my vbos btw the opengl device and the cuda device? Would this synchronization of vbos cause delays? Any reference on this would be appreciated.
- Lets say I want to try the same calculations that I m currently doing in my vertex shader with transform feedback in CUDA would i give me the same performance? Does cuda have a mechanism like transform feedback or do i need to manually handle the vbos myself. Again any reference would be appreciated.