Search:

Type: Posts; User: infernosnow

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    1,616

    There's no "problem" with that method. I was just...

    There's no "problem" with that method. I was just hoping that my code for loading one mesh wouldn't be that different from the code to load in two. I suppose I will grab my book to learn about...
  2. Replies
    11
    Views
    1,616

    Well, this was my logic... I learned how to load...

    Well, this was my logic... I learned how to load in one .x from the DirectX documentation tutorial. It's really simple and straight forward. The code for all that is here:...
  3. Replies
    11
    Views
    1,616

    Why do I get the feeling all that code I've...

    Why do I get the feeling all that code I've written is all for nothing and that my DirectX book is completely useless?
  4. Replies
    11
    Views
    1,616

    I tried your way, but it didn't work. The...

    I tried your way, but it didn't work.

    The first time I use m_pMeshTextures, I have [g] on the end
    m_pMeshTextures[g] = new LPDIRECT3DTEXTURE9[m_dwNumMaterials[g]];

    Then a few lines down, I...
  5. Replies
    11
    Views
    1,616

    deleting objects, textures, and materials

    Full code in a wordpad file here:
    http://www.kryolinth.com/gamecodeV1_5%20loadDestroyMesh.rtf

    Real simple. InitGeometry(); is called when you press the C key. "C" for "Create stuff" you can think...
  6. Replies
    18
    Views
    3,318

    Well, I finally completed the code. It works now....

    Well, I finally completed the code. It works now. I'm officially exhuasted.
  7. Replies
    18
    Views
    3,318

    insulting, yes, however I'm more of a...

    insulting, yes, however I'm more of a learn-as-I-go person. I've taken a C++ course in college, so I know the basics. I just have a hard time putting some of them to use. I'm slow at programming. I...
  8. Replies
    18
    Views
    3,318

    actually, it would be ["pD3DXMtrlBuffer" + g] not...

    actually, it would be ["pD3DXMtrlBuffer" + g] not pD3DXMtrlBuffer[g] in Actionscript. Tried it in C++, but it didn't like it. Oh well.
  9. Replies
    18
    Views
    3,318

    Well, while I was waiting for your reply, I...

    Well, while I was waiting for your reply, I decided to venture off and try a different method. This one is actually cleaner I think. It doesn't pass anything, save an int which simply tells it how...
  10. Replies
    18
    Views
    3,318

    This error is talking about the LoadMeshFromX...

    This error is talking about the LoadMeshFromX thing in the definition of InitGeometry function
    error C2664: 'D3DXLoadMeshFromXA' : cannot convert parameter 1 from 'std::string' to 'LPCSTR'

    This...
  11. Replies
    18
    Views
    3,318

    And how might I do that good sir?

    And how might I do that good sir?
  12. Replies
    18
    Views
    3,318

    ahh yes, and using using namespace std did solve...

    ahh yes, and using using namespace std did solve a few string problems. Thanks.
  13. Replies
    18
    Views
    3,318

    I've fooled around with the code a bit. Hope this...

    I've fooled around with the code a bit. Hope this helps. I need to pass arguments to the function, but I'm doing that wrong somehow. The variables used in the function dealing with arguments are...
  14. Replies
    18
    Views
    3,318

    This is not the entire code. I do in fact have...

    This is not the entire code. I do in fact have string declared.
  15. Replies
    18
    Views
    3,318

    need function help, passing arguments

    It's really simple actually. You don't need to understand what this code does. I just need help figuring out how to write the function declaration, call, and definition in order to pass arguments.
    ...
Results 1 to 15 of 15