3,402 reputation
933
bio website
location United Kingdom
age
visits member for 2 years, 9 months
seen 4 hours ago
stats profile views 148

May
16
awarded  Nice Answer
Apr
4
awarded  Notable Question
Apr
1
awarded  Popular Question
Feb
13
comment What's the best way of translating a 2D vector into the closest 8-way compass direction?
Would this actually give the closest direction? It seems a vector of (0.00001,100) would give you north east. edit: you beat me to it izb.
Jan
25
comment OpenGL GL_TRIANGLE_STRIP creating grid with degenerate triangles / for one draw call
Actually, ignore my last comment. That is what you would want to happen if you're making degenerate triangles between the rows, so the problem is elsewhere. I'll take another look later.
Jan
25
comment OpenGL GL_TRIANGLE_STRIP creating grid with degenerate triangles / for one draw call
@PeeS I think there are still some off by one errors. For example rIndices.push_back(r*iCols); is going to have the same index as rIndices.push_back(r*iCols+c); when c is 0.
Jan
25
comment OpenGL GL_TRIANGLE_STRIP creating grid with degenerate triangles / for one draw call
Try changing the rIndices.push_back(iCols); to rIndices.push_back((r + 1) * iCols + iCols)); I was just ignoring the first part of that line so it was easier to work out the last vertex addressed.
Jan
25
answered OpenGL GL_TRIANGLE_STRIP creating grid with degenerate triangles / for one draw call
Jan
22
comment cocos2d-x v2.1 CCSpeed, CCRepeatForever, and CCAnimation jerky at high speed
How are you testing your code? I noticed significant differences testing cocos2dx animations in the iOS simulator versus on a mobile device (mobile device ran them properly) (only applies if you are doing mobile not desktop development).
Jan
15
awarded  Popular Question
Dec
28
comment Should developers make their games easier with new versions?
Massive multiplayer online games - games many players connecting to the same world.
Dec
26
answered Should developers make their games easier with new versions?
Nov
10
awarded  Nice Question
Sep
21
awarded  Custodian
Sep
15
awarded  Notable Question
Aug
30
comment C++ unmanaged inside winform
So it's an entirely different process - that could be causing the issue. Perhaps it would work if the C++ app was a dll called from the C# app? I'll see if I can find any more info about this.
Aug
30
comment C++ unmanaged inside winform
Right, but how does the code in your question connect to it? What are you passing to Init?
Aug
30
comment C++ unmanaged inside winform
Where is the window variable coming from in that snippet?
Aug
30
comment Help with this optimization
"I need to change the size of the target bitmap..." It sounds you already know what you need to do, so what exactly is the problem?
Aug
30
comment C++ unmanaged inside winform
Can you show your actual D3D10CreateDeviceAndSwapChain/CreateDevice call?