• Shawn Hargreaves Blog

    Bitfield renderstates

    • 1 Comments
    To manage renderstates in the MotoGP engine , I used the "every man for himself" approach described in my previous post . To make this fast, I had the following goals: Drawing methods should be able to specify exactly what states they want, using...
  • Shawn Hargreaves Blog

    Graphics state management

    • 5 Comments
    Once upon a time there lived a young graphics coder named Johnny. One day Johnny wrote a program that displayed a 3D model. As is frequently the case with people his age, Johnny was somewhat careless and did not bother to set all the renderstates which...
  • Shawn Hargreaves Blog

    C# Express r0x0rs!

    • 8 Comments
    I occasionally read about people being put off trying the XNA Framework because they don't want to install C# Express, worrying this might somehow interfere with their main Visual Studio installation. This is madness! C# Express just like totally rocks...
  • Shawn Hargreaves Blog

    Monitoring the garbage collector

    • 4 Comments
    We heard rumors that SpriteBatch.DrawString was generating garbage on Xbox, so this morning I set out to investigate and fix the issue. Trouble is, the Xbox Remote Performance Monitor tool isn't working with my interim build of the framework. How can...
  • Shawn Hargreaves Blog

    Content Pipeline types

    • 10 Comments
    A couple of people recently pointed out that our documentation isn't very clear on what data types are available in the Content Pipeline, and the relationships between the Content DOM object model produced by the importers, the converted types output...
  • Shawn Hargreaves Blog

    Editing curves

    • 1 Comments
    I like curves . One of the guys on the framework team wrote a curve editor that makes it trivially easy to create and tweak the settings for Curve objects. I highly recommend both this utility and the accompanying doc. A few well chosen curves can do...
Page 1 of 1 (6 items)