Jump to content
  • Advertisement
Sign in to follow this  
harris

OpenGL dx9 occlusion queries on older hardware?

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

Hello everyone. I have been reading the forums for quite a while , and now that time has come for me to try my powers in game programming. i have been studing dx9 and wrote some samples , so i am moving on to scene management. my video card ( geforce 3 ti200 ) is supposed to provide hardware accleration for occlusion queries , but no matter what i do the code wont work. the error is always at "Query->Issue(D3DISSUE_BEGIN)". Has anyone here experienced the same problem with a geforce 3( always speaking for directx only ,as i wouldnt like to mess with opengl and its extensions )? is there a solution to this ? thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
Some more details on the error might be useful - including the rest of your query creation code.

The online documentation is a bit dead right now, but have you read through the Direct3D9 -> Programming Guide -> Advanced Topics -> Queries page?

Also, have you tried the debug runtimes with maximum output? see if they give you any clues as to what it doesn't like [smile]

Tried the latest drivers for your hardware?

Been able to test it on any other chipsets?

hth
Jack

Share this post


Link to post
Share on other sites
yes i have read the documentation. it is in the sdk too.
i use the latest forceware drivers available for my geforce 3 card from nvidia.
i have not implemented them in my own project gecause they dont work :)
but a sample code is here:
http://www.gamedev.net/reference/programming/features/occlusionculling/
as well as nvidias own tutorial which is supposed to be for geforce 3 class cards
and higher.
the samples will comile alright but when the command
"d3dQuery->Issue( D3DISSUE_BEGIN )" is executed the program abnormaly terminates.
I supose the query is not created at all.
maybe my card doesnt support this feature under dx9 after all?

thanks for your reply.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!