• Advertisement
  • entries
    422
  • comments
    1540
  • views
    489615

Constucting meshes is harder than I thought...

Sign in to follow this  

73 views

As I type this I'm eating chocolate chip cookies. Just thought I'd mention that for the benefit of those who aren't lucky enough to be eating chocolate chip cookies as well.

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]

  1. Create a new mesh
  2. Create an appropriate attribute table
  3. Fill in the vertex buffer
  4. Fill in the index buffer
  5. Generate an adjacency array
  6. Generate normals
  7. 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.
Sign in to follow this  


4 Comments


Recommended Comments

As exams go, I think I've failed one, and probably about to fail another.

Remember, kids, don't take any Economics modules at University level. They suck harder than a turbocharged vacuum cleaner.

Share this comment


Link to comment
I can ban you from #graphicsdev/chat until your exams are over if you want. Goodness knows that constantly hopping onto IRC has screwed up two exam periods for me.

Share this comment


Link to comment
You can consider the chocolate chip cookies as suitable revenge for the IRC. You RAT BASTARD.

Share this comment


Link to comment
Quote:
don't take any Economics modules at University level.

Economics at AS-level is the only subject I've ever properly failed. Despite failing, I learnt my lesson [lol]

Quote:
I can ban you from #graphicsdev/chat until your exams are over if you want.

Haha, before I was moderator I was trying to get Muhammad to suspend me for a month. But now that I'm a moderator, I have to wonder if I can actually suspend myself. Might cause some 'interesting' questions if there were a suspended moderator though [oh]

Quote:
You can consider the chocolate chip cookies as suitable revenge for the IRC.
Consider my revenge complete then. Shortly after finishing writing the journal entry I finished all my cookies. Now I have no cookies until I go to the shops again [sad]

Jack

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement