Jump to content
  • Advertisement
Sign in to follow this  
MrJoshL

Custom Model Plug-Ins

This topic is 2497 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Have you created a custom model format? What are some things to consider when doing so? What programming language do you write it in? I am just curious. I know C++, I just wanted to start a discussion on custom plugins and model formats.

Share this post


Link to post
Share on other sites
Advertisement
Currently using the following setup:

Source format: FBX
Converted to 3 file types;
.vb => binary dump of vertex data
.ib => binary dump of index data
.mat => material information file

Later is effectively a shader type/id + surface details and includes start and end indices to draw for that material from the model data. A material file can hold more than one piece of material information.

.vb and .ib files are loaded directly into vertex and index buffers; mat file will have minimal processing to hook things together.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!