Quote:Original post by corntownIt's been a while since I used FF, but try SetRenderState( D3DRS_LIGHTING, FALSE ) in your initialization code. Might be passing your geometry through the lighting engine, not finding any normals (or lights!) and thus outputting 0/black.
now Im getting a big black square in the middle of the screen(why is it black ?)
You could verify this with SetRenderState( D3DRS_AMBIENT, D3DCOLOR_XRGB( 255, 0, 0 ) ) - if your cube turns red as a result then its the lighting engine thats getting in your way.
btw, you are aware you're creating a reference rasterizer device?! I'm pretty sure ALL hardware from the last 5 years will be capable of executing your code in hardware [smile]
hth
Jack