Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Soft Particle demo

Sign in to follow this  


Since I really don't know is this right place (I meant t[font="Arial"]he journal) to post this I'll just post it here.
This code demonstrate soft particles in case anyone needs it, and is based on Frank Luna's "Fire Ring" demo from his book [size="2"]"[size="2"]Introduction to 3D Game Programming with Direct X 9.0c: A Shader Approach". In "particles.fx" there is demonstration of these calculations based on depth difference between object and particle, same shader [size="2"]also demonstrate billboard with scale matrix, "sky.fx" demonstrate projection on hemisphere to avoid "pinching" of texture on poles, and "FireRingDemo.cpp" besides usual setup contains setup for rendering targets and rendering itself. Since I'am not comfortable with distribution of someone else code, although [size="2"]I have [size="2"]permission from Frank Luna, in zip file bellow are included exe, shaders and art, and [size="2"][size="2"]"FireRingDemo.cpp" wich must be included since setup is done there.
[/font][size="2"][font="Arial"]Is should work if you have code from his book and paste[/font][font="Arial, Helvetica, sans-serif"] these files in "Fire Ring" demo, if not you can always study code.[/font]
[font="Arial, Helvetica, sans-serif"][size="2"]Movement is W_A_S_D + cursor.[/font]
[font="Arial, Helvetica, sans-serif"] [/font]

Link to screenshots: https://www.gamedev.net/gallery/album/168-soft-particle-demo/

[font="Arial, Helvetica, sans-serif"] [/font][font="Arial, Helvetica, sans-serif"][size="2"]P.S. code (written by me) is free to whatever purpose you like.FireRing.zip[/font]
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!