Anti-Aliased Image Rotation (Aarot)
Image rotation isn't as straightforward as it may appear, especially when faced with the fact that, although small, a pixel is not a point. In fact, it's a 1 x 1 square, which leads to the question of how best to rotate it. Some algorithms will ingore this idea altogether and treat a pixel like a point. Others will do an artificial zooming on the image to make the smallest unit of color even smaller so the aliasing won't be as evident. However, it is possible to rotate a pixel as a square, and Aarot does it.
Cel-Shading
Cel-Shading is the "art" of rendering your objects to look like cartoons. Various cartoon effects can be achieved with very little modifications to the original source code. You can have anime effects, as seen in DragonballZ or Gundam, or "classic" ...
Creating Faked Fog
.K., some friends asked me how I created the fog in our latest demo "Netherworld" and as it's neither a secret nor a stunning trick I'm gonna describe it here. Today most people will probably use glEnable(GL_FOG), but maybe someone needs it for his 64k intro or whatever. It's quite a compact method, so it could be used for such things. On the other hand it's not the fastest one. And don't forget the title, it's heavily faked. But to bring some atmosphere to a 3d-scene it's o.k. And apart from that, faking rulez. =) Enough blabla, let's start.
Fast metaballs
Metaballs are very popular in computer demos and have been around for a long time. I've always been fascinated by them and the forms they create. In this article I describe briefly how to compute metaballs, but I'm going to focus on an algorithm I came up with that let's you make them fast, very fast.
Particle Systems Tutorial
A tutorial on Particle System in C++. They are a collection of individual particles of smoke (or for that matter any other effect) behaving according to a set of rules. When the (physics) rules mix and match with the particles properties such as velocity, weight, acceleration, etc., it creates wonders. You get a totally realistic effect without much effort.
Oracle Magazine contains technology-strategy articles, sample code, tips, Oracle and partner news, an all-new Oracle Developer section for Java developers, and more.
subscribe now