Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Particle System using GPU and Direct3D 10

Loading...

Sign in or sign up now!
1,139
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 24, 2009

Particle System implemented on Direct3D 10 and running entirely on GPU. All what CPU does is switching render targets and setting shader variables. Particle data is stored in two textures: one for position, one for velocity. Additional pair of them is created to perform double buffering.

256x256 texture handles 65536 particles without any visible load on CPU, all job is done on GPU. Particle vertices are generated by Vertex Shader, expanded to two triangles in Geometry Shader and rendered in Pixel Shader.

Application was created just for educational purposes, to learn how to drive Direct3D 10.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • Checkout my youtube profile to checkout anwer to your question. I think you will got quite good image.

  • do u make video games or particle simulations or medical research, etc?

  • yes

  • oh ok then another question, did u code it in c++

  • I'm afraid it was lost after last system reinstallation.

  • can u send me the source code? if u still have it

  • I read documentation of DX10. It has different interface that DX9 but the idea is same.

    Idea of particles is just most basic application of newly introduced geometry shaders. This was quite obvious : )

    Some time learning how to use DX, shaders, a few BSOD during developing time and you can see the results above. Yes BSOD, drivers were very poor that time.

  • how did u learn how to do this and do know how to use dx 11

  • this is a result of my experimients with new features of DX10

  • did u make that or did u download it

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more