Author Topic: [fixed] g3d_viewer produces empty images  (Read 918 times)

MuwuM

  • Ornithopter
  • *****
  • Posts: 426
  • No Game without Move(ment)
    • View Profile
    • MuwuM - Lexicons
[fixed] g3d_viewer produces empty images
« on: 4 January 2012, 19:43:58 »
This code creates empty images (everything is transparent, there is no model)
Code: [Select]
megaglest_g3dviewer --load-unit=scenarios\0_battleglest\battleglest\factions\%%i\units\%%i,stop_skill,attack_skill --load-model-animation-value=0.5 --load-particle-loop-value=8 --zoom-value=1.22 --rotate-x-value=-39 --rotate-y-value=21  --auto-screenshot=disable_grid,saveas-scenarios/0_battleglest/grafiks/avatars/%n%.png
without the --auto-screenshot the image is correctly loaded in g3dviewer.

System is Windows Vista 32bit, SVN-Head 3035
« Last Edit: 4 January 2012, 22:18:52 by MuwuM »

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: g3d_viewer produces empty images
« Reply #1 on: 4 January 2012, 19:59:53 »
Try svn again and paste the output here (lets see what the file path used was)

MuwuM

  • Ornithopter
  • *****
  • Posts: 426
  • No Game without Move(ment)
    • View Profile
    • MuwuM - Lexicons
Re: g3d_viewer produces empty images
« Reply #2 on: 4 January 2012, 20:16:32 »
Code: [Select]
newAnimValue = 0.500000
Screenshot option [disable_grid]
Loading unit from file [scenarios\0_battleglest\battleglest\factions\arbol_alma\
units\arbol_alma/arbol_alma.xml] fileFound = 1
Found skill [stop_skill]
Found skill model [scenarios\0_battleglest\battleglest\factions\arbol_alma\units
\arbol_alma/models/archmage_standing.g3d]
Added skill model [scenarios\0_battleglest\battleglest\factions\arbol_alma\units
\arbol_alma/models/archmage_standing.g3d]
Auto exiting app...
Screenshot option [saveas-scenarios\0_battleglest\grafiks\avatars\0.png]

It is fixed now (SVN: 3037)
« Last Edit: 4 January 2012, 22:19:33 by MuwuM »

 

anything