I have been trying to render my 3d model in cocos2d-x but my model is always appearing red,
I’m using the most basic code to render my 3d model onto the screen.
Is there anything else i need to make this work? Eg: reference a library or include any header files?
player = Sprite3D::create("batman70.c3b");
player->setScale(50.f);
player->setPosition(Vec2(winSize.width * 0.1, winSize.height * 0.5));
this->addChild(player);