MegaGlest Forum
MegaGlest => Bug reports => Topic started by: tomreyn on 5 January 2012, 02:39:54
-
Running this...
./megaglest_g3dviewer --load-unit="../../data/glest_game/techs/megapack/factions/egypt/units/pyramid",stop_skill,attack_skill --load-model-animation-value=0.5 --load-particle-loop-value=8 --zoom-value=0.33 --rotate-x-value=20 --rotate-y-value=20 --auto-screenshot=disable_grid,saveas-weird-pyramid.png
...gives me this image:
(http://freeit.org/glest/screens/weird-pyramid.png)
Also, running this:
./megaglest_g3dviewer --load-unit="../../data/glest_game/techs/megapack/factions/egypt/units/pyramid",stop_skill --auto-screenshot=saveas-standard-pyramid.png
...gives me this image:
(http://freeit.org/glest/screens/standard-pyramid.png)
On both images the layering seems to be wrong. This happens on both my ATI (r300 driver) and Intel (i915) GPUs with open source drivers.
-
Is this happening with just that one model? or Every model? If it's just that model, then probably the normals are screwed up.
I've had models before look fine ingame, but terrible in the g3d viewer.
Even if it's not just that model then it's the Viewer not rendering normals properly.
-
I have often had the same problem, whereas the exact same model looks fine on someone else's PC.
Myself, I tried tracking the bug down - was it wrong winding, or cull face or something? But no luck.
-
Is this happening with just that one model? or Every model?
The same effect is visible with every model, I only chose these for an example.