Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Texture loading fails in "Appearance" customisation #94

Closed
OdyX opened this issue Dec 17, 2012 · 22 comments
Closed

Texture loading fails in "Appearance" customisation #94

OdyX opened this issue Dec 17, 2012 · 22 comments

Comments

@OdyX
Copy link
Contributor

@OdyX OdyX commented Dec 17, 2012

When one enters the game and clicks "Appearance", the initial "head" appears correctly, but after any change (color, glasses, …), the head is displayed "white". Same if one clicks to customize the suit, that is also white (but the backpack isn't).

colobot_appearance_textures_broken

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Jan 16, 2013

For me if works fine.

@OdyX
Copy link
Contributor Author

@OdyX OdyX commented Jan 21, 2013

krzys-h: Does it work fine in Windows or "all platforms" for you ?

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Feb 8, 2013

I've tested this only on win32

@ito725
Copy link

@ito725 ito725 commented Feb 19, 2013

Linux bug. looks same as picture for me.

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Mar 14, 2013

I can corfim this bug on linux. Still works fine on windows.
Zrzut ekranu z 2013-03-14 21:23:34

@Erihel
Copy link
Contributor

@Erihel Erihel commented Mar 14, 2013

What GPU and drivers?

BTW When I push standard button sliders value changes but texture doesn't. When i click something else it changes texture.

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Mar 15, 2013

This is issue #126.
I'll give some info about my hardware & drivers later.

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Apr 7, 2013

This might be fixed in ff97de5.
Could somebody check it on linux? I currently can't do this.

@krzys-h
Copy link
Member

@krzys-h krzys-h commented May 6, 2013

I've chcecked: That commit didn't fixed it, this issue still exist :(

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Jun 15, 2013

It looks like it was fixed some time ago. Closing.

@krzys-h krzys-h closed this Jun 15, 2013
@krzys-h
Copy link
Member

@krzys-h krzys-h commented Jun 15, 2013

That still doesn't work - I'm not sure why but it worked when I tested this...

@krzys-h krzys-h reopened this Jun 15, 2013
@krzys-h
Copy link
Member

@krzys-h krzys-h commented Dec 22, 2013

After 6 months, this bug still exists...

@MohamedWaheed
Copy link
Contributor

@MohamedWaheed MohamedWaheed commented Jun 25, 2014

i have experienced this on the machine i use , ubuntu 14.04 , intel g41 card

but now when i tested this at my home , ubuntu 12.04 , nvidia 660 card , it works just fine!

what sorcery is this :D ?

@ghost
Copy link

@ghost ghost commented Oct 27, 2014

I never experienced this in Linux Mint Qiana and GeForce 8600M GT with NVIDIA X Server drivers.

@ghost ghost added the Needs verification label Oct 27, 2014
@ghost
Copy link

@ghost ghost commented Nov 12, 2014

After some recent changes in dev branch, I can confirm this in Windows builds.

When I first launched the game:
tekstury astronauty

And when I checked the "Standard" button:
tekstury astronauty 2

Maybe sth wrong after move human.png from data/textures/ into data/textures/objects/ ? Maybe some functions still searching this texture in previous location?

@ghost
Copy link

@ghost ghost commented Nov 12, 2014

After change to any color of the suit and strip, everything back to normal.

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Nov 12, 2014

It still doesn't work for me at all, even in previous builds. I'll have a look through.

@krzys-h krzys-h self-assigned this Nov 12, 2014
krzys-h added a commit that referenced this issue Nov 12, 2014
Issue #94
I beleive there is a better fix, I just can't find it because I don't fully understand the graphics engine.
I'll leave this issue open for @piotrdz to take a look at when he comes back
@krzys-h
Copy link
Member

@krzys-h krzys-h commented Nov 12, 2014

As said in the commit description:

I beleive there is a better fix, I just can't find it because I don't fully understand the graphics engine.
I'll leave this issue open for @piotrdz to take a look at when he comes back

@ghost
Copy link

@ghost ghost commented Nov 13, 2014

Strange. On newest Windows build now it's working for me. Even if I click on "Standard" button. Maybe this was related to that bug with no-animation in the tracked bots and PowerCells?

@krzys-h
Copy link
Member

@krzys-h krzys-h commented Nov 13, 2014

I said I've fixed it, but it'z not a clean fix and I hope @piotrdz will find a better one.

piotrdz added a commit that referenced this issue Nov 22, 2014
@piotrdz
Copy link
Contributor

@piotrdz piotrdz commented Nov 22, 2014

Well, it turns out the cause of this bug, and I suspect some other bugs as well, was an embarrassingly stupid coding mistake that I've fixed in last commit. It should be finally fixed now.

@krzys-h krzys-h closed this Nov 22, 2014
@krzys-h
Copy link
Member

@krzys-h krzys-h commented Mar 22, 2015

I've just tested and it's broken again after f30592b

@krzys-h krzys-h reopened this Mar 22, 2015
krzys-h added a commit that referenced this issue Mar 22, 2015
krzys-h added a commit that referenced this issue Jul 20, 2015
It was so simple, wasn't it?
Additionaly:
* fixed texture recoloring after changing texture settings while simulation is running
* fixed annoying "could not open textures/shadow*.png" messages
* don't ChangeColor() if not in simulation to reduce lag in settings
@krzys-h krzys-h closed this Jul 20, 2015
@krzys-h krzys-h assigned krzys-h and unassigned piotrdz Jul 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants