Jump to content
  • Advertisement
Sign in to follow this  
tmtlib

Pencil drawing radiosity lightmap generator released.

This topic is 4691 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: http://www.geocities.com/tmtlib/download.html 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!