Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

thekid

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

This topic is 6244 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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...)

Share this post


Link to post
Share on other sites
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??

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!