Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3 4 5 6   Go Down

Author Topic: Barnesy12's Darkglasses mod made to fake light filter  (Read 22130 times)

0 Members and 1 Guest are viewing this topic.

santobr

  • Modder
  • member
  • Offline Offline
  • Posts: 1349
  • Senta a Pua!
    • F
Re: Barnesy12's Darkglasses mod made to fake light filter
« Reply #12 on: December 11, 2012, 09:43:19 AM »

I assume that it can be added to all cameras in the game, so that would be visible everywhere, not just from the in-cockpit view, but I’m no expert for that 3D stuff.
I think there is no need for a new 3D for each cockpit and a new solution for each camera, Benitomuso is the one for this, because something similar to this was already made in his 3D stereo mod.
Maybe you two could work together to make this dream to come true. ;)



santobr.
Logged

Avala

  • Modder
  • member
  • Offline Offline
  • Posts: 370
Re: Barnesy12's Darkglasses mod made to fake light filter
« Reply #13 on: December 11, 2012, 10:12:10 AM »

@BT~walker

Yellowish tint can be corrected very easily. It wouldn't be one file for every plane. It would be too much if each one has his own.




@Gerson

I see it now  :) I apologize, I saw it first at "better pilot redux". Lets just say that was your original idea, Barnesy place the box on the pilot's head, and I colored it in psychedelic colors  ;D



@MANYSH

Its not engine colors, unfortunately. Its just a trick, but does the job. Where that sun.class is situated? Maybe I can try something, but I'm total idiot for java and that stuff. But thanks on the tip!




@Verhangnis

Its Slovakia sumer, Maraz's Malta and mine Serbia (newer version, never posted anywhere)




@Barnesy12

I'm really glad that you liked it. Seems that it really does work for the most of the planes :) What "smoothing" exactly means? The box looks better?

For the tints there is easy way. Just edit this line in the mat file:

ColorScale 1.0 1.0 1.0 0.4

It is Red, Green, Blue channels and the last (here 0.4) is alpha channel. You cant set colors above 1, it has no effect, also at least one channel must be 1 for it to works, no all channels under 1. For example for diminishing yellow tint I would go with something like this:

ColorScale 0.8 0.9 1.0 0.4  (the blue is at 1).




@santobr

At least I can show it to the man :)




Glad that you all like the idea. Maybe it will be something out of this :)





Logged

Uufflakke

  • Modder
  • member
  • Offline Offline
  • Posts: 2078
Re: Barnesy12's Darkglasses mod made to fake light filter
« Reply #14 on: December 11, 2012, 12:02:15 PM »

I think this mod has a lot of potential.
I need to find the right settings for the whiteness because clouds and snowy landscapes are almost bright white.
But the blueish colour at far distance on winter maps gives it a good atmosphere.

When flying one of the P-51 types I happened to see this.





Logged
"The Best Things In Live Aren't Things"

shardana

  • member
  • Offline Offline
  • Posts: 850
Re: Barnesy12's Darkglasses mod made to fake light filter
« Reply #15 on: December 11, 2012, 12:30:49 PM »

do you just drop the mod in the mods folder? i have 4.09
Logged

Herra Tohtori

  • Modder
  • member
  • Offline Offline
  • Posts: 671
Re: Barnesy12's Darkglasses mod made to fake light filter
« Reply #16 on: December 11, 2012, 12:37:12 PM »

Is the pilot a different object than the plane?

I was just thinking if you added this filter box to the pilot object rather than plane, you could mayhap get the effect for every plane without having to add it to all planes separately.
Logged

MANYSH

  • Modder
  • member
  • Offline Offline
  • Posts: 381
  • Shit happend !
Re: Barnesy12's Darkglasses mod made to fake light filter
« Reply #17 on: December 11, 2012, 12:57:56 PM »


@MANYSH

Its not engine colors, unfortunately. Its just a trick, but does the job. Where that sun.class is situated? Maybe I can try something, but I'm total idiot for java and that stuff. But thanks on the tip!


