Interesting project. Surprised no one has done this before.
#2 posted by kpedersen
on 2021/01/03 20:35:01
I was fairly surprised too. I actually started this project some years ago because I got tired of waiting for someone else to do it!
For a long time I was using it (even in a couple of commercial projects) in a pretty terrible state. I finally got some time over Christmas to polish it up a little.
#3 posted by k20abcu
on 2021/01/04 17:18:06
how does the lightmap baking work? Does the program do the unwrapping, and apply it to UV2? how would I use it in Godot, for example, or Urho 3D?
#4 posted by kpedersen
on 2021/01/04 19:51:04
Pretty much, it unwraps all the faces, for each fragment it does a ray intersection between each light in the scene and works out the distance, the lights strength and if anything is blocking it.
It is currently set via code to do zero reflections and is multi-threaded so is pretty fast (could even be real time I suppose).
The preview program that it runs to let you test the map then reads this second lightmap in and uses it for shadows. (I have both an OpenGL version and a 100% pure software rendered version I made for a games jam.). If you are familiar with the .obj wavefront format, the lightmap coordinates are stored as an extension as 'vl' entries.
#5 posted by kpedersen
on 2021/01/04 19:55:50
Actually I have a nifty video of the software renderer using the generated output here:
#6 posted by Jaeon
on 2021/01/05 04:35:09
I am sure a very few will get use from this but thanks
#7 posted by Cocerello
on 2021/01/06 22:06:42
Cannot agree more with the statement about general 3d tools lacking that which some Quake editors have.
#8 posted by oglerau
on 2022/01/19 16:52:59
i'm having a lot of fun with this exporting OBJs and then texturing/lighting in Blender. Radiant was always the BEST editor. thank you for this!
#11 posted by demoth
on 2022/08/05 14:20:31
oh man, that sounds really interesting! There are so many tools now for quake (which is good) that I need a catalog to track them
#12 posted by oglerau
on 2022/08/10 15:37:19
it would be nice if you could export not only an OBJ, but also a JSON or XML file containing entity information. kinda like what Tiled does for 2D. plenty of 2D games have no editor and just use Tiled, since it provides general purpose information.