Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: starbug on March 09, 2015, 01:23:38 pm
-
What is BSP data, as i keep getting an error when i am trying to save a .pof and it reads "BSP Compilation error. An error occurred while compiling BSP data for one or more submodels." How do i go about solving it. I just seem to have no end of problems with PCS 2 at the moment :(
-
And I thought I had had lots of problems with PCS2...
BSP data is basically the way the mesh data is structured in a .pof, a way which makes it fast to do certain operations (such as collision detection, I believe).
I don't recall ever seeing that error before myself. According to the PCS2 code, that means that PCS_Model::BSP_CUR_DEPTH > 500 at some point, but as to how/why that might happen, I wouldn't know. Regardless, it surely indicates some kind of problem in the mesh (or a mesh that somehow bizarrely manages to cause the BSP tree recursion to go >500 levels deep).
-
Ok...... any idea on how to resolve it? IE what would i need to check for in the mesh in 3ds max before exporting it again?
-
Posting it would be the fastest way, I bet.
-
indeed with an issue like this the file you are converting from would help
-
Okay here is the files, it includes the 3ds max scene, textures and the DAE. Capships never cause me problems but when i try and do a fighter style vessel i get problems lol
http://www.mediafire.com/download/z2itaf44mi6pks2/Dalekfigther.rar
-
Weird, it converts just fine here. (PSC2 July 2, 13 build)
-
Okay, first up, here's the converted POF: https://www.dropbox.com/s/4k5y7vmu97rj9pu/Dalekfight.7z?dl=0
Second, a few remarks:
-In the model, the texture referenced is dalekfighter-glow. This should just be dalekfighter, the engine will sort out any glow maps etc on its own.
-You are using a .jpg as a shine map. Never do this. Shine maps do rely on having an alpha channel, which jpegs will always lose, and jpg always introduces artefacts which make the texture look worse. If you do not want or can't use dds, use png or tga.
-Here's a link to the PCS2 version I used to make the pof: https://www.dropbox.com/s/e71xqgcnkkeaf9q/POFCS2.7z?dl=0
-
Cheers, when in export it is keeps coming up with the glow map in pcs2. The jpgs are just what I was using in max, when I have finished i save them as DDS. Hmmmm maybe my version of pcs is out of date or I need to reinstall it. Maybe thats why I am having all the problems. But thank you for the help :) :)
-
I have two copies of the material in Max, one that's meant for exporting and a glowed/normal mapped version. Use the full version for rendering shots and the basic one for exporting.