Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 64 65 66 [67] 68 69 70 ... 109   Go Down

Author Topic: graphics extender  (Read 305575 times)

taly01 and 8 Guests are viewing this topic.

whistler

  • Modder
  • member
  • Offline Offline
  • Posts: 2784
Re: graphics extender
« Reply #792 on: January 27, 2020, 05:05:51 AM »

I meant that you have at your disposal many sky textures there for testing. I am not sure I am following now. Anyway, whatever you come up with will be great for sure!
Logged
NG-HUD v3.6.1 | NG-MAP v3.2 | NG-CAM v2.0 | NG-PAL v1.2: https://www.sas1946.com/main/index.php/board,93.0.html

slibenli

  • member
  • Offline Offline
  • Posts: 619
    • IL-2 Graphics Extender
Re: graphics extender
« Reply #793 on: January 27, 2020, 05:15:06 AM »

I meant that you have at your disposal many sky textures there for testing. I am not sure I am following now. Anyway, whatever you come up with will be great for sure!

I meant that il2ge could do what Random Skies is doing, but while the game is running and without copying textures around.

whistler

  • Modder
  • member
  • Offline Offline
  • Posts: 2784
Re: graphics extender
« Reply #794 on: January 27, 2020, 05:30:10 AM »

That would be most interesting! The ideal solution would be the dynamic cirrus layer, but that's too much asking for (yet).

Desert maps shouldn't have overcast skies, for the most part, hence the dilemma on how to implement the random sky. By reading the map *.ini perhaps?

It would be great to decommission the Random Skies mod. That would mean we finally have a perfect sky environment in IL-2!
Logged
NG-HUD v3.6.1 | NG-MAP v3.2 | NG-CAM v2.0 | NG-PAL v1.2: https://www.sas1946.com/main/index.php/board,93.0.html

slibenli

  • member
  • Offline Offline
  • Posts: 619
    • IL-2 Graphics Extender
Re: graphics extender
« Reply #795 on: January 27, 2020, 05:41:10 AM »

I would prefer it though, if the logic for texture selection would run on the java side and just call into il2ge to set the texture sfs path.

I did some experiments with procedurally generated cirrus clouds, but didn't really like the result.
I can make it available if someone is interested.

whistler

  • Modder
  • member
  • Offline Offline
  • Posts: 2784
Re: graphics extender
« Reply #796 on: January 27, 2020, 06:00:41 AM »

I checked once at what point in the code the sky texture gets loaded, but I couldn't find it. The idea was to somehow allow mission creators to select a sky texture and have it saved to the mission file.

Does anyone know in which class the sky texture gets loaded?
Logged
NG-HUD v3.6.1 | NG-MAP v3.2 | NG-CAM v2.0 | NG-PAL v1.2: https://www.sas1946.com/main/index.php/board,93.0.html

slibenli

  • member
  • Offline Offline
  • Posts: 619
    • IL-2 Graphics Extender
Re: graphics extender
« Reply #797 on: January 27, 2020, 06:09:37 AM »

Correct me if I'm wrong, but I think that currently there is not java code to deal with this as it's all done in il2_core.dll.
I would add a new method GraphicsExtender.setCirrusTexture() to enable java code to control the texture.

whistler

  • Modder
  • member
  • Offline Offline
  • Posts: 2784
Re: graphics extender
« Reply #798 on: January 27, 2020, 08:09:41 AM »

Correct me if I'm wrong, but I think that currently there is not java code to deal with this as it's all done in il2_core.dll.

Not the slightest idea.

I would add a new method GraphicsExtender.setCirrusTexture() to enable java code to control the texture.

Why not. It would be a first step that shouldn't have an effect on anything else.
Logged
NG-HUD v3.6.1 | NG-MAP v3.2 | NG-CAM v2.0 | NG-PAL v1.2: https://www.sas1946.com/main/index.php/board,93.0.html

marcost

  • Modder
  • member
  • Offline Offline
  • Posts: 1088
  • Keep calm and run away
Re: graphics extender
« Reply #799 on: January 27, 2020, 01:28:06 PM »

I checked once at what point in the code the sky texture gets loaded, but I couldn't find it. The idea was to somehow allow mission creators to select a sky texture and have it saved to the mission file.

Does anyone know in which class the sky texture gets loaded?

Hi Whistler,

I looked too, for a long time and never found it. Suspect it is outside of the moddable class structure. If I remember correctly, what I did find was that once the game has loaded the sky texture, it was not possible to 'force' a reload of that texture (i.e. to change it before the next mission). I think the game 'freezes' access to some files during first loading, so a classfile-level swap would not work. Could be wrong!

If it were possible to change it, it would easy to put a bit of code in Mission.class to load the sky from the .mis file

Regards,

M
Logged

slibenli

  • member
  • Offline Offline
  • Posts: 619
    • IL-2 Graphics Extender
Re: graphics extender
« Reply #800 on: January 30, 2020, 06:29:47 AM »

Volumetric fog experiments ...






rollnloop

  • member
  • Offline Offline
  • Posts: 281
Re: graphics extender
« Reply #801 on: January 30, 2020, 12:16:52 PM »

 8)Pretty strange with such a blue and bright sky above, but fog itself looks nice
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23886
  • Taking a timeout
    • STFU
Re: graphics extender
« Reply #802 on: January 30, 2020, 11:18:16 PM »

Not really strange.
I remember a couple of flights when we took off with our trusty rusty Seaking from Kiel Holtenau and once we got out of ground fog, is was absolutely bright blue skies.
Looking back at the Kiel Fjord, we could see the funnels of the scandinavia ferries moving through the fog (and the ferries themselves on our radar of course).
It was funny to see how everything was bright blue skies for us, and at the same time you knew that the captain down there on the ferry couldn't see sh*t 5 meters in front of him.

]cheers[
Mike
Logged
Don't split your mentality without thinking twice.

vpmedia

  • Modder
  • member
  • Offline Offline
  • Posts: 6652
  • www.vpmedia.hu/il2
    • VPMEDIA SKINS
Re: graphics extender
« Reply #803 on: January 31, 2020, 02:26:00 AM »


Pages: 1 ... 64 65 66 [67] 68 69 70 ... 109   Go Up
 

Page created in 0.048 seconds with 25 queries.