Ludum Dare 24 approaches fast (tell me if you want to join
the usual team; please please do!).
I want to fully understand how to properly render G3D V4 files.
The properties flag has 0x01 for 'draw team colour through transparent parts of texture'. Is this correct?
And what does properties 0x02 'two-sided' mean? Does it mean to enable/disable GL_CULL_FACE?
What's the winding? GL_CCW?
How do you ensure that you draw the semi-transparent bits and the opaque bits in the right order etc?
And so on! What else should I know/do?
I will be sharing my webGL loader, obviously:
github, and eventually if gh-pages builds,
online too. I had to do some surgery to binary-load floats properly and fast. DataView API is too new for most browsers and TypedArray.set() has bugs on my FireFox etc.
(I've run G3dScan auto-optimise. Can, before eh Friday, it have a way to auto join meshes that are in the same texture and have the same flags etc and are compatible for joining? With big webGL scenes, the number of drawElements calls is actually a factor. One thing is sure- Mr War isn't going to optimise them in Blender)