- 注册
- 2002-10-12
- 消息
- 47,114
- 荣誉分数
- 2,376
- 声望点数
- 393
DirectX9 MS3D loader with animation
Downloaded from CFC中文网 - 加拿大 - 渥太华
Created and Modified by Wei Chen.
Notice:
I found a OpenGL version of this loader which was a milkshape viewer from chUmbaLum sOft. The license says the following:
------------
Copyright ?2003 Mete Ciragan, chUmbaLum sOft
This software is provided 'as-is', without any expressed or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software.
If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any distribution.
------------
You can find chUmbaLum sOft here: chUmbaLum sOft
This is a c++ library I directly rip off from my Game Development Course Term Project. Some of functions or variables might be useless, since entire project was implemented in a rush.
I hope, that people find way to optimize this, and willing to share the code, by e-mail torune@hotmail.com
Usage example, loading:
ModelLoader = new Loader(g_pd3dDevice);
ModelLoader->MilkShape3D = new CMS3DFile();
ModelLoader->MilkShape3D->LoadFromFile("ms3dfile");
ModelLoader->Loadup(ModelLoader->MilkShape3D);
Rendering function:
ModelLoader->Draw();
Setting time:
ModelLoader->SetTime(ftime);
I hope it's usefull to some people
-Wei Chen
Downloaded from CFC中文网 - 加拿大 - 渥太华
Created and Modified by Wei Chen.
Notice:
I found a OpenGL version of this loader which was a milkshape viewer from chUmbaLum sOft. The license says the following:
------------
Copyright ?2003 Mete Ciragan, chUmbaLum sOft
This software is provided 'as-is', without any expressed or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software.
If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any distribution.
------------
You can find chUmbaLum sOft here: chUmbaLum sOft
This is a c++ library I directly rip off from my Game Development Course Term Project. Some of functions or variables might be useless, since entire project was implemented in a rush.
I hope, that people find way to optimize this, and willing to share the code, by e-mail torune@hotmail.com
Usage example, loading:
ModelLoader = new Loader(g_pd3dDevice);
ModelLoader->MilkShape3D = new CMS3DFile();
ModelLoader->MilkShape3D->LoadFromFile("ms3dfile");
ModelLoader->Loadup(ModelLoader->MilkShape3D);
Rendering function:
ModelLoader->Draw();
Setting time:
ModelLoader->SetTime(ftime);
I hope it's usefull to some people
-Wei Chen