Вопрос

I'm using Irrlicht to make a game in C++ and I need to embed the models into my games .exe with Visual Studio 2008 Express(No Resource Editor) and load the models with Irrlicht. The problem is, I can't find any way to do this, no matter how much I research. Any ideas/solutions?

Это было полезно?

Решение

How large are your models?

You could convert the binary (I'm assuming) files into ascii form as static data and load from that using a tool like bin2hpp.

http://code.google.com/p/bin2hpp/wiki/introduction

Is it a project requirement that the models be embedded in the exe? Could you zip up all your game data into an archive and have two files?

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top