Author Topic: [(p) fixed] BUG: G3D Viewer rendering transparency in particles wrong  (Read 2147 times)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
I'm not entirely sure how to explain this, so I will use an image (which is worth a thousand words anyway).



Basically, the screenshot function is not rendering the particle systems properly. The first two images are with and without transparency. The bottom image is a screenshot of what you see in the G3D viewer. Unrelatedly, the particles looks different in the G3D viewer than in game. The smoke looks horrid in the viewer...
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: BUG: G3D Viewer rendering transparency in particles wrong
« Reply #1 on: 21 March 2011, 04:21:29 »
This may be fixed with the current viewer I checked in yesterday, perhaps someone could build on windows and try for me.

Thanks

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: BUG: G3D Viewer rendering transparency in particles wrong
« Reply #2 on: 21 March 2011, 08:58:47 »
I'm not sure if this is fixed or not in SVN HEAD, but first I think we need to fix the path of the screenshots...
It says mydata/screens/ but there is no screenshot there...

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: BUG: G3D Viewer rendering transparency in particles wrong
« Reply #3 on: 21 March 2011, 21:52:02 »
This may be fixed with the current viewer I checked in yesterday, perhaps someone could build on windows and try for me.

Thanks
Possibly. This one was the viewer included with the 3.4.0 data package. And of course, if anyone compiles a windows binary for the SVN head, could they upload it for me too?

Concerning the path of the screenshots, they save to a folder called screens. Assuming the viewer is in the MG install directory, it will save to the same folder that in-game screenshots do.

Unrelatedly, was the bug that required you to open the viewer first, then load the model before you could take a screenshot fixed? I seem to have lost the thread for it. :P
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: BUG: G3D Viewer rendering transparency in particles wrong
« Reply #4 on: 21 March 2011, 22:36:27 »
https://forum.megaglest.org/index.php?topic=6597.0
You're not using the fixed version?  :confused:
Actually, that's not true anymore...it's going to be in username/mydata/screens/
But currently it's just in normal mydata/screens/, but there are no screenshots there for me...

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: BUG: G3D Viewer rendering transparency in particles wrong
« Reply #5 on: 21 March 2011, 23:44:13 »
https://forum.megaglest.org/index.php?topic=6597.0
You're not using the fixed version?  :confused:
Actually, that's not true anymore...it's going to be in username/mydata/screens/
But currently it's just in normal mydata/screens/, but there are no screenshots there for me...
Actually, that's the one I'm using, my bad. Forgot I downloaded that one. Interestingly, it does NOT fix the problem about opening files first. You still have to open the G3D viewer, then the file. You can't just set the G3D viewer to be the default program, because then nothing happens... Rather annoying problem. Is the SVN head version possibly any better?
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: BUG: G3D Viewer rendering transparency in particles wrong
« Reply #6 on: 21 March 2011, 23:48:24 »
While I'm not sure that version fixes the transparency problem, I'm 100% sure that version fixes the loading bug, because I remember it worked for me. Please double check your viewer/association...perhaps you have to clean up the registry with ccleaner.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: BUG: G3D Viewer rendering transparency in particles wrong
« Reply #7 on: 22 March 2011, 00:02:32 »
While I'm not sure that version fixes the transparency problem, I'm 100% sure that version fixes the loading bug, because I remember it worked for me. Please double check your viewer/association...perhaps you have to clean up the registry with ccleaner.
Double and triple checked. It does not. :(
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: BUG: G3D Viewer rendering transparency in particles wrong
« Reply #8 on: 22 March 2011, 00:20:29 »
I'm sure I don't have the latest version but when viewing particles, depending on the distance the size/alpha of the particle changes... Could that be related?
Egypt Remastered!

Proof: Owner of glest@mail.com

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: BUG: G3D Viewer rendering transparency in particles wrong
« Reply #9 on: 22 March 2011, 00:30:31 »
I know for sure the transparency and the G3d file association are fixed in the svn code (I added special code for windows to enforce the file association to make sure)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: BUG: G3D Viewer rendering transparency in particles wrong
« Reply #10 on: 22 March 2011, 01:35:06 »
I know for sure the transparency and the G3d file association are fixed in the svn code (I added special code for windows to enforce the file association to make sure)
That's awesome! Now I just gotta bug someone make make a windows binary... Or I suppose I could see if I can get VS to work yet, but my luck is probably used up for the night.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: BUG: G3D Viewer rendering transparency in particles wrong
« Reply #11 on: 22 March 2011, 09:56:22 »
@archmage no, sadly that is not related.  :(
I saw this too a long time ago, but thats another problem. It happens because the g3d viewer changes the size of the model instead of the camera position!
Thats something very unusual and in my opinion a very bad idea! But thats the way the g3d viewer does it....(and the particle systems are not resized the right way.)
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios