Why am I getting this : Direct3D8: (ERROR) :Streams do not have required number of ve

Started by
1 comment, last by thekid 22 years, 10 months ago
this is the error i get when debugging my dx8 in win2k app Direct3D8: (ERROR) :*** Exception in d:\nt_chk\multimedia\directx\dxg\d3d8\fe\vshader.cpp Line: 596 Direct3D8: (ERROR) :Streams do not have required number of vertices Direct3D8: (ERROR) :DrawPrimitive failed. in the debug window. WHY am i getting this??? This happens when I have the primitive type set to anything but D3DPT_POINTLIST works fine and dandy. I am setting everything up perfectly but it just f''s up somewhere. Any ideas would be appreciated!!! KID
Advertisement
How many vertices are you passing to your DrawPrimitive()? For D3DPT_POINTLIST you only need to pass one vertex per primitive, while for D3DPT_LINELIST you would need 2 and 3 for D3DPT_TRIANGLELIST (and so on...)
I am rendering a large castle i loaded from a file. It has several hundred vertices and about 700 faces. I am very perplexed at this problem.

anyone else have any advice??

This topic is closed to new replies.

Advertisement