Page 1 of 1

[Fixed] Skins on models breaking

Posted: Tue Apr 03, 2018 3:11 am
by so19
So using v2.1.0 certain model skins are all black - I can’t seem to fix for love nor money. Exact same code and models works perfectly on v1.36c:
shot03.jpg
shot03.jpg (21.79 KiB) Viewed 13797 times
shot01.jpg
shot01.jpg (19.61 KiB) Viewed 13797 times
Seems to affect some models that are md3 format originally - though saving and loading as md2 doesn’t fix it. Spent 3 useless hours last night trying to solve.

Help!?

Re: Skins on models breaking

Posted: Fri Apr 06, 2018 9:04 pm
by Corbachu
Does turning on or off OpenGL3 help at all? And have you checked the debugfile to make sure the skins are loaded properly? Finally, are you using additional skins for normal or specular maps?

Re: Skins on models breaking

Posted: Fri Apr 06, 2018 9:06 pm
by Corbachu
Oh, also, what version of EDGE are you using? Test3, or one of the devbuilds?

Re: Skins on models breaking

Posted: Fri Apr 06, 2018 11:02 pm
by so19
Hi

Open GL3 does nothing to fix the skins and makes the game super laggy. I’m using models/ddf code from an old mod called Abrasion.

I’m using Test3 version of the latest build.

I’m confident skins are properly set up as the models display perfectly in older builds of the engine. Any further tips on how to check if I’m using a specular map or another skin?

I have noticed on closer inspection that it almost appears the skin is somehow inverted and displaying on the inside (if that makes sense). I tried changing the direction of the normals in the md3 (which causes the model not to show at all)

Thanks

SO19

Re: Skins on models breaking

Posted: Thu May 24, 2018 5:59 pm
by Corbachu
Try using the latest Devbuild (r7804) and tell me if the issue is corrected now.

Re: Skins on models breaking

Posted: Wed Nov 07, 2018 1:23 pm
by so19
I’ve figured it out (but can’t fix it). Seems newer builds of the engine are drawing the back faces of models whereas maybe this wasn’t previously the case. In this instance this is making the models render incorrectly

Re: [Fixed] Skins on models breaking

Posted: Sun Aug 16, 2020 10:16 am
by Corbachu
Fixed @c665e63.