Jump to content
Posted 22 June 2012 - 12:31 AM
Posted 22 June 2012 - 12:54 AM
For sure you can, but it depends somewhat on your requirements. Basicly you can move them along a precalcualted path (i.e. linear or bezier), the next step would be, to save all vertex data in video memory and update them on the GPU alone. What will be really hard is, if you want to add kind of collision detection with the world.
Im wanting to draw as many particles as i possibly can, so can i somehow create the on the graphics card and update them there instead of doing any calculations on the cpu?
My gut tells me you can, but i dont know for sure lol.
And if you can how in D3D9?
Posted 22 June 2012 - 12:55 AM
Posted 22 June 2012 - 01:11 AM
If you're using Direct3D 9, you should probably stick to the CPU. You can also look into Point Sprites.
If you're using Direct3D 10/11, you can use geometry shaders to create the particles on the GPU.
Posted 22 June 2012 - 04:10 AM
I guess im going to have to start digging in directX 11 *sad face*
Edited by molehill mountaineer, 22 June 2012 - 04:12 AM.
Posted 22 June 2012 - 11:37 AM
Posted 22 June 2012 - 01:38 PM
It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.