Author Topic: g3dviewer screenshots (sometimes) broken  (Read 1040 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
g3dviewer screenshots (sometimes) broken
« on: 9 May 2011, 16:47:45 »
If, on SVN head, I run the following one-liner from within the directory I checked MG out to, I get to see a broken image about every third time I run this command:

Code: [Select]
rm -f /tmp/guard-full.png; mk/linux/megaglest_g3dviewer --load-unit=data/glest_game/techs/megapack/factions/romans/units/general,stop_skill,attack_skill --load-model-animation-value=0.5 --load-particle-loop-value=8 --zoom-value=1 --rotate-x-value=318 --rotate-y-value=6 --auto-screenshot=disable_grid,saveas-/tmp/guard-full.png; eog /tmp/guard-full.png

When it breaks, its looks will differ, so this is just one example:


I'm on Ubuntu 11.04 x86_64 and have an ATI GPU:

Code: [Select]
$ glxinfo | grep -E '^OpenGL \w+ string:'
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RV560
OpenGL version string: 2.1 Mesa 7.10.2
$
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: g3dviewer screenshots (sometimes) broken
« Reply #1 on: 16 May 2011, 13:15:17 »
I think its fixed in svn rev #2262, please test and report back.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: g3dviewer screenshots (sometimes) broken
« Reply #2 on: 16 May 2011, 16:09:16 »
Yes, almost.



If you take a look at the bottom of this image there are still issues with transparency there, This still happens most of the time I try to generate this image. But it's good that the model by itself always displays correctly now. :)
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything