Page 2 of 2

Re: [SOLVED] Convert from right-handed coordinate system

Posted: Thu Apr 19, 2012 7:03 pm
by ItsBritneyBitch
hendu wrote:Are you writing the compiler yourself, or just outputting .map and using one of the existing ones?
Yep. I'm going to write the BSP compiler and the PVS and Radiosity programs too. But the output BSP is going to be rather different than Q3's. I wanted to make a modern format that would suit my needs. BSPs are still relevant today because of all the optimizations you can do for physics, networking and radiosity calculations. But it is not that much suitable for current hardware rendering-wise, so I'm planning on making an hybrid portal-bsp map format.
And of course I will release my source code once I get it working :D.

Re: [SOLVED] Convert from right-handed coordinate system

Posted: Fri Apr 20, 2012 7:39 pm
by Mel
maybe you would want to create a scene node that performed the whole process :)

Re: [SOLVED] Convert from right-handed coordinate system

Posted: Fri May 04, 2012 12:39 pm
by booe
Huhu. I'm impressed. I tought that I'm the only one crazy enough to write BSP compiler and lightmapper for q3 maps from scratch. ^ ^
But you seem to be having pretty childish problems. Conversion between coordinate systems is trivial. Altrough.... I remember that Q3 used plane equation which looked like this:

Ax + By + Cz - D = 0

instead of classic

Ax + By + Cz + D = 0

So you *MIGHT* have to negate plane distances to get it right. The issue is no longer revelant in Doom3, where they have their own math classes (including idPlane).

btw what do you have so far?