All Projects → StanwieCB → sdkmesh-to-obj

StanwieCB / sdkmesh-to-obj

Licence: MIT license
sdkmesh decoder

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to sdkmesh-to-obj

DoGUI
Hello DoGUI: (not yet completed) Bloat-free Graphical User interface for C++ with minimal dependencies and a sleek default design
Stars: ✭ 19 (+11.76%)
Mutual labels:  directx, d3d
cef-mixer
High Performance off-screen rendering (OSR) demo using CEF
Stars: ✭ 183 (+976.47%)
Mutual labels:  directx, d3d
Justpersist
JustPersist is the easiest and safest way to do persistence on iOS with Core Data support out of the box. It also allows you to migrate to any other persistence framework with minimal effort.
Stars: ✭ 157 (+823.53%)
Mutual labels:  model
Django Colorfield
color field for django models with a nice color-picker in the admin. 🎨
Stars: ✭ 238 (+1300%)
Mutual labels:  model
Mathmodel
研究生数学建模,本科生数学建模、数学建模竞赛优秀论文,数学建模算法,LaTeX论文模板,算法思维导图,参考书籍,Matlab软件教程,PPT
Stars: ✭ 3,834 (+22452.94%)
Mutual labels:  model
Diamond
Diamond is a full-stack web-framework written in The D Programming Language using vibe.d
Stars: ✭ 173 (+917.65%)
Mutual labels:  model
Model
The base model traits of Esensi
Stars: ✭ 203 (+1094.12%)
Mutual labels:  model
Py3dtiles
⚠️ Project migrated to : https://gitlab.com/Oslandia/py3dtiles ⚠️
Stars: ✭ 152 (+794.12%)
Mutual labels:  model
Whc model
iOS平台高效转换引擎json->model,model->json,model->Dictionary,支持模型类继承其他模型类,支持指定路径转换,不区分json的key和模型属性名称大小写,自动处理json中null
Stars: ✭ 244 (+1335.29%)
Mutual labels:  model
Trilogy
TypeScript SQLite layer with support for both native C++ & pure JavaScript drivers.
Stars: ✭ 195 (+1047.06%)
Mutual labels:  model
Open model zoo
Pre-trained Deep Learning models and demos (high quality and extremely fast)
Stars: ✭ 2,925 (+17105.88%)
Mutual labels:  model
Csmodel
CSModel is a concise and efficient model framework for iOS/OSX, and provides nested Model to compare values and copy values.
Stars: ✭ 192 (+1029.41%)
Mutual labels:  model
Rating
Laravel Eloquent Rating allows you to assign ratings to any model.
Stars: ✭ 175 (+929.41%)
Mutual labels:  model
Lol Model Viewer
League of legends model and animation viewer based on WebGL. https://tengge1.github.io/lol-model-viewer
Stars: ✭ 211 (+1141.18%)
Mutual labels:  model
Windpowerlib
The windpowerlib is a library to model the output of wind turbines and farms.
Stars: ✭ 170 (+900%)
Mutual labels:  model
Live2dmodel
页面上加载的模型
Stars: ✭ 241 (+1317.65%)
Mutual labels:  model
Schedule
Schedule is a package that helps tracking schedules for your models. If you have workers in a company, you can set schedules for them and see their availability though the time.
Stars: ✭ 155 (+811.76%)
Mutual labels:  model
Germanwordembeddings
Toolkit to obtain and preprocess german corpora, train models using word2vec (gensim) and evaluate them with generated testsets
Stars: ✭ 189 (+1011.76%)
Mutual labels:  model
Flooks
🍸 A state manager for React Hooks
Stars: ✭ 201 (+1082.35%)
Mutual labels:  model
MaskRCNN-Modanet-Fashion-Segmentation-and-Classification
Using modanet fashion dataset, the clothes images were classified under 5 season (summer,winter,spring,autumn,all).
Stars: ✭ 55 (+223.53%)
Mutual labels:  model

sdkmesh-to-obj

An open source sdkmesh to obj converter supports multiple meshes conversion made in Intel VCE group

Visual Studio version: Vision Studio 2015 Update3

link for reference: https://github.com/StanwieCB/sdkmesh-to-obj

Standards

Sdkmesh

The .sdkmesh format is a binary format standard provided by MicroSoft exclusively for DirectX >= 9.0

Sdkmesh uses header + buffer structure. The headers contains detailed declaration for GPU device and the buffers contains consecutive binary vertex buffers and index buffers

Headers include:

  • Sdkmesh header
  • Sdkmesh vertex buffer headers
  • Sdkmesh index buffer headers
  • Sdkmesh meshes
  • Sdkmesh subsets
  • Sdkmesh frames
  • Sdkmesh materials

More details can be found in Microsoft Definition.

Vertex Structure for Sdkmesh

There are two typical vertex structures provided in this project PosNormTexTan and PosNormTexTan_9

To determine the actual data structure (like how many bits) used for vertex elements, postion and normal e.g, you must decode the vertex buffer header's declaration first and refer to D3DDECLTYPE for detailed discription.

Obj

The .obj format is a general text-encoded model format

More details can be found in OBJ wiki

Mtl

The .mtl format is a byproduct format for .obj material discription. Meshes in the .obj file use usmtl to designate material type in the .mtl file.

Installation

Open sdkmesh-to-obj.sIn, build and run it. (my Visual Studio version: Vision Studio 2015 Update3)

Usage

Change your vertex element structure for vertex buffer vector first or implement your own vertex element structure for loading and writing! (Current supported PosNormTexTan and PosNormTexTan_9)

sdkmesh-to-obj.exe -i input_file_path -o output_file_path

example:

sdkmesh-to-obj.exe -i Squidroom.sdkmesh -o S_room.obj

Limitations

  • Limited implementation for vertex structure
  • currently no support for animation

Yiheng Zhang

Visual Computing Enabling Group

Intel Asia-Pacific R&D

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].