Jump to content
  • Advertisement


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


DirectX version of Open GL MODELVIEW?

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

Hey, Im converting some open GL to Direct X. Anyone know the diectX equivailent to MODELVIEW? I am using info from this page for frustum culling (its in GL) http://www.markmorley.com/opengl/frustumculling.html Alternatly, is there a directX article? [edited by - Green on September 14, 2002 11:45:06 AM]

Share this post

Link to post
Share on other sites
Umm ... maybe D3DTS_WORLD?


// assume Device3D is an IDirect3DDevice8* & World is a


Device3D->SetTransform( D3DTS_WORLD, &World );

That sets the World matrix (model-view [less the ''view part, of course''] in OpenGL I believe - someone correct me if I''m wrong) in DirectX. Which is sorta like what you''re asking about.

As for an exact match? I don''t think there''s such thing as a direct mapping between the two APIs in this respect.

Sorry if my explanation is a little fuzzy - tired

Tom L

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!