Presentasi sedang didownload. Silahkan tunggu

Presentasi sedang didownload. Silahkan tunggu

Program Studi S-1 Teknik Informatika FMIPA Universitas Padjadjaran

Presentasi serupa


Presentasi berjudul: "Program Studi S-1 Teknik Informatika FMIPA Universitas Padjadjaran"— Transcript presentasi:

1 Program Studi S-1 Teknik Informatika FMIPA Universitas Padjadjaran
COMPUTER GRAPHICS D10K-5C01 GK13: Particle System Dr. Setiawan Hadi, M.Sc.CS. Program Studi S-1 Teknik Informatika FMIPA Universitas Padjadjaran

2 Materi Memahami konsep particle dalam grafika komputer
Membuat program sederhana simulasi fisik

3 Apakah Particle System ?
A particle system is basically just a bunch of tiny particles moving around according to simple rules. Particle systems are useful for simulating certain phenomena, such as sparks, fire, explosions, and snow. With particle systems, it's relatively simple to make various good-looking effects.

4 Contoh

5 Bagaimana Membuatnya? Use alpha channels. Basically, alpha channels let us give each pixel in an image a particular transparency. Each pixel in the image will have not only a red, green, and blue component, but also an alpha component indicating its opacity. Using two separate image files to store our texture: one to store the red, green, and blue components of the pixels in the image, and one to store the alpha components of the image, using a grayscale image. The grayscale image is our alpha channel. A white pixel in the image indicates an alpha value of 1, while a black pixel indicates an alpha value of 0.

6 Bagaimana Membuatnya?

7 Coding

8 Coding

9 Membuat Particle Fountain

10 Membuat Particle Fountain

11

12 Tugas 3 Ambil program particlesystem.zip dan install-kan pada Visual Studio Modifikasi (enhance) program tersebut, cobalah fungsi-fungsi transformasi lainnya Gunakan kuriositas dan kreativitas anda Tuangkan dalam tulisan apa yang anda kerjakan dan submit hasilnya (dalam Word) ke e-Learning sebagai Tugas OpenGL3


Download ppt "Program Studi S-1 Teknik Informatika FMIPA Universitas Padjadjaran"

Presentasi serupa


Iklan oleh Google