Original Post
for anyone who is interested:) this is the source code i've made 2.5 years ago it is a bsp compiler for quake3 .map files it includes creating brushes out of planes. after that a csg process will run, to create valid geometry, lightmaps are also created(outputted to tga files( merge into a greater image to limit texture swapping). Portals are also generated.. partially quake 3 shader support is also included ..enjoy it is written in java the render is really pre-mature, but that was because i didn't understand opengl back then enjoy http://home.hccnet.nl/pj.holverda/ Paul