Compiling PhysX.Net
Wednesday, 11. February 2009, 08:59:52
...and Stuff
Wednesday, 11. February 2009, 08:59:52
Monday, 2. February 2009, 22:17:18
Made by Litho and yours truly. The idea is that you can freely cross the border and you need to get as many maxicans over to US as you can. If they get spotted by the spot lights- they are sent back. Each time you help them get across, their number grows, so if you play well, eventually there's a whole crowd following you.Tuesday, 27. January 2009, 19:23:01
Friday, 16. January 2009, 22:22:03
Frame 000075 ........PRE: <this=0x073523d8>IDirect3DDevice9::DrawPrimitive(D3DPT_TRIANGLEFAN, 0, 2) An unhandled exception occurred.Notice that this happens in the 75'th frame and I'm not doing any dynamic creation/destruction of resources- everything is created at startup.
HRESULT hr = InternalPointer->Begin( &passCount, 0 );simply doesn't return- the program stops and memory usage goes through the roof, but no errors or exceptions.
SlimDX.Direct3D9.VertexElement[] elem= new SlimDX.Direct3D9.VertexElement[]
{
new SlimDX.Direct3D9.VertexElement(0, 0, SlimDX.Direct3D9.DeclarationType.Float3, SlimDX.Direct3D9.DeclarationMethod.Default, SlimDX.Direct3D9.DeclarationUsage.PositionTransformed, 0),
SlimDX.Direct3D9.VertexElement.VertexDeclarationEnd
};
Ok, so the problem is that I'm using PositionTransformed and Float3 (xyz) when it should be Float4 (xyzw). I fix that and change my vertex structure accordingly.device.VertexFormat = SlimDX.Direct3D9.VertexFormat.PositionRHW; //which should be the same as device->SetFVF(D3DFVF_XYZRHW);This also doesn't work.
device.VertexFormat = SlimDX.Direct3D9.VertexFormat.PositionW;works.
Friday, 9. January 2009, 22:38:44

Thursday, 8. January 2009, 22:15:25

Sunday, 5. October 2008, 17:42:51
Thursday, 24. April 2008, 20:46:34
Monday, 21. April 2008, 11:40:37
(click)
(click)
(click)
(click)
Showing posts 1 - 10 of 61.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
|
| ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 | ||