Quote:Original post by Evil Steve
I thought that colour comes before texture coords?
Ah, perhaps you guys are correct. It's been a *very* long time since I've used FVFs and the FFP. [wink]
Quote:Original post by Evil Steve
I thought that colour comes before texture coords?
verts[0] = mV_UL(mV(-10,-100,50),mV(0,0),D3DCOLOR_XRGB(0,0,0));verts[1] = mV_UL(mV(-100,100,50),mV(0,1),D3DCOLOR_XRGB(0,255,0));verts[2] = mV_UL(mV(100,-100,50),mV(1,0),D3DCOLOR_XRGB(0,0,255)); verts[3] = mV_UL(mV(100,100,50),mV(1,1),D3DCOLOR_XRGB(255,0,0));
Quote:Original post by MushuHave you tried running the SDK samples? Perhaps your system or DX is borked somehow.
Its crashing on my system (I'm using the code you sent over) on the DrawPrimitive call (I think, I'll add some logging stuff tommorrow). BSOD reports error 0x000000D5, which is really weird, because I'm running winME. Apparently, that error shouldn't even be possible (or so I read; it was implemented on XP? I dunno)
Probably bad data somewhere, either in the vertex buffer, or the vertex shader is reading something its not supposed to be, or whatever. Actually, I'll go ahead and upload a binary, maybe its just this system that's b0rked (yay for shitty OS'es)
(Download Binary, 224KB)
Quote:Original post by circlesoftOh, he already gets enough stick about using WinME in A Place That Does Not Exist [smile]
I think your OS was borked the second you (or the factory dude) put the WinMe disc in the tray [wink]