Libgdx:If your model was rendered like this. Enable GL20.

Tip for Libgdx new 3d api.

When you forget this, it is hard to notice later.  If your model was rendered like below image. This is wrong to the coordinate system and the animation does not operate.   Enable GL20.

E.g.
Android:
AndroidApplicationConfiguration cfg = new AndroidApplicationConfiguration();
cfg.useGL20 = true;


Desktop:
LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
cfg.title = "StudyChangeTexture";
cfg.useGL20 = true;
cfg.width = 480;
cfg.height = 320;

コメント

このブログの人気の投稿

日本でコンピュータサイエンスを学ぶ難しさ

How to preview nif file on the ubuntu.