Re: [osg-users] Suggestion for Cuda + OSG, smooth particle hydrodynamic

2011-10-25 Thread J.P. Delport
Hi, On 23/10/2011 04:25, brian tse wrote: Hi, I am very new to CUDA and OSG, please accept my apologies if this is a stupid questions. I am trying to build SPH algorithm using Cuda to calculate the particle forces and update its position. I would like to ask is there a way in Cuda to pass the

Re: [osg-users] Suggestion for Cuda + OSG, smooth particle hydrodynamic

2011-10-25 Thread brian tse
Hi, Thank you very very much for your reply. I will post the algorithm up once I got it up and running. From your suggestion, at least now I have a better direction to search for the solution. I can't really do the CUDA inside the osg loop, mainly because i need the cuda to run as fast as

[osg-users] Suggestion for Cuda + OSG, smooth particle hydrodynamic

2011-10-23 Thread brian tse
Hi, I am very new to CUDA and OSG, please accept my apologies if this is a stupid questions. I am trying to build SPH algorithm using Cuda to calculate the particle forces and update its position. I would like to ask is there a way in Cuda to pass the position array to OSG without doing a