|
|

  - [June 01, 2011, 07:27:52 AM]
|
« Reply #4 on: June 01, 2011, 07:27:52 AM »
lirmont you are a great help! I was not able to load this model in tethical, got this error: kivutar@optiplex:~/code/tethical/client$ python2.6 main.py DirectStart: Starting the game. Known pipe types: glxGraphicsPipe (all display modules loaded.) [wav @ 0xaadeca80]Estimating duration from bitrate, this may be inaccurate [wav @ 0xaadef330]Estimating duration from bitrate, this may be inaccurate Client listening on 127.0.0.1 : 3001 Assertion failed: do_has_ram_mipmap_image(n) at line 3023 of panda/src/gobj/texture.cxx Exception occurred while processing Func-battle_init-6 of Sequence-6: Sequence-6: 0.000 Sequence-6 { 0.000 LerpColorInterval-6: color from 0 0 0 0 to 0 0 0 1 dur 2 2.000 *Func-destroy-4 2.000 *Func-stop-5 2.000 *Func-battle_init-6 2.000 }
Traceback (most recent call last): File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 1634, in __ivalLoop IntervalManager.ivalMgr.step() File "/usr/share/panda3d/direct/interval/IntervalManager.py", line 96, in step self.__doPythonCallbacks() File "/usr/share/panda3d/direct/interval/IntervalManager.py", line 119, in __doPythonCallbacks ival.privPostEvent() File "/usr/share/panda3d/direct/interval/MetaInterval.py", line 505, in privPostEvent self.__doPythonCallbacks() File "/usr/share/panda3d/direct/interval/MetaInterval.py", line 481, in __doPythonCallbacks ival.privDoEvent(t, eventType) File "/usr/share/panda3d/direct/interval/Interval.py", line 207, in privDoEvent self.privInstant() File "/usr/share/panda3d/direct/interval/FunctionInterval.py", line 88, in privInstant self.function(*self.extraArgs, **self.kw) File "main.py", line 346, in battle_init terrain = loader.loadModel( 'models/maps/'+self.party['map']['model'] ) File "/usr/share/panda3d/direct/showbase/Loader.py", line 159, in loadModel node = self.loader.loadSync(Filename(modelPath), loaderOptions) AssertionError: do_has_ram_mipmap_image(n) at line 3023 of panda/src/gobj/texture.cxx :task(error): Exception occurred in PythonTask ivalLoop Traceback (most recent call last): File "main.py", line 983, in <module> run() File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 2531, in run self.taskMgr.run() File "/usr/share/panda3d/direct/task/Task.py", line 496, in run self.step() File "/usr/share/panda3d/direct/task/Task.py", line 454, in step self.mgr.poll() File "/usr/share/panda3d/direct/showbase/ShowBase.py", line 1634, in __ivalLoop IntervalManager.ivalMgr.step() File "/usr/share/panda3d/direct/interval/IntervalManager.py", line 96, in step self.__doPythonCallbacks() File "/usr/share/panda3d/direct/interval/IntervalManager.py", line 119, in __doPythonCallbacks ival.privPostEvent() File "/usr/share/panda3d/direct/interval/MetaInterval.py", line 505, in privPostEvent self.__doPythonCallbacks() File "/usr/share/panda3d/direct/interval/MetaInterval.py", line 481, in __doPythonCallbacks ival.privDoEvent(t, eventType) File "/usr/share/panda3d/direct/interval/Interval.py", line 207, in privDoEvent self.privInstant() File "/usr/share/panda3d/direct/interval/FunctionInterval.py", line 88, in privInstant self.function(*self.extraArgs, **self.kw) File "main.py", line 346, in battle_init terrain = loader.loadModel( 'models/maps/'+self.party['map']['model'] ) File "/usr/share/panda3d/direct/showbase/Loader.py", line 159, in loadModel node = self.loader.loadSync(Filename(modelPath), loaderOptions) AssertionError: do_has_ram_mipmap_image(n) at line 3023 of panda/src/gobj/texture.cxx :interval(warning): Losing outstanding events for Sequence-6 dur 2But it worked well in panda viewer with the same graphic card. Did you have to mod the client code to get it running? Your map made me wonder how to export official map animations. Too bad wavefront obj does not support animation. Maybe we could write an egg animation exporter, and past the result our current egg files. Or modding your obj exporter to directly export eggs? What do you think? Official maps support 3 types of animations: - Texture animation
- Palette animation
- Vertex animation
Thanks.
|
|
|