   Creating MD2 Model collision editor
  I am writing an OpenGL ES 2d game which uses some md2 models in it. Some of the more complex models need to have "collision boxes" to match up with the animation. I can't seem to find a tool that already does this so want to bake my own.The engine I've written is in C++ but I almost always write my tools in C# because of the .NET Framework and easy GUI editor in Visual Studio. Because this particular tool needs an OpenGL display for the md2 where I want to be able to "draw" boxes over it in keyframes I am considering using C++ instead.I haven't touched C++ in Visual Studio since VC6 so I'm curious is developing a GUI app in VS2008 closer to making a C# GUI app these days?I found an example on codeproject of using an OpenGL view in a Windows form. It's using Managed C++. I have never tried Managed C++ but I'm guessing I would take to it like a duck to water having a C# and C++ background?There are also C# wrappers for OpenGL etc. so that is another option I can consider. Although I'm not sure if there is an md2 loader written or if I have to port my own from C++.I'm curious about what people suggest which language I should go for writing such a tool?   
  I attempted to compile the example at http://www.codeproject.com/KB/miscctrl/OpenGLViewWinForms.aspxBut I get a NullReferenceException on the following lineglRotatef(rtri,0.0f,1.0f,0.0f);rtfi is defined as a GLfloat!typedef float GLfloat;How can a value type be null? This is ridiculous. Perhaps I should forget Managed C++/CLR and just write it in C++.I always hated MFC and creating windows in Win32 is a nightmare. I see an option to create a "Windows Forms Application" but I'm guessing that is CLR.   ;  FYI I ended up going with C# using the Tao wrapper and am porting my MD2Model class to C#.   