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

About this blog

mytre's Journal

Entries in this blog


Thousand apologies

I've just realized what I've done, I've uploaded files without main file "FireRingDemo.cpp" . Thousand apologies to whoever have downloaded zipfile from previous entry. I am attaching "FireRingDemo.cpp" here.




Soft Particle demo

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.[/font]




Nice Job!

Thanks to gamedev.net for enabling blogging here.



Sign in to follow this  
  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!