com\maddox\il2\engine
sun.class for some reason is obfuscated  but you can easily break the code
this sun.class you can change power of sun light in whole game also sun glare...
if i will find the time, I can have look on this class and if will work with your mod i will send you over ..
Logged

barnesy12

  • Enthusiast!
  • member
  • Offline Offline
  • Posts: 145
Re: Barnesy12's Darkglasses mod made to fake light filter
« Reply #18 on: December 11, 2012, 01:58:52 PM »

I think this mod has a lot of potential.
I need to find the right settings for the whiteness because clouds and snowy landscapes are almost bright white.
But the blueish colour at far distance on winter maps gives it a good atmosphere.

When flying one of the P-51 types I happened to see this.



EDIT: this bit for  Uufflakke ;D OK  that's the effect i was telling you about with the smoothing

second  if you try the trial from the better pilots you will see the square section etc has been resolved

third  if you change the game engine in some way good luck with that we cant even make a different guy bail out of each aircraft yet!!!!

fourth  you change the sun values etc it changes light in the whole game
 
fifth  not that bigger deal to put in all planes very simple mod not like better wheels which is now wheels mod or better pilots which is huge just create a cockpit folder for each plane put in 2 files link to single Texture folder for all planes with 1 tga in it switch to different tga with mod enabler

six  some of you i think may have missed the point of the Darkglass mod it is to simulate having sunglasses on in the cockpit view which is what it was supposed to do so is not a trick  the changes some of you  think can be done will effect the light inside and out side cockpit  so see carmaster  i guess as he has already done it with code the point was the in cockpit view while no change to outside

and also the edited tgas do  give a different look without the side effects wash out weird glare etc  sometimes encountered with adjusting the mat file 
just my two cents worth

cheers Barnesy
Logged

Uufflakke

  • Modder
  • member
  • Offline Offline
  • Posts: 2078
Re: Barnesy12's Darkglasses mod made to fake light filter
« Reply #19 on: December 11, 2012, 02:17:24 PM »

I think this mod has a lot of potential.
I need to find the right settings for the whiteness because clouds and snowy landscapes are almost bright white.
But the blueish colour at far distance on winter maps gives it a good atmosphere.

When flying one of the P-51 types I happened to see this.



OK first  that's the effect i was telling you about with the smoothing

second  if you try the trial from the better pilots you will see the square section etc has been resolved

third  if you change the game engine in some way good luck with that we cant even make a different guy bail out of each aircraft yet!!!!

fourth  you change the sun values etc it changes light in the whole game
 
fifth  not that bigger deal to put in all planes very simple mod not like better wheels which is now wheels mod or better pilots which is huge just create a cockpit folder for each plane put in 2 files link to single Texture folder for all planes with 1 tga in it switch to different tga with mod enabler

six  some of you i think may have missed the point of the Darkglass mod it is to simulate having sunglasses on in the cockpit view which is what it was supposed to do so is not a trick  the changes some of you  think can be done will effect the light inside and out side cockpit  so see carmaster  i guess as he has already done it with code the point was the in cockpit view while no change to outside

and also the edited tgas do  give a different look without the side effects wash out weird glare etc  sometimes encountered with adjusting the mat file 
just my two cents worth

cheers Barnesy

Sorry for participating in this thread.
Sorry sorry I haven't read the other related threads and/or not remembering everything right now.
I won't do it anymore.
Sorry
Logged
"The Best Things In Live Aren't Things"

barnesy12

  • Enthusiast!
  • member
  • Offline Offline
  • Posts: 145
Re: Barnesy12's Darkglasses mod made to fake light filter
« Reply #20 on: December 11, 2012, 02:22:24 PM »

nn no Uufflakke sorry my post is not pointed at you :o  just the bit saying that was the effect i mentioned  earlier  so not be sorry the rest is just what i think of the general posts is all nothing more
cheers paul 
Logged

shardana

  • member
  • Offline Offline
  • Posts: 850
Re: Barnesy12's Darkglasses mod made to fake light filter
« Reply #21 on: December 11, 2012, 02:31:20 PM »

