投稿

ラベル(new3dapi)が付いた投稿を表示しています

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;

Reported a bug to the libgdx new 3d api.

Update:29 May '13 It was fixed. The 3D animation which I make was using bone controller. The controll-bone does not controll faces, but controls deform bones. Unfortunately, playback is not correct in the new 3d api was released this week. I report it to the libgdx-tracker. It may not be strictly bug. It may not support animation. Nevertheless I hope that this animation to work correctly. libgdx-tracker: https://code.google.com/p/libgdx/issues/detail?id=1465

ついにLibgdx masterへnew3dapiがmergeされた

こんなにmergeを待ったことはいままの人生でなかった。 お正月にnew3dapiが発表され、紆余曲折を経て、やっとnew3dpaiがmaster branchへmergeされた。ibgdxは使いやすくロバストな3dエンジンが組み込まれたことになる。 ボクが確かめたところ、fbx-convもLinux上でコンパイルも可能となった。すでにbranch new3dapiは削除されており、new3dapiに依存していたプライベートなプロジェクトも、個人のmasterへmergeが終了した。これで言い訳が効かなくなるw 参考: http://www.badlogicgames.com/wordpress/?p=3034

Libgdx/new3dapi and blender bone animation.

イメージ
Update 22 May 22 new 3d api were merged to master. Please see  http://www.badlogicgames.com/wordpress/?p=3034 New New3dapi was pushed:-)  I was successful to run it. Thank to libgdx developer. There is a fbx file outputted from blender(It has a material with no texture, a amature animation and no shape keys). Blender 3d ver2.67: Export fbx option (experiment): Update: Forward -Z, Up Y It was converted to g3dj by fbx-conv. I tried to play  g3dj file  by using the NewModelTest(Update:Changed to ModelTest.java) of new3dapi branch (f346efadccfde30327f352a2dee06e1519849906 ). libgdx/new3dapi branch  NewModelTest : *Note* It was not able to execute smoothly by un-intuitive fbx-conv operation and some bugs(?). fbx-conv(WIN32 Ver0.1 There were some compile errors with include-path and namespace though.): > fbx-conv -o G3DJ -f filename.fbx You do not specify the -o option, then fbx file will be overwritten.  Update:Fixed...

libgdx/new3dapi Naxus oneでもskinアニメーションが高速化?

まだ試していませんが libgdx  ( branch new3dapi )昨夜のアップデートで高速化され、モバイルでも使い物になるようにチューンされた様子。一度、4月にmasterへmergeされる予定だったのですがモバイルで重いため、延期されていた。TwitterをみるとNexus oneでも速いらしい。これでmasterへmergeされるのも時間の問題となったかもしれません。 自分のプログラムもnew3dapiで動作しているため、注目しているbranchなのです。 PS パッと確かめたところInverder, Bullet samplesはローカル座標がワールドになってしまい。動作しないバグがある気がします。 Update 動作するのを確認しました。記事は ここ 。