Jump to content
  • Advertisement

Archived

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

billybob

user's maxIndexedPrmitive?

This topic is 5931 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

Advertisement
You could just get the device caps like so:

D3DCAPS8 capabilities;
Device->GetDeviceCaps(&capabilities);

DWORD MaxPrimitives = capabilities.MaxPrimitiveCount;

That'll tell you a cards maximum primitives.


However, if you mean just in general how many primitives lower cards support, I don't know.

Hope this helps.



"There are only three types of people in this world: those who can count, and those who can't."

Just3D
Justin Nordin
J Squared Productions
www.jsquaredproductions.com

[edited by - Just3D on July 27, 2002 4:37:38 PM]

Share this post


Link to post
Share on other sites
i meant like what''s a say, a geforce 256''s count. just wondering what kind of limit there is, because the help file says it like it might be very small, and have to render a ton of triangles.

Share this post


Link to post
Share on other sites
I think 0xffff (65535) is a common value, but yeah check the caps of the card and be prepared to downsize accordingly. You app should be flexible that that is no problem - else you''re constraining it too much. Build the engine so it''s quite happy to fill the buffer, render those polys then repeat the whole thing.



Read about my game, project #1



John 3:16

Share this post


Link to post
Share on other sites
quote:
Original post by d000hg
I think 0xffff (65535) is a common value, but yeah check the caps of the card and be prepared to downsize accordingly. You app should be flexible that that is no problem - else you''re constraining it too much. Build the engine so it''s quite happy to fill the buffer, render those polys then repeat the whole thing.



Read about my game, project #1



John 3:16

its flexible, and if thats the value, thats good. i thought it would be something like 10000

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!