Jump to content
  • Advertisement

Archived

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

bcome

what is the minimum necissary required to render with IDirect3DDevice9

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

Advertisement
If you mean code and you''re talking about C++, take a look at the Tut02_Vertices sample in the SDK (DXSDK\Samples\C++\Direct3D\Tutorials).

Ignoring the comments there''s about 100 lines of code in there.

Ignoring the comments and Win32 window handling code, about 70 lines of code.

Ignoring comments, window handling, globals/defines and D3D device initialisation/destruction - about 30 lines of code.

The actual draw call, scene set up & frame presentation is about 5 lines.


Any particular reason you ask ?

--
Simon O''Connor
3D Game Programmer &
Microsoft DirectX MVP

Share this post


Link to post
Share on other sites
cuz I was just wondering why my program didn''t render the "random" pixels I was looking at the drunken hyena tuts and my program wouldn''t render the pixels



u r what u bcome

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!