Author Topic: More transparency wierdness with new builds  (Read 3129 times)

0 Members and 1 Guest are viewing this topic.

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
More transparency wierdness with new builds
First there was this bug with transparant texture turrets going to 0,0,0
Now I noticed that every glass texture is completely transparent (no matter how I try and alter the texture itself, glass is always completely transparent)

With RC5


With Swifty's gpu awesomeness build
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: More transparency wierdness with new builds
I noticed that too. My GLASS_SOLID.dds texture which has a completely opaque alpha channel is...transparent like regular glass >.>
(´・ω・`)
=============================================================

 

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: More transparency wierdness with new builds
dont call it GLASS. Its a heuristic in the code that makes all textures called glass ( case insensitive) transparent.
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: More transparency wierdness with new builds
dont call it GLASS. Its a heuristic in the code that makes all textures called glass ( case insensitive) transparent.
mah boi, this glass has been the same one that is found in the mediavp's. It has been pitch black for all this time. Why did it suddenly turn completely transparant inbetween builds?
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: More transparency wierdness with new builds
Dunno what to say here. I know that I can see no such error on RC5 or any other build, using MVP data.

Second,
Quote
First there was this bug with transparant texture turrets going to 0,0,0
is this in Mantis? Cos this is the first time I have heard of this.

I sure would like some test data with which to reproduce this though.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: More transparency wierdness with new builds
mah boi

This transparency is what all true warriors strive for.

Srsly tho its probable that swifty didnt take care of my transparency render deferring in his new render code. Cause it seems to me that this only happens in his build right?

and the "dont call it glass" was for droid
« Last Edit: April 30, 2012, 12:47:25 pm by Valathil »
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline Legate Damar

  • Keeping up with the Cardassians
  • 29
  • Hail Cardassia!
Re: More transparency wierdness with new builds
Sure you don't want to just keep that effect? I like it.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: More transparency wierdness with new builds
it looks like crap. why keep something that looks like crap. its a bug it should be fixed, not passed off as a feature.
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 Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: More transparency wierdness with new builds
Dunno what to say here. I know that I can see no such error on RC5 or any other build, using MVP data.
It doesn't happen with RC5 (as demonstrated by the screenshot) but it definitely happens with somewhat more recent builds. I'd love to tell you from which commit or nightly number it happens but eh... no nightlies...
My only real guess is that this started happening after Valathil's change to transparency rendering.

Also, the majority of the MVP assets have the glass cockpit as part of the uvmap. That's why you won't suddenly see vasudan fighters with completely transparent cockpits in there.

Second,
Quote
First there was this bug with transparant texture turrets going to 0,0,0
is this in Mantis? Cos this is the first time I have heard of this.

I sure would like some test data with which to reproduce this though.
http://www.hard-light.net/forums/index.php?topic=80558.0
Quote from: Swifty
This is a result of the transparency fix that was done by Valathil a few months back. When the transparency code is saving submodels to render last, the code is only saving the submodel's matrix relative to it's parent while not even saving model offsets. That's fine for any transparency submodels that are direct children of the main detail model and don't have an offset other than (0, 0, 0). Any transparent models that go deeper than one past detail0 and positioned elsewhere on the model will look incorrect.
Enabling Merged index buffers fixes this problem ingame though. (Not in the shiplab)
I didn't put it on mantis, since Swifty and Valathil are aware of it (and I think the most likely candidates to fix it)

mah boi
This transparency is what all true warriors strive for.
  ;)

Srsly tho its probable that swifty didnt take care of my transparency render deferring in his new render code. Cause it seems to me that this only happens in his build right?
Nein, it also happens with the first test build for the enabled weapon flyby sound that you gave me and such.
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: More transparency wierdness with new builds
Quote
It doesn't happen with RC5 (as demonstrated by the screenshot) but it definitely happens with somewhat more recent builds. I'd love to tell you from which commit or nightly number it happens but eh... no nightlies...
My only real guess is that this started happening after Valathil's change to transparency rendering.

So, why am I not seeing this with the BP models, using BP builds?

Quote
Also, the majority of the MVP assets have the glass cockpit as part of the uvmap.
What about the ones that are not set up this way, like the Ulysses, the Herc 2, the Pegasus, the Erinyes, the Ares....? They look fine to me....
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: More transparency wierdness with new builds
I dunno bro, you are an expert in coding, you tell me.
All I know that stuff suddenly changed between builds without me doing anything.
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: More transparency wierdness with new builds
I could fix it but id need both trunk and swifties code to compare and have an asset where it appears. (Includes the turret bug. Tho is was really sure when i coded that that it handled all depths of transformations but oh well).
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

 

Offline Valathil

  • ...And I would have had a custom title if it wasn't for you meddling kids!
  • 29
  • Custom Title? Wizards need no Custom Title!
Re: More transparency wierdness with new builds
"Fixed" in trunk. "Fixed" because it breaks Lightshafts for cockpit models with glass polies that dont use the "-trans" keyword in their texture names. Lets see how many people complain about that then maybe there will be a fix.
┏┓╋┏┓╋╋╋╋╋╋╋╋╋┏┓
┃┃╋┃┃╋╋╋╋╋╋╋╋╋┃┃
┃┃┏┫┃┏┳━━┓┏━━┓┃┗━┳━━┳━━┳━━┓
┃┃┣┫┗┛┫┃━┫┃┏┓┃┃┏┓┃┏┓┃━━┫━━┫
┃┗┫┃┏┓┫┃━┫┃┏┓┃┃┗┛┃┗┛┣━━┣━━┃
┗━┻┻┛┗┻━━┛┗┛┗┛┗━━┻━━┻━━┻━━┛

  

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: More transparency wierdness with new builds
This too seems to be fixed.

Thanks for the hard work
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them