Impostors in Irrlicht

Maybe you've seen this already, but something I personally like, Impostors implemented in Irrlicht, hundreds of quake 3 levels! :)

Bitplane wrote this and is still working on it, quite nice.

six comments, already:

Hey, nice work there.
Steve () (link) - 23 07 08 - 20:41

I’ve been avoiding rewriting this for several months, there’s some big issues to tackle..
Firstly texture management, there’s a lot of wasted space at the moment and because all impostors of a certain size share the same texture and buffer, the smaller ones are sometimes behind the larger ones. It needs some kind of maintenance task to sort them by distance, and to have different sized impostors sharing the same textures (ouch!). Also because of the lack of mip-maps, moving away from something causes unnecessary pixelation.
Secondly, the projection of the billboards. If I project based on the current view there is perspective distortion going on for ones which intersect the screen frustum. If I point the render cam at the nodes then the change between impostor and real node is obvious when far from the centre of the screen.
Then there’s that horrible popping. I only render a few impostors each frame, so if you’re moving around a lot the render queue becomes large and you can see the impostors changing or popping in to existence. It really needs a nice smooth fade/morph transition between the different LOD levels and viewpoints.
Finally, lighting. Lit objects look horribly flat at the moment, where the hardware supports shaders I’ll also render to normal maps, in old hardware and the software drivers regeneration needs to take lights into account.
No promises for a time for iteration 2, best guess would be around Irrlicht 1.6 :)
Gaz (link) - 23 07 08 - 21:49

Those look to be quake 1 (not 3) environments?
Castaa () (link) - 23 07 08 - 23:47

The map is the default one that comes with Irrlicht. It’s called “Return to Castle: Quake” by Michael Cook and was created in Q3Radiant as a mod for Quake III Team Arena.
Gaz () (link) - 24 07 08 - 02:37

Wow, Really nice work Bitplane! Is that a patch/addons to the engine? Or can this be added as simple includes for a project?
I wouldnt mind using that to gererate tons of trees! :-)
christianclavet () (link) - 27 07 08 - 00:01

If that could work also on animated meshes, we could create a whole army of characters! (Or having trees that move with a simulated wind)
christianclavet () (link) - 27 07 08 - 00:04

Remember personal info?
Email (optional):
URL (optional):
Enter "layered" (antispam):
Comment:Emoticons / Textile

  ( Register your username / Log in )

Notify: Yes, send me email when someone replies.  

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.
Note: If you type in your email adress above, it will be visible to other visitors, although it will be hidden for bots using javaScript.