Fireflies - Scalable Ambient Effects

Scalable Ambient Effects (Fireflies)

Fireflies is a tech sample demonstrating a scalable ambient effect. In this sample, the ambient effect is a swarm of fireflies that scatter and reform into a walking character. Using Intel TBB, the firefly flight trajectory calculations performed per frame are distributed across multiple threads. By changing the number of simulated fireflies programmatically the ambient effect can be scaled to better match the performance of the platform it is running on.

Download Source Code

Download Binaries

Fireflies Video (larger screen)


Read:
Scalable Ambient Effects
Blog Post: Multithreaded, Man Explodes Into Fireflies!

Video & Screenshots

Fireflies_screenshot1_web.jpg

Fireflies flock to form a walking character

Fireflies_screenshot2_web.jpg

Fireflies scatter and flock

Fireflies_screenshot3_web.jpg

The sample can run in multithreaded as well as serial mode to better see the performance benefit of multithreading an ambient effect.

What is it?

System Requirements

  1. CPU: Dual core or better (Intel® Core™ i5 or better suggested)
  2. GFX: DX9c capable graphics card
  3. OS: Microsoft Windows Vista* or Microsoft Windows 7*
  4. MEM: 2 GB of RAM or better
  5. Software:
    1. DirectX SDK (June 2010 release or later)
    2. Build with Microsoft Visual Studio 2008* w/SP1 or Visual Studio 2010*

* Other names and brands may be claimed as the property of others.

Additional Code Samples

Intel Visual Adrenaline

A Scalable 3D Particle System

Download PDF

Benefits of SIMD

Download PDF

Visual Adrenaline

Download PDF

Intel Tools for Unreal Developers
TBB for Unreal Engine

Related Links

Visual Computing Home

Intel® Technologies

Sandy Bridge
Graphics
Parallel Programming

Focus Areas

Game Development
Artist/Animator
Media

Develop

Tools
Code

Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.