supidProgrammer 0 Newbie Poster

Hello again.

Another problem with md3 models. I tried to create a vector of md3 models (with legs, torso, head and weapon):

#include<freeglut.h>
#include<md3.h>

etc...

CModelMD3 g_Model;
vector<CModelMD3> vModel;

etc..

void Init()
{
    g_Model.LoadModel(...);
    g_Model.LoadWeapon(...);

    for (int i = 0; i < 10; i++)
        vModel.push_back(g_Model);
}

etc...

But is giving strange results!

It works with md2 models and with md3 single models without quaternions, both with animations. But it doesn't work with md3 player models with quaternions... :icon_sad:

What is going wrong?
Please help me...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.