Welcome to MSDN Blogs Sign in | Join | Help

October 2009 - Posts

New Game Studio samples

Hot off the press, this sample provides handy classes for generating cubes, spheres, and teapots (great for debug rendering!) while this one shows how to do various hopefully useful things with skinned character models. Notice how Skinned Model Extensions

Texture filtering: mipmapped sprite sheets

Beringela comments on my previous post : "Why don't spritesheets (with an edge around each sprite) and mipmaps go well together and are there any workarounds other than not using spritesheets or not using mipmaps?" Let's work through an example,

Texture filtering: sprite sheets

You can control what happens when texture filtering reads from past the edge of a texture using the SamplerState.AddressU and AddressV properties. But what if you are using a sprite sheet? The sampler address modes know nothing about how your sprites

Texture filtering: the edge of the world

Long time no post.  But don't worry, I'm not dead yet ... One of the more surprising things about texture filtering is how easily it can read past the edge of the texture. Consider a 4x1 texture containing four color values: A B C D If we draw this
 
Page view tracker