LWJGL Forum

Please login or register.

Login with username, password and session length

Author Topic: Collada files  (Read 116 times)

matan45

  • Newbie
  • *
  • Offline Offline
  • Posts: 14
Collada files
« on: November 01, 2017, 13:12:38 »

I want to read and load the model and the animation from .dae file
there is any class that can handle this?
Logged

kappa

  • Administrator
  • Nerdus Imperius
  • *****
  • Offline Offline
  • Posts: 1309
Re: Collada files
« Reply #1 on: November 01, 2017, 21:15:29 »

LWJGL3's AssImp bindings can read & load Collada/DAE files (plus more) just fine.
Logged

matan45

  • Newbie
  • *
  • Offline Offline
  • Posts: 14
Re: Collada files
« Reply #2 on: November 02, 2017, 05:35:21 »

they can even load the animation?
I try this tutorial and is not loading any other dae files
https://www.youtube.com/watch?v=f3Cr8Yx3GGA&list=PLRIWtICgwaX2tKWCxdeB7Wv_rTET9JtWW
Logged

matan45

  • Newbie
  • *
  • Offline Offline
  • Posts: 14
Re: Collada files
« Reply #3 on: November 02, 2017, 09:23:29 »

I use this https://lwjglgamedev.gitbooks.io/3d-game-development-with-lwjgl/content/chapter27/chapter27.html
and it load the model and the animation but I have 2 problems
1 is not load the texture
2 the fps is drop to 20 when I play the animation
Logged