Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    557
  • comments
    1237
  • views
    423491

Untitled

Sign in to follow this  
Evil Steve

67 views

Nothing much to say, so I'll just gibber a little while I wait for this thing to compile.

I've set up MSVC on my server with VC2005 Professional from my MSDN stuff (Thanks to jollyjeffers for reminding me it existed). Still trying to get it to compile though, see My Thread about it.

I got the ID3DXFont stuff working this morning on the train, and I'm in the process of adding a light wrapper around IDirect3DDevice9 in debug mode so I can display information like trangles per frame, state changes, texture / stream switches per frame and so on. I should be getting zero texture and stream switches per frame, and one or two state changes, but I want to verify that. Plus, slews of debug information are handy :P

I also want to change my text scene objects to handle dynamic text nicely. As it is, it's pretty expensive to change text, but bloody cheap to display it. Great for static text, not so great for dynamic text. So, that needs a special case.

Hrm. That's about it. I'll try to get stuff working nicely, then get a nice screenshot for the thread in the lounge.

EDIT: It took an hour to implement all the sodding IDirect3DDevice9 functions just to call the base class, and I found:
  • 4 state changes
  • 1 texture change
  • 1 stream change
  • 246 triangles drawn
  • 2 draw calls
    Per frame. I don't get the 1 texture and stream change. How is that possible? It should be an even number... Oh well, it gives me something to investigate on the train on the way home.
  • Sign in to follow this  


    0 Comments


    Recommended Comments

    There are no comments to display.

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • 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!