Author Topic: Cockpit glass issue on mediavps ships  (Read 7164 times)

0 Members and 1 Guest are viewing this topic.

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Cockpit glass issue on mediavps ships
I have been trying to enable cockpits in BP: AoA and ran into a problem when testing them on Erynies.

It looks like the glass suddenly become visible on both sides instead of just outside, it did not happened when I enabled cockpits some time ago and played many campaigns with them.
It seems that it's also similar to the problem described here: http://www.hard-light.net/forums/index.php?topic=58443.0
AoA did not altered Erynies model in any way, nor it's textures.
I had experienced this problem on Steve-o's fighters several times before (this time XA on versions, in all ther incarnations, including originals, BP versions and my own reskins), so this may be either a common model issue or a code problem.
I've tested it on 3.6.10 build, the issue presisted.
So far, I confirmed it on Ulysses, Ursa, Herc II and Erynies, using only empty mission and mediavps.
If I made a wrong choice when chosing the board to post it on, feel free to move it where it belongs.

 

Offline Cobra

  • 212
  • Snake on a Cain
    • Skype
    • Steam
    • Twitter
Re: Cockpit glass issue on mediavps ships
Yeah, the background gets reflected on the inside of the cockpits as well now. I personally have no idea what causes it.
To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of Chios
I wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Cockpit glass issue on mediavps ships
Well at a guess i'd say somewhere, there's an environment map for the Erinyes glass.
 
Might be worth checking.
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Steam
    • Twitter
    • ModDB Feature
Re: Cockpit glass issue on mediavps ships
gold-glass.dds does have a -shine map for use on the outside. Always has.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Cockpit glass issue on mediavps ships
Yes, and that was not a problem.
Erynies is an usefull example, as it shows that entire glass showed up, not just the shine map.
With the solid orange plate blocking the entire view regardless of ship's position it's fairly obvious.
Is there any chance to get it fixed?

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Steam
    • Twitter
    • ModDB Feature
Re: Cockpit glass issue on mediavps ships
Uhh. Again, the same texture is there that has been there since at least 3.6.8.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Cockpit glass issue on mediavps ships
Shine and environment are different though aren't they?  :confused:
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Steam
    • Twitter
    • ModDB Feature
Re: Cockpit glass issue on mediavps ships
ENV is based off the -shine and requires -spec in use to use.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Cockpit glass issue on mediavps ships
I don't think it's a MVPs issue, but rather a change in the way the engine renders things.
This started surfacing along with 3.6.10. In 3.6.9, one-faced planes would only show up on the correct one side, but for whatever reason, after 3.6.10, it gets rendered on both sides. So now we have reflections on the inside, and the older versions of Steve-O's fighters (with the solid cockpit) becomes solid, where I never had that issue before 3.6.10.
(´・ω・`)
=============================================================

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Steam
    • Twitter
    • ModDB Feature
Re: Cockpit glass issue on mediavps ships
I wonder what it does under fixed render pipeline then.

As it might (though I could be wrong here) be related to the way the shader system is doing things.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Cockpit glass issue on mediavps ships
This started surfacing along with 3.6.10. In 3.6.9, one-faced planes would only show up on the correct one side, but for whatever reason, after 3.6.10, it gets rendered on both sides.
Would that be possible to revert that change?
It makes usage of cockpits practically impossible.

 

Offline Woolie Wool

  • 211
  • Fire main batteries
Re: Cockpit glass issue on mediavps ships
I used a hack for Wings that gets around this, taking a version of the model with the "invisible" texture for the glass and using it as an external cockpit POF.
16:46   Quanto   ****, a mosquito somehow managed to bite the side of my palm
16:46   Quanto   it itches like hell
16:46   Woolie   !8ball does Quanto have malaria
16:46   BotenAnna   Woolie: The outlook is good.
16:47   Quanto   D:

"did they use anesthetic when they removed your sense of humor or did you have to weep and struggle like a tiny baby"
--General Battuta

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Cockpit glass issue on mediavps ships
That's an ugly hack we shouldn't need. Is source of the problem in fs2_open? If yes, this topic probably needs to be moved there.

  

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Cockpit glass issue on mediavps ships
I used a hack for Wings that gets around this, taking a version of the model with the "invisible" texture for the glass and using it as an external cockpit POF.
I also wanted to use that, but the rest of the team decided that it would be better to fix the problem than to get around it.
And yes, it's an FS2_Open problem, seemingly dating back to 3.6.10 nightlies, in which it started to appear.
I guess that moving it may get attention of the coders, who should be fixing such issues now.

 

Offline Kolgena

  • 211
Re: Cockpit glass issue on mediavps ships
Try turning down your launcher flags dealing with spec. A lot.

I think it was -spec_static. I used to have solid mirror canopies on all my fighters because of a spec_static of like 3. Not sure if it'll help in your case, but it's worth a shot.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Cockpit glass issue on mediavps ships
How is there any reflection at all?  Is the inside of the glass mapped somehow?  If it's not mapped it shouldn't be showing up.  If it is mapped and has some sort of shine applied to it, it's going to reflect.  Maybe the maps were always broken and the engine fixed something so that they reflect as they should now?  Just throwing some thoughts out there.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Cockpit glass issue on mediavps ships
Is the inside of the glass mapped somehow?  If it's not mapped it shouldn't be showing up. 
I think that it isn't mapped, so it should not show up, jet it does.
That's why I'm asking SCP to fix that.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Cockpit glass issue on mediavps ships
Just tore apart  the Ery from the MVPs.  Absolutely no inward facing normals on the polys that make up the cockpit glass.  Don't appear to be any on the helmet visor (which the eye point may or may not be inside) either. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Cockpit glass issue on mediavps ships
I wonder if the specular effect itself is visible from both sides of a surface.  Not as if it was mapped from the inside, but the effect generated on the outside via the specular shader.  That'd be odd indeed, wouldn't it?  But perhaps someone made this change specifically for glass surfaces.  Does this happen with GLSL disabled?  I'm curious if it's a shader issue.  Even still, it could be a bug in the GLSL code itself and not the shader.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Cockpit glass issue on mediavps ships
Well I know you can see reflections on the glass from the inside.  For most things it's kind of cool but for things like maneuvering thrusters it's not quite so much a feature.  You can't see the thruster itself but you can see the glow it causes so there might just be something to that. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras