mike hodnick

Point your browser to www.hodnick.com for Mike's latest content.

Notice:

You are viewing Mike's old, archived site. For new content, navigate to hodnick.com

Latest From Twitter...

The Blog

I've always struggled with (or have completely blown off) generating texture coordinates for WPF 3D meshes. Texture coordinates are what allow you to map 2D resources (images, videos, or any visual WPF element) on to a 3D surface.

3DTools out on CodePlex takes care of this for you. Included with 3DTools is a mesh utilities class that will generate texture coordinates for a variety of basic surfaces, including planes, spheres, and cylinders.

3DTools also contains a bunch of other goodies (to be discussed at a later point in time).

I can't mention 3DTools for the first time without stating something very annoying about it. The developers have chosen to name the root namespace of 3DTools as "_3DTools". The underscore is present because you can't begin a .Net namespace with a numeric character. I wish the developers would choose to follow the .Net 3.0 3D namespace conventions and name it "Tools3D". That underscore results in an unintuitive namespace name, and it just looks damn ugly :)

Download 3DTools and enjoy.

tags:

posted on Saturday, April 14, 2007 8:54 AM |