Paradox wrote:I have to say... I looked at the softvolume code, blinked a few times, tried to see what on earth was going on, and quickly closed that file with a "DO NOT TOUCH" notice on it
What's with the whole "multiple the normals by -1 and do something involving (1-e)"?
Welcome to the confusing world of soft volumes!
Since the SV plane's vectors in Blender space seem to be opposite from the URU plane vectors, the normals are multiplied by -1. This is done right after importing or right before exporting, so that what you see in Blender is intuitive to what you expect: the normals point towards the inside of the soft volume.
The plConvexPlane contains the fields ScaledNormal and ScaledDistance, which uses (1-e) times the normal. The value of (1-e) = .998047 is the observed value from various URU SV plane scaled normals. As for why they need these scaled normals, I have no clue.