Author Topic: [No Bug]"Bull" unit  (Read 2175 times)

Carl the Great

  • Technician
  • ****
  • Posts: 149
  • This is the personal text section of my profile.
    • View Profile
[No Bug]"Bull" unit
« on: 12 February 2015, 22:53:04 »
The texture of Bull from the Megapack (Indians faction) needs a rotation and a flip, literally; I tried it, but the team color is no longer present.
« Last Edit: 13 March 2015, 13:27:14 by titi »
Thanks!  ;)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: "Bull" unit
« Reply #1 on: 13 February 2015, 22:28:18 »
Can you elaborate? I'm not sure how one would rotate and flip the below texture:

Edit the MegaGlest wiki: http://docs.megaglest.org/

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

Carl the Great

  • Technician
  • ****
  • Posts: 149
  • This is the personal text section of my profile.
    • View Profile
Re: "Bull" unit
« Reply #2 on: 13 February 2015, 22:58:34 »
The Indian "Bull" texture should be the same position as the Tech "Cow" texture.

Omega, that's the right rotation/flip combination (180 degree rotation then a horizontal flip--combined to be a single vertical flip?). Now you can test the Bull model, you can see its eyes now. Just the problem is the teamcolor texture.
Thanks!  ;)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: "Bull" unit
« Reply #3 on: 15 February 2015, 08:39:24 »
Huh, that's interesting, because the bull texture *is* in the same orientation as the cow texture already.

I'm not sure what's going on with these textures. Dropping the cow texture into the folder makes it look correct. Only difference is that the cow texture uses the png extension (why do we even use TGA anymore?).

In fact, this seems to be entirely a file extension issue. Nothing that I did to the TGA worked. But when I saved as a PNG, I get closer to the expected results. I only tested in the G3D viewer, so it might just be a bug there. Here it is with the file extension changed, only (no rotating or anything):



Regarding the team color, this seems correct as the texture shows. I'm not sure why the author chose to add team color to its butt, though. Really, the whole texture could use to be redone. It's so dark that it pretty much just appears to be almost a uniform black (with team color).
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: "Bull" unit
« Reply #4 on: 16 February 2015, 15:52:22 »
I did not look at it in blender yet, but its definitly png in 3.11.0 and later because we automatically converted them all.: https://github.com/MegaGlest/megaglest-data/tree/develop/techs/megapack/factions/indian/units/bull/models

About the texture itself: IT is a VERY old texture which was made by me when I did not even know how to use gimp correctly! Looking at it in detail is horrible like for all the indian texture, this is nothing new. They were made by me ( as a complete noob using gimp 8 years ago ) and by my son who was 9 years old when he painted those things.  Its possible that this texture is horrible wrong, but looking at it in the game is typically ok( for my opinion ) . If people think they can can contribute something better they are welcome.

Update: The bull was meant to be black like the night :D . Here I first showed it: http://titusgames.de/news2007.html#firstmod

UPDATE2: Now I see the problem :-( . This was made bei MGs autoconversion to png via commandline. Lets hope there are not tons of wrong pngs now :-(.
It was this commit done by me which did it :-/ : https://github.com/MegaGlest/megaglest-data/commit/ac5b4b29f8938500727efa3ddb61637377a2048c#diff-1567bc45efe1f3758f283e602db998bb

UPDATE3: It is not as bad as I first thought. The textures orientation is correct now, but what happend?: I originally made the texture like Omega showed it here, but it looked bad. For whatever reason my son or me accidently rotated the texture, but we decided that it looks good. What exactly happened now with the png is ugly, but it shows the texture like it was meant. as I stated above, yes its crappy, but it is like it is at the moment
« Last Edit: 17 February 2015, 00:29:05 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Carl the Great

  • Technician
  • ****
  • Posts: 149
  • This is the personal text section of my profile.
    • View Profile
Re: "Bull" unit
« Reply #5 on: 28 February 2015, 03:37:14 »
Excellent, you just gave me the cause of the unusual texture of the Bull; a vertical flip, I assumed before? I recommend a retexture of it at the next release.
Thanks!  ;)