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

0 Members and 1 Guest are viewing this topic.

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Cockpit glass issue on mediavps ships
any way to force a texture to use a particular cubemap instead of the one the game generates? then we could pre-render a cubemap for use with that texture give it something like texturename-cube.dds. would be useful for cockpits and hanger bays where the outside world is invisible. maybe somehow do a composite with the outside map so you can have transparent areas where the outside shines through.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: Cockpit glass issue on mediavps ships
I don't know if this is related in any way, but I just had a very interesting episode with skyboxes where if both sides of the cube's faces were mapped, the result was that the apparent brightness of the maps doubled, since apparently the engine rendered the textures twice and with additive blending it doubled the pixel values... :nervous:

htsb-new.7z (this model suffers from the issue)
htsb-newer.7z (this model has it solved...)
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline Cobra

  • 212
  • Snake on a Cain
    • Skype
    • Steam
    • Twitter
Re: Cockpit glass issue on mediavps ships
Isn't the cockpit glass mapped on both sides already when a model calls for the "invisible" texture? Or have I completely missed that discussion already?
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 Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Steam
    • Twitter
    • ModDB Feature
Re: Cockpit glass issue on mediavps ships
cubemap.dds is already a pregenerated map for use in F3.

For the ksybox, I believe a static cubemap can be made for each one, but I 'm not sure on the details.
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
I have reproduced the issue with disabled shaders and specular maps.

As you can see, the problem is still there, so it's most likely an engine issue.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Cockpit glass issue on mediavps ships
I've been noticing it as well with the models I've been working on.  Appear fine in PCS2 but can't see through the canopy ingame.  Was just playing and notice if I tick disable lighting in the tech room the canopy is transparent again. 
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 FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Cockpit glass issue on mediavps ships
Additional update.  It also seems to be driver or video card related.  I'm on an older system with a Radeon 9800 Pro AGP 128 meg and no problem with the cockpit glass here.
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 Cobra

  • 212
  • Snake on a Cain
    • Skype
    • Steam
    • Twitter
Re: Cockpit glass issue on mediavps ships
I'm on a geforce 8600 GT 256MB and I have no problems apart from backgrounds being rendered on the inside too.
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 taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Cockpit glass issue on mediavps ships
I have only skimmed the thread, so excuse me if I'm missing something with this, but it is pretty trivial to simply disable env and spec textures when rendering the cockpit.  When I rewrote the ships lab code I added override vars to disable particular maps or features, so we can just set a couple of these before rendering the cockpit and then just turn them back on when it's done.  The changes would be maybe 4-5 lines at most.  I'm not sure whether or not that would solve the issues completely but it should reduce them at least. 

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Cockpit glass issue on mediavps ships
The pic on this side has disabled env and spec.
You're right though, as it would make the issue nonexistant on ships with standard glass.
The ones with orange glass would still suffer from this issue, but using an ugly hack mentioned earlier just on them should be more acceptable.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Cockpit glass issue on mediavps ships
I'm on a geforce 8600 GT 256MB and I have no problems apart from backgrounds being rendered on the inside too.

Is the background that is rendered on the inside from below the ship?  That's what I was getting in one test.  The outline of the planet below the ship could clearly be seen on the top outside of the glass. 
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 Cobra

  • 212
  • Snake on a Cain
    • Skype
    • Steam
    • Twitter
Re: Cockpit glass issue on mediavps ships
Yep. In some cases it gets doubled due to the texture mirroring.
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