So I'm now increasingly convinced I'm going to fail all of my exams coming up. I've done almost nothing for 3 days now [bawling]
Part of that may well be related to this "IRC" thing. Never had the time to check it out properly, but thanks to some help from superpig I got up and running. I really should be offering him my thanks given the "fun" that was had trying to get it working, but I've now got another time-sink when it is without a doubt the LAST thing I need right now. I wonder if I can use "Introduction to IRC" as a valid reason on an extenuating circumstances form.
I've been working on my game project as well this evening. I'm going to be implementing some proper lighting models at some point, which means I need to have ready access to a TBN coordinate space. I can't be bothered to work that one out myself, so I want D3DX to do it for me.
Thing is, that means I have to start using ID3DXMesh instead of my simplistic IDirect3DVertexBuffer9 approach. This makes my geometry creation a little bit more involved [headshake]
- Create a new mesh
- Create an appropriate attribute table
- Fill in the vertex buffer
- Fill in the index buffer
- Generate an adjacency array
- Generate normals
- Generate tangents and binormals
I intend to animate the texture coordinates, and it seems there is a by-product of creating the tangents/binormals that it might split vertices. Which could make the TC animation a whole lot harder.