Jump to content
  • Advertisement
Sign in to follow this  

nVidia Cg Expanded Interface and DX3D Calls

This topic is 4584 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 really just a sanity check, but I wanted people opinions on the different interfaces available in Cg for DirectX programmers. My engine is currently 100% fixed function, and I have spent the day looking through the Cg documentation as I wish to integrate into my pipeline. But I am slightly confused between the available interfaces, and how they expect your application to behave. The documentation states that the Expanded Interface calls all the required DX functions for you. And this seems to include everything, including setting texture stages. As my engine will, for the foreseeable future, use a cross between fixed and programmable pipeline, I still need the ability to call these functions myself, but using the minimal interface requires a lot of extra little calls all over the place, so I know which I would prefer! So if I use the extended interface, will it matter that I still call the following functions?

Any experiences you might have of using Cg with DX9, and the different interfaces would also be appreciated. Thanks in advance Daisy

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!