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
Materi Memahami konsep particle dalam grafika komputer Membuat program sederhana simulasi fisik
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.
Contoh
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.
Bagaimana Membuatnya?
Coding
Coding
Membuat Particle Fountain
Membuat Particle Fountain
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