Lot of useless code Looks like a copy of what i release with out the structure on the inside.
why use triangle fan?
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.
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
How does this prove it is yours?
I just like programming, that is all.
Current Stuff:
- GPU Programmer (Cuda)
- Client/Server (Cloud Server)
- Mobile App Development
11 hrs /.... -/-
I just like programming, that is all.
Current Stuff:
- GPU Programmer (Cuda)
- Client/Server (Cloud Server)
- Mobile App Development
this is like the basic of the basics of Direct3D, even if you made this yourself its still shit
why06 (01-22-2011)
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
Astral Witch (01-22-2011),NextGen1 (01-22-2011)
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)