CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: bifteki

Search: Search took 0.04 seconds.

  1. Thread: Struct problem

    by bifteki
    Replies
    3
    Views
    5,187

    Re: Struct problem

    Ok, I found out myself.
    Actually, I thought that texture coordinates could only be between 0 and 1 but I found out that if you give coordinates more than 1 the texture is tiled on the primitive. So...
  2. Thread: Struct problem

    by bifteki
    Replies
    3
    Views
    5,187

    Re: Struct problem

    I'm sorry about that.
    There's no error but while with the first code it runs as expected, the second one just gives a blank (black) window.




    // global declarations
    LPDIRECT3D9 d3d;...
  3. Thread: Struct problem

    by bifteki
    Replies
    3
    Views
    5,187

    Struct problem

    I'm using C++ and DirectX.
    I want to make a tunnel in which the camera moves into the screen. It won't be a large tunnel, this is just for my game intro. This is the code I first wrote:



    //...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured