The 3D model is red or not displayed at all #1539
-
In tests, all 3D models are displayed correctly, but in my own project "orc.c3b" without a texture, and "boss1.obj" not displayed at all. Perhaps I missed something in the sample code from the tests, but I double-checked and didn’t notice anything like that. my update method:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
What is inside the Contents directory of your project? If the |
Beta Was this translation helpful? Give feedback.
-
The converter tool (modified version of LibGDX fbx-conv) can be found here: https://github.com/cocos2d-x/fbx-conv |
Beta Was this translation helpful? Give feedback.
What is inside the Contents directory of your project? If the
orc.c3b
is not showing the texture, then it may be missing from your project. The file is namedmonguger.tga
, and you can find it in the same folder where you copiedorc.c3b
from (tests\cpp-tests\Content\MeshRendererTest
).