$40
HW4
Goal
1. Make a 20 ̴45 seconds video.
First 10 ̴30 seconds for playing the video.
Last 10 ̴15 seconds for introducing the features of the video and technique you have used.
2. Theme : Explosion
3. Must include
(1). At least an object
(2). The states before explosion and after explosion
*Use GLSL to do this homework, otherwise you’ll get zero points.
Recording tools
1. Screen recording : OBS : https://obsproject.com/
2. Introduce your video :
(1). PowerPoint
(2). Other video editing tools
Something you can do
Ex :
1. Particle system
2. Camera movement
3. Find resources (models, textures,…..) on the internet
4. Other creative ideas…
Particle system example
You can define a particle with:
1. Position: The particle’s position
2. Speed: The particle’s speed
3. Fade: The time step of particle’s fading
4. Life: The life of the particle
Life = Life – Fade
If Life < 0
The life cycle of the particle is end, reset the particle.
Particle system example
1. Initialize your particles.
2. You can use some random value for the speed of each particle.
Particle system example
1. After initializing the particle system, send the particles’ initial positions and life into the shader by the method used in HW2 and HW3.
2. Use the same method used in HW2 and HW3 to display the particles.
Draw the particles in points :
glDrawArrays(GL_POINTS, 0, 20000);
Particle system example
In fragment shader, you can give the particle different colors according to the particle’s life.
Particle system example
Remember to update the particles’ life and positions each frame. And resend them to the VBO.
Particle system example
1. Because this is just a rough implementation written by TA,
(Just some flying points…not really an explosion) you can’t get the high score by totally using the same method with this particle example.
2. Try to use some technique about adding textures, handling multiple particle systems, particle physics ...
3. Make a good story for your explosion video to get higher votes.
Score
1. Creativity (20%)
2. Richness (20%)
3. Integrity (30%)
4. Votes from classmates (30%)
(We will provide a Google sheet and let you choose 5 best videos )