No answer to my humble question? :( :(
Logged

Avala

  • Modder
  • member
  • Offline Offline
  • Posts: 370
Re: Barnesy12's Darkglasses mod made to fake light filter
« Reply #22 on: December 11, 2012, 03:55:35 PM »

do you just drop the mod in the mods folder? i have 4.09

If you are using mod activator or some version which have MODS folder, then yes. I am using hsfx and I just put it in Files folder.



@Uufflakke

I think that could be because the canopy of some planes is already tinted. For glow try to change .mat file like a wrote to CWMV earlier. I think it helps.

Here:
Quote
[ClassInfo]
  ClassName TMaterial
[General]
  tfDoubleSide 0
  tfShouldSort 1
  tfDropShadow 0
  tfGameTimer 1
[LightParams]
  Ambient 0.28
  Diffuse 0.10
  Specular 0.0
  SpecularPow 0
  Shine 0.5
[Layer0]
  TextureName darkglass.tga
  PaletteName
  Frame 0.0
  VisibleDistanceNear 0.0
  VisibleDistanceFar 10000.0
  TextureCoordScale 0.0 0.0 1.0 1.0
  ColorScale 1.0 1.0 1.0 0.4
  AlphaTestVal 0.5
  tfNoDegradation 0
  tfWrapX 1
  tfWrapY 1
  tfMinLinear 1
  tfMagLinear 1
  tfMipMap 1
  tfBlend 0
  tfBlendAdd 1
  tfTestA 0
  tfTestZ 0
  tfUpDateClear 1
  tfModulate 1
  tfNoTexture 0
  tfAnimatePalette 0
  tfAnimateSkippedFrames 0
  tfCompressMajorAlpha 0
  tfNoCompress16Bit 1
  tfNoWriteZ 1



@Herra Tohtori

I think that pilots are different objects. So it would be less job to add it to the pilots rather than the planes, but this way works also. The best solution would be to add it to all cameras (all that we see) in game.




@MANYSH

That would be great if you have a time. There is difference when something is done by someone who actually knows what he is doing and when something is done by me, and I don't have a clue  :D
I think that we need just a bit less glow from the sun (if its possible, that is  :) )




@Barnesy

Sorry, I didn't know that you have already fix that square section at the back. You are a bit quick for me :) I must try that now :)

Quote
fifth  not that bigger deal to put in all planes very simple mod not like better wheels which is now wheels mod or better pilots which is huge just create a cockpit folder for each plane put in 2 files link to single Texture folder for all planes with 1 tga in it switch to different tga with mod enabler

True, I have already done it to some planes. Just don't have the time at the moment to do it to all of them :) Just make a new folder and name it by the plane and just put the files in it. And it works.

Quote
some of you i think may have missed the point of the Darkglass mod it is to simulate having sunglasses on in the cockpit view which is what it was supposed to do so is not a trick  the changes some of you  think can be done will effect the light inside and out side cockpit  so see carmaster  i guess as he has already done it with code the point was the in cockpit view while no change to outside

I didn't  :)
Its just that I like this way too (and as a darkglasses). I'm planing to use both.

Quote
and also the edited tgas do  give a different look without the side effects wash out weird glare etc  sometimes encountered with adjusting the mat file 

I love that white hard sun effect  ;D Its just that the glow is too much in some situations.

I think that the glow is there when it is too much light outside. I managed to lower it down with new settings. Tgas actually change tint similar as changing values for colors, if I understood that correctly. Also I think that tint with tgas texture wont work now, because I disabled it with "tfBlendAdd 1" in mat file.

We are actually seeing through the texture now, but with the colors of that texture. Thats why it is too saturated at times. Maybe I'm making mistake here, but I'm open for suggestions  :)




Logged

shardana

  • member
  • Offline Offline
  • Posts: 850
Re: Barnesy12's Darkglasses mod made to fake light filter
« Reply #23 on: December 12, 2012, 03:21:19 AM »

Thanks avala!
Logged
Pages: 1 [2] 3 4 5 6   Go Up
 

Page created in 0.043 seconds with 26 queries.