Results 1 to 11 of 11
  1. #1
    seaplusplus's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    106
    Reputation
    4
    Thanks
    51
    My Mood
    Drunk

    [Release] Hans D3D Test Square...

    Okay, so some people have been accusing me of my signature being fake. They are calling it Hans D3D Test Square, which is retarded cause it's not in the correct spot. So I've decided to prove that it is mine...

    [highlight=c++]void Draw_Filled_Square(int x, int y, LPDIRECT3DDEVICE9 pDevice){
    struct Square_Vertex
    {
    float x, y, z, rhw;
    DWORD Color;
    };

    Square_Vertex SquareFill[]=
    {
    {x+100, y+100, 1, 1,0xFF000000},
    {x, y, 1, 1, 0xFFFF0000},
    {x+200, y, 1, 1, 0xFF00FF00},
    {x+200, y+200,1, 1, 0xFF0000FF},
    {x, y+200, 1, 1, 0xFFFFFFFF},
    {x, y, 1, 1, 0xFFFF0000}
    };

    pDevice->DrawPrimitiveUP(D3DPT_TRIANGLEFAN, 4, SquareFill, sizeof(Square_Vertex));
    }[/highlight]
    Last edited by NextGen1; 01-22-2011 at 06:58 PM.

  2. #2
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Lot of useless code Looks like a copy of what i release with out the structure on the inside.

    why use triangle fan?
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  3. #3
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    How does this prove it is yours?


     


     


     



    The Most complete application MPGH will ever offer - 68%




  4. #4
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Quote Originally Posted by NextGen1 View Post
    How does this prove it is yours?
    How does it not. I posted a DrawSquare function all that is missing are the SetRenderState and he asked me what the vertexes are for...

    He stole it from someone or edited mine.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  5. #5
    seaplusplus's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    106
    Reputation
    4
    Thanks
    51
    My Mood
    Drunk
    Quote Originally Posted by topblast View Post


    How does it not. I posted a DrawSquare function all that is missing are the SetRenderState and he asked me what the vertexes are for...

    He stole it from someone or edited mine.
    huh? this is not leeched, and you didn't release this anywhere!

  6. #6
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Quote Originally Posted by seaplusplus View Post
    huh? this is not leeched, and you didn't release this anywhere!
    all u did was change mine a little. i mean come on..
    Why use 6 vertexes to do a Square with 4 colors.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  7. #7
    seaplusplus's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    106
    Reputation
    4
    Thanks
    51
    My Mood
    Drunk
    Quote Originally Posted by topblast View Post


    all u did was change mine a little. i mean come on..
    Why use 6 vertexes to do a Square with 4 colors.
    Remember I originally posted this in the CA Source code section?
    Look at the date! I posted before you posted your thing!

  8. #8
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    11 hrs /.... -/-
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  9. #9
    Astral Witch's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    106
    Reputation
    13
    Thanks
    30
    this is like the basic of the basics of Direct3D, even if you made this yourself its still shit

  10. The Following User Says Thank You to Astral Witch For This Useful Post:

    why06 (01-22-2011)

  11. #10
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Quote Originally Posted by Astral Witch View Post
    this is like the basic of the basics of Direct3D, even if you made this yourself its still shit
    Really fight over something worth fighting for this is worst then two cats fighting over yesterday's garbage...

    It's a fucking square and vertices. if that's your code then I guess every game developer would have to pay you royalties since triangles are the basic building blocks of all DirectX models.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  12. The Following 2 Users Say Thank You to why06 For This Useful Post:

    Astral Witch (01-22-2011),NextGen1 (01-22-2011)

  13. #11
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    And with that Why06 said.

    /Closed, not going to host this war for you guys

    @ Top Blast, I was reffering to the OP's statement, which stated that him posting the code proves it is his.

    But enough for now. (PM your wars to each other, or if you like, go rage in the raging section)


     


     


     



    The Most complete application MPGH will ever offer - 68%