Game Development Community

Light map Editing

by Lorne McIntosh · in Constructor · 04/01/2008 (1:04 pm) · 7 replies

Does anyone know how to apply custom pre-baked light maps (baked from an external 3D authoring tool) onto a DIF or DTS file? I had previously considered baking the lighting information directly into the textures but thought that going the route of editing the light maps themselves would give me more control. Unfortunately I cannot find any documentation regarding the manual manipulation or how to even edit light maps and I was hoping someone could point me in the right direction. Thanks!

About the author

Ubiq Visuals is a software and creative content developer for the entertainment industry. Our vision is to provide inspiration and the tools for soon-to-be game designers and creative minds of all ages.


#1
04/01/2008 (2:02 pm)
That's funny that you asked that! We have been discussing that very issue in another thread. I just modified map2dif_plus to do exactly that and was coming to the forums to ask someone to host it. Soooo, with that said... is anyone willing to host this for me? It's only about 1.5MB. If someone volunteers, I'll put it up as a free resource.
#2
04/01/2008 (2:52 pm)
I can host it.
#3
04/01/2008 (4:42 pm)
@Ryan

That would be great! Yes I've read through that entire thread and the stuff you are doing sounds awesome (and looks great too). I wasn't sure if that was the place I should post my question considering the thread title wasn't really related to light maps directly. I look forward to trying out your new map2dif_plus.

Thanks again!

- Lorne
#4
04/03/2008 (11:38 am)
Here's a link to the custom lightmap resource. Enjoy.

www.garagegames.com/blogs/66653/14552
#5
04/12/2008 (3:56 pm)
For all who are interested, I've got the custom lightmap resource working with TGEA 1.7.0. I still need to do some testing, but it's basically done. I was surprised by how similar the code was to TGE 1.5.2. Actually, the map2dif_plus v1.1 above works; it simply required some simple code changes to the engine. I'm out of town at the moment and don't really have good access to the internet, so it may be a week before I can get a resource up. Anyway, just wanted to let you guys know!
#6
04/12/2008 (4:42 pm)
Looking forward to it.
#7
04/13/2008 (6:56 am)
Me too :)

Currently when i export to map2dif for TGEA i get a crash :(