Jump to content
  • Advertisement

Archived

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

Blaster

Scissor test with D3D9 and GF3

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

I have worked on an OpenGL game with my GeForce 3 and used glScissor with success. Now, in the new Direct3D 9, that functionality is now exposed with the D3DRS_SCISSORTESTENABLE state and Get/SetScissorRect functions. Cool, except that the GeForce3 (and my GeForce4 Ti at home) don''t seem to report the RasterCaps needed to perform the scissor test. I have the most recent drivers (41.09). I wanted to update to see if nVidia updated their driver to support DX9 and maybe expose the cap, but that''s not the case. I tried using a stencil test to achieve the same thing, but I would really like the scissor test, because I suppose it''s faster and most importantly easier to work with. What can I do? ---------------- Blaster Computer game programmer and part time human being Strategy First - http://www.strategyfirst.com BlasterSoft - http://www.blastersoft.com

Share this post


Link to post
Share on other sites
Advertisement
1) hassle the nVidia developer relations people (the address is on their site) - the more people ask for something to be fixed, the more likely it is.

2) SetViewport() is good enough for most purposes since you still often get hardware clipping too, though proper scissoring is obviously nice to have as well.

--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites
Cool, I was just about to try SetViewport out. I have my confirmation.

Thank you.

----------------
Blaster
Computer game programmer and part time human being
Strategy First - http://www.strategyfirst.com
BlasterSoft - http://www.blastersoft.com

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!