Jpez1432 Posted May 25, 2004 I am working on a opengl port, the gwa files from glbsp are loaded, linedefs are drawn (no textures) but what I can't figure out is how to render the floors, ceiling planes... anyone know anything reply to this post. -James Pezold -Jpezold@mail.win.org -Jpez1432 0 Share this post Link to post
Metal_Sonic Posted May 26, 2004 sorry i cant help you. but you could also try asking on the http://www.newdoom.com forums 0 Share this post Link to post
Retox Posted May 28, 2004 It's simply a polygon that has shape of the current subsector you are rendering. 0 Share this post Link to post
CodeImp Posted June 7, 2004 But getting the shape of the polygon is the tricky part... Take a look at this article to learn how to walk through a BSP tree: http://www.gamedev.net/reference/articles/article654.asp You will need the BSP structures created by the nodebuilder (NODES, SEGS, SSECTORS) to render the map and figure out the polygon needed for subsectors. You need to use each split in the BSP tree down to the subsector, as well as all segs of the subsector to cut a polygon to get the subsector shape. Like cutting a large paper in a little shape, but you only cut straight lines :) 0 Share this post Link to post