OpenGl 3D Effect
|File size:||215 KB|
Publisher description for OpenGl 3D Effect
It's a nice effect of crumbling (I don't know if it's the correct word) in 3D. It simply takes a picture and decomposes it in tiny particles (their size can be specified) I'm sorry, it's difficult to explain it in english... ;) see the screenshot... The camera's rotation isn't activated. To activate it, just uncomment the line 59 of the "camera.cpp" file. To change the particles size, change the last parameter on line 96. 1 = 1 pixel (values that can be used : 1, 2, 4, 8, 16, 32, 64, 128, 256 --> max because the image size is 256*256) All the comments are in french (sorry for others, i don't have the time to translate it) but it may be usefull just to see a way of doing this effect. There are certainly a lot of errors (the program runs fine), I mean there are betters ways of coding it, I'm a beginner in c++ (I just did the jump from VB) so if you find an other way of doing something or you want to say something, leave a comment ! I would really appreciate it. tkx and happy coding !