Sign in to follow this  

Pencil drawing radiosity lightmap generator released.

This topic is 4378 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

exe & delphi 6 source code: Run only in 32bpp windows desktop colordepth! screenshot: RADIOSITY Idea: Each poligon have: 1) lmap:array[0..leveldim-1] of TBMP; - Ligtmap 2) tmap:array[0..leveldim-1] of TBMP; - Texturemap 3) imap:array[0..leveldim-1] of TBMP; - Indexmap tmap loaded/filled with color lmap generated with DistributeLight procedure imap generated with MakeIndex procedure - Parallel projections used to generate lightmaps glOrtho,glReadPixels(...,rptrP),glReadPixels(...,rptrN) - Z-buffer data for attenuation (length between patches) glReadPixels(...,@ZBufP),glReadPixels(...,@ZBufN) gluLookAt(eye , eye + normal, perpvec) <-> rptrP,ZBufP gluLookAt(eye , eye - normal, perpvec) <-> rptrN,ZBufN Any ideas are welcome!

Share this post

Link to post
Share on other sites
Sign in to follow this