Jump to content
  • Advertisement

Archived

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

Green

DirectX version of Open GL MODELVIEW?

This topic is 5935 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
Advertisement
Umm ... maybe D3DTS_WORLD?



  

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

// D3DMATRIX


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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!