Shawn Hargreaves' Blog

Game programming with the XNA Framework
0 comments
14 followers
101 entries
Advertisement
shawnhar
November 19, 2010
Compressed vertex data
Compressed data is a great thing, especially when the GPU hardware is able to decompress it for free while rendering. But what exactly does vertex data compression mean, and how do we enable it?

XNA defaults to 32 bit floating point for most vertex data. For instance the VertexPositionNormalTextur…
1,044 views
shawnhar
November 19, 2010
Compressed GPU data formats
Consider the flow of data through a typical game:

  • Customer downloads game from Marketplace
  • Game data is stored in the filesystem
  • Game loads the data
  • Data is stored in memory
  • CPU or GPU fetches data from memory
  • CPU or GPU does awesome cool stuff with the data Making the data smaller has benefits …
  • 777 views
    shawnhar
    November 15, 2010
    StitchUp: generating shaders from HLSL fragments
    Back in 2004 I wrote an article for a book called ShaderX3 about how to tackle the shader permutation problem by automatically generating shaders from combinations of smaller code fragments.

    Now Tim has created an XNA 4.0 implementation of this same idea. Sweet! (not to mention very flattering f…
    770 views
    shawnhar
    November 11, 2010
    Teaching myself not to procrastinate
    I have a theory that agonizing over difficult decisions is always a waste of time.

    To decide between two or more options, we must predict how good an outcome each choice will produce. Decisions are only difficult when this is an approximate estimate, because if we knew for sure, we'd just pick the…
    664 views
    shawnhar
    November 11, 2010
    Procrastinating perfectionism
    I find it fascinating to watch how different programmers tackle problems in different ways. Some like to think things through until they fully understand the optimal solution, then code it up in one quick burst. Others prefer to get something up and running as fast as possible, then iterate to grad…
    654 views
    shawnhar
    November 03, 2010
    PDC talks available for download
    PDC talks are now available to download in WMV or MP4 format, as well as for online streaming.

    Mine is here:





    Source
    735 views
    Advertisement
    shawnhar
    October 28, 2010
    Free e-book by Charles Petzold
    Check this out.

    It's a book.

    It's about programming Windows Phone using Silverlight and XNA.

    It's by a hero of mine.

    And it's a free download!







    Source
    591 views
    shawnhar
    October 28, 2010
    Channel 9 Live at PDC
    As if live streaming of my upcoming PDC talk was not enough, I'll be doing a Q&A on Channel 9. Friday October 29th, 10:00 AM PST.

    If you have questions you'd like me to address, tweet them @ch9live, or submit a question into the PDC10 Session Q&A panel on the right hand side of the video …
    611 views
    shawnhar
    October 27, 2010
    PDC sneak preview #2
    A screenshot of the demo from my upcoming PDC talk:





    Cats are of course to be expected from me, but this year there are dogs too!

    Day after tomorrow, live streaming from http://www.microsoftpdc.com



    Source
    627 views
    Advertisement

    Popular Blogs

    shawnhar
    Generalist
    101 Entries
    14 Followers
    klg71
    Generalist
    57 Entries
    2 Followers
    ApochPiQ
    Generalist
    628 Entries
    45 Followers
    15 Entries
    14 Followers
    johnhattan
    Programmer
    1,277 Entries
    50 Followers
    Advertisement