Author Topic: Model format routines  (Read 2791 times)

zhuaple

  • Guest
Model format routines
« on: 27 February 2006, 22:31:55 »
What files are responsible for glest model format? Is it necesseray to modify renderer if i want to add support for some other model format?
« Last Edit: 1 January 1970, 00:00:00 by zhuaple »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #1 on: 27 February 2006, 22:56:21 »
You should not need to do that, you just need to write a new load function in model.h/cpp now there is just one called loadG3d.
« Last Edit: 1 January 1970, 00:00:00 by martiño »

zhuaple

  • Guest
(No subject)
« Reply #2 on: 27 February 2006, 22:57:10 »
What if i plan to use bones?
« Last Edit: 1 January 1970, 00:00:00 by zhuaple »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #3 on: 27 February 2006, 23:02:37 »
That should be much more difficult, Glest only supports morphing animation, you will have to write your own renderer.
« Last Edit: 1 January 1970, 00:00:00 by martiño »

zhuaple

  • Guest
(No subject)
« Reply #4 on: 27 February 2006, 23:06:28 »
What files are responsible for the renderer?
« Last Edit: 1 January 1970, 00:00:00 by zhuaple »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #5 on: 28 February 2006, 22:38:07 »
renderer.h/cpp, but also model.h/cpp
« Last Edit: 1 January 1970, 00:00:00 by martiño »