1 / 14

Fire rendering

Fire rendering. For game development in Unity3D. Goal. Achieve close to realistic fire in a Unity Game. Limitations. Optimized for fast real-time rendering Low-end computers should be able to run it. Article : ”GPU Gems ” book. 3 particle systems

gannon
Download Presentation

Fire rendering

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Fire rendering For game development in Unity3D

  2. Goal • Achieveclose to realistic fire in a Unity Game Limitations • Optimized for fast real-timerendering • Low-end computers shouldbeable to run it

  3. Article: ”GPU Gems” book 3 particle systems Total of 3000 simple particles Slow and ugly GPU Gems: Fire rendered real-time using thousands of particles

  4. Simple particles: Otheruses? Flamethrower? 3 particle systems Total of ~50 simpleparticles 3 particle systems Total of ~50 texturedparticles

  5. Using the video textureparticles Article: Video particles • Howmanyframes in total? • Actual video footageoranimated? Using the frames given:

  6. Improvingeffect Article:Rotate the particle animations for more variation I thought it lookedstrange to have lickingflamesmove sideways… so…

  7. Creatingspecializedparticle systems • - Movesslightlyupwards • Does not changesize • Onlyplacedonground • Randomlymovessligtly • in all directions • - Expands in size • May moveconsiderablysideways • Expands in size • Placednearedge of fire • Semi-transparent

  8. Result of replica Severalparticle systems Randomplacing All animations rotated 4 times Randomplacing Specialized systems 50-100 particles per fire.

  9. Remake fire animation Using a Maya Fluids tutorial to make fire: Tutorial Result

  10. Rendering an animation Bursting fire Continual fire 2480 x 4400 JPEG 1,12 Mb 1327 x 2262 JPEG 1,15 Mb Optimization: Removal of blackness: - Difficult - Not worth it in kb! - Don’t bother!!

  11. New result Using20 particles of 50 frameanimations

  12. Comparison Single particle 3-particle system Real footage 3 fires Total ~20 particles

  13. Conclusion • Thousands of simple particles • Slow to render real-time • Hard to make it look good • Tinyparticletexture file • Lowqualityresult • Fewhighqualityparticles • Time consuming to develop • Fast to render • Highqualityresult • Large particletexture file • Requires software to create the images (Maya Fluids orsimilar)

  14. Extension Check out the explosion asset package at unity3d.com !! • Explosions • Texturedparticles • Texturedtrailrenderer (particles) • Shockwave • Post-processingeffect / customshader • Heat shimmer • Post-processingeffect / customshader

More Related