Author Topic: [fixed] splash particles visible in fog of war ( 3.8.0 beta1 )  (Read 694 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,226
    • View Profile
    • http://www.titusgames.de
Splash particles are visible in fog of war.

To see it setup a game like this:

map conflict:
you on slot 0 team0
cpu-ultra on slot 2 team1
cpu-ultra on slot 3 team2

now look to the place where teh two CPU players are . As they are close to each other they will instantly see each other and start to fight adn you see all teh splash particles in the dark...
« Last Edit: 19 September 2013, 22:17:31 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: splash particles visible in fog of war ( 3.8.0 beta1 )
« Reply #1 on: 16 September 2013, 17:08:40 »
AKA last long-standing bug in the list at https://forum.megaglest.org/index.php?topic=7243.0
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 · · ·

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,226
    • View Profile
    • http://www.titusgames.de
Re: splash particles visible in fog of war ( 3.8.0 beta1 )
« Reply #2 on: 18 September 2013, 08:57:32 »
Hm, ok, I think these particles were needed for damage calculation and thats why they are shown.
If this is the case, would it be an option to just don't render those particles ? SO calculation yes, render no.
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Re: splash particles visible in fog of war ( 3.8.0 beta1 )
« Reply #3 on: 19 September 2013, 20:05:16 »
I have added some code (but commented out the actual non rendering). What is the unit is not visible but the particle should be visible because it is a projectile? The current code i have hides the particle of the unit is hidden from view (thus it is commented out).

I'm not sure there is an easy solution for this.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,226
    • View Profile
    • http://www.titusgames.de
Re: splash particles visible in fog of war ( 3.8.0 beta1 )
« Reply #4 on: 19 September 2013, 22:04:47 »
should be fixed in svn ( rev 4554)
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios