Lesson 19 Particle Engine Using Triangle Strips

原创文章,转载请注明: 转载自慢慢的回味

本文链接地址: Lesson 19 Particle Engine Using Triangle Strips

Have you ever wanted to create an explosion, water fountain, flaming star, or some other cool effect in your OpenGL program, but writing a particle engine was either too hard, or just too complex? If so, this tutorial is for you. You’ll learn how to program a simple but nice looking particle engine. I’ve thrown in a few extras like a rainbow mode, and lots of keyboard interaction. You’ll also learn how to create OpenGL triangle strips. I hope you find the code both useful and entertaining.本作品采用知识共享署名 4.0 国际许可协议进行许可。

Lesson 18 Quadrics

原创文章,转载请注明: 转载自慢慢的回味

本文链接地址: Lesson 18 Quadrics

This tutorial code was written by GB Schmick the wonderful site op over at TipTup. It will introduce you to the wonderful world of quadrics. With quadrics you can easily create complex objects such as spheres, discs, cylinders and cones. These object can be created with just one line of code. With some fancy math and planning it should be possible to morph these objects from one object into another. Please let GB Schmick know what you think of the tutorial, it’s always nice when visitors contribute to the site, it benefits us all. Everyone that has contributed a tutorial or project deserves credit, please let them know their work is appreciated!本作品采用知识共享署名 4.0 国际许可协议进行许可。

Lesson 16 Cool Looking Fog

原创文章,转载请注明: 转载自慢慢的回味

本文链接地址: Lesson 16 Cool Looking Fog

This tutorial code was generously donated to the site by Chris Aliotta. It based on the code from lesson 7, that why you’re seeing the famous crate again 🙂 It’s a pretty short tutorial aimed at teaching you the art of fog. You’ll learn how to use 3 different fog filters, how to change the color of the fog, and how to set how far into the screen the fog starts and how far into the screen it ends. Definitely a nice effect to know!本作品采用知识共享署名 4.0 国际许可协议进行许可。