Not logged in, Join Here! or Log In Below:  
News Articles Search    

Submitted by Tom Nuydens, posted on January 05, 2000

Image Description, by Tom Nuydens

The lightmaps in this screenshot were created using RPI (Radiosity Preprocessor Interface). The RPI is basically an API that does nothing more than create lightmaps. You can feed it some polygons, tell it where the light sources are, and set some other parameters. Then you tell it to calculate the lightmaps. When this is done, you receive a bunch of pointers to raw image data, which you can then save in any format you want. Because we're talking about an API, you can reuse the same lighting code for multiple projects.

I wrote the whole thing using Delphi, but since it's a DLL, anyone should be able to use it. Note that the project is still in its early stages - the current version doesn't actually use radiosity yet, but you can use it for simple point lights and spotlights. You can get RPI, with complete source and documentation, from my site at

Tom Nuydens

Image of the Day Gallery


Archive Notice: This content is archived, and commenting is no longer active. It is here for reference purposes. This content was added on an older version of flipcode, before the site closed in 2005.
Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.