2023/11/02 4
-
Assimp를 설치한다. 설치시 Cmake를 사용하여 lib파일을 뽑아서 사용한다. Assimp는 FBX파일에서 데이터를 긁어올 수 있도록 하는것만 사용하고, 긁어온 데이터를 현재 프로젝트에서 사용할 수 있도록 재가공하는 방식은 사용자에 따라 달라진다. 자신이 구축해놓은 Framework에 맞게 데이터를 재가공해 사용하도록 하자. #pragma once class ModelExporter { public: ModelExporter(string name, string file); ~ModelExporter(); void ExportMaterial(); private: //Material void ReadMaterial();// 머티리얼 읽기. void WriterMaterial(); // 머티얼 써서 저장..
-
Assimp는, DirectX상에서 FBX파일을 사용할 수 있게 해주는 라이브러리 뭉치이다. 오픈소스임으로 누구나 쉽게 접근하여 사용할 수 있다. 한번 설치해보자. https://github.com/assimp/assimp GitHub - assimp/assimp: The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clea The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure. - GitHub - assimp/assi..
-
Cmake는, 프로그램의 lib파일을 사용하기 위해 lib파일을 생성해주는 프로그램이다. https://cmake.org/ CMake - Upgrade Your Software Build System CMake is a powerful and comprehensive solution for managing the software build process. CMake is the de-facto standard for building C++ code, with over 2 million downloads a month. cmake.org cmake 사이트에 들어가서 cmake를 먼저 다운받아주자. 다운로드를 클릭한 뒤 밑으로 내리면, Binary distributions로. 설치버전이나 설치파일을 확인할 ..
-