Jump to content
HappyHaddock

Work in Progress

Recommended Posts

If you look at the compiled shaders in "/graphics/shaders" you'll see that there are only a few dozen. Those represent shader sets that are used, for example the billboard trees; Those trees are done by a vertex shader that sets up the geometry and then a pixel shader that draws the texture to that geometry... and maybe a third or fourth pixel shader, I can't remember exactly. 3dmigoto will dump 3-4 or whatever the number of shaders for what is really a single thing that is being done.

 

So you can think of them as individual shaders but its more like individual steps that are part of a multipass process. For some things all you need to do is modify one of the pixel/vert shaders but some of the fun things require vert+pixel edits.

 

Shaders that aren't being currently used shouldn't be loaded at all, ie no glass_canopy loaded if there is no glass. You can see the number change in migoto as things ar eloaded in and out.

  • Thanks 1

Share this post


Link to post
Share on other sites
On 7/30/2019 at 8:52 AM, LizLemon said:

If you look at the compiled shaders in "/graphics/shaders" you'll see that there are only a few dozen. Those represent shader sets that are used, for example the billboard trees; Those trees are done by a vertex shader that sets up the geometry and then a pixel shader that draws the texture to that geometry... and maybe a third or fourth pixel shader, I can't remember exactly. 3dmigoto will dump 3-4 or whatever the number of shaders for what is really a single thing that is being done.

 

So you can think of them as individual shaders but its more like individual steps that are part of a multipass process. For some things all you need to do is modify one of the pixel/vert shaders but some of the fun things require vert+pixel edits.

 

Shaders that aren't being currently used shouldn't be loaded at all, ie no glass_canopy loaded if there is no glass. You can see the number change in migoto as things ar eloaded in and out.

 

Just a quick question as I may have missed something when using  unGTP to extract all the contents of the game...  you say to look in graphics/shaders,

 

are you referring to IL-2 Sturmovik Great Battles/data/graphics as I don't have a shaders folder there to look in

 

there's odd bits to do with shaders showing up under IL-2 Sturmovik Great Battles/bin/game but no shaders folder.

 

do you happen to know where to extract this shaders folder from, or should it be accessible without extracting it from more compressed files?

 

Cheers

 

HH

Share this post


Link to post
Share on other sites

Just extract all the gtp archives. Their names dont exactly line up with what they contain.

  • Thanks 1

Share this post


Link to post
Share on other sites
Posted (edited)

I'm taking a little time away from the skies and lighting to return to the ground cover, grass  and foliage again as it is something which tends to be neglected by the developers of all flight sims. This is probably for the pragmatic reason it isn't something that they can economically justify putting the man hours into because so few people will notice it from in the air, and if modelled to the same standards as in first person shooters running through game engines like crisis or unreal it might cripple the frame rate any flight sim would run at...

 

Anyway... I've been looking at the way natural plant life tends to be modelled in these first person role-play adventure/shooter games and seeing what if anything I can lean that might be applicable or transferable to the IL-2 game engine whilst still running at sensible frame rates To date the best and most believable depiction of natural plant life and forests I've seen is in Kingdom Come Deliverance as shown below, so I'm taking this as my bench mark for what modern technology can do and seeing how close to that I can get. 

 

As I don't play this sort of game  I just wondered if anybody else could point me in the direction of any other screenshots of other games you might feel handle natural looking plant life even better?

 

Cheers

 

HH

 

Kingdom come screemshot 1.jpg

woodland.jpg

Edited by HappyHaddock
  • Like 1
  • Upvote 1

Share this post


Link to post
Share on other sites
1 hour ago, HappyHaddock said:

As I don't play this sort of game  I just wondered if anybody else could point me in the direction of any other screenshots of other games you might feel handle natural looking plant life even better?

 

Cheers

 

HH

 

For my feeling flora like foliage, trees, bushes etc. are the best in Kingdom Come: Deliverance. Their videos of just simply horse riding through the forest are breath taking.

 

The Hunter: Call of the Wild also have nicely rendered flora.

 

 

Or War of Rights.

 

 

  • Thanks 1

Share this post


Link to post
Share on other sites
54 minutes ago, Jade_Monkey said:

I second the Kingdom Come Deliverance suggestion. 

 

It is definitely the best foliage I've seen in any game screenshot or video  I was just wondering if I might have missed something better through not really having any interest in first person shooter type games.

 

The foliage work of Kingdom Come is definitely a high bench mark for me to aim for in terms of matching that quality of forestation but the IL-2 game engine has so far handled pretty much everything I've asked of it.

 

Cheers

 

HH 

Share this post


Link to post
Share on other sites

Just a quick note to say I've posted a quick poll about this WIP project elsewhere on this forum and to ask if folk reading this can take a second to vote and offer me some feedback.

 

 

  • Like 2
  • Thanks 2
  • Upvote 1

Share this post


Link to post
Share on other sites

This is essentially a content-less post that tells you nothing but I just gotta give another shout out for what an amazing game engine this is....

 

I'd been wracking my brains trying to think of a clever way to achieve a little something I wanted to add by using things this game already does and was tying myself in ever more convoluted circles trying to get there. Given how this game engine seems to handle anything I ask of it, I thought if I had had the skills to have designed the game engine from scratch it would be a feature I'd actual deem important enough to include.  The devs. might not have utilised it to any where near its full potential but when I went looking, sure enough, what I wanted already seems to  buried in there just waiting to be exploited.

 

The "to do" list just got longer again with another series of test I'll need to run but.....

 

HH

 

 

 

Share this post


Link to post
Share on other sites

if you think the devs haven´t used the engine to its full potential, it may be a smart move to create documentation of what you did so they can maybe implement some of your changes into the main game at some point^^

  • Upvote 1

Share this post


Link to post
Share on other sites
28 minutes ago, So_ein_Feuerball said:

if you think the devs haven´t used the engine to its full potential, it may be a smart move to create documentation of what you did so they can maybe implement some of your changes into the main game at some point^^

 

There's lots this game "could" do, in many cases the reasons the devs don't do them are about economics rather than technical understanding. I am increasingly convinced that with the same developmental budget as some of the major console games this sim could give  game engines like crysis or unreal a run for their money!

 

In effect what I was mentioning above was realising that that I could "re-enable" what I wanted by disabling the extra feature created to block it in the first place. I assume the reason the devs created a feature to block it was because of all the extra work needed to give a satisfactory looking end result if implemented.

 

HH

Share this post


Link to post
Share on other sites

HH, you "Keep On Chooglin" (a Credence Clearwater reference) and do those things you do.  Among your other works I am very interested in your cloud work.  It looks fantastic!  But you do what pleases you and at some time I am sure I will get those clouds.  Meanwhile your continuing delving into the game engine is sure to give us many more improvements.

Thanks for all your hard work so far.

  • Thanks 1

Share this post


Link to post
Share on other sites

Well I keep pushing to see how much my PC can cope with before methaphorically throwing its arms up in the air in exasperation, then I push back the other way to see if I can improve the optimisation of my mods to drag back a slightly higher frame rate without compromising the look of what I'd previously created.

 

The image below wasn't necessarily "breaking point" but it came from a stress test which did cross my notional red line. My computer is  probably at best what most would now consider "mid-range" (most of it dates back to 2012) and I tasked it with rendering an 8 on 8 dogfight at ground level at 4k screen resolution with all graphics settings maxed out. 40-50FPS is by no means unplayable but my target is to keep things above 60FPS...

 

I did think it looked pretty though!

 

4k test.jpg

Edited by HappyHaddock
  • Like 8
  • Upvote 2

Share this post


Link to post
Share on other sites

That's gorgeous!  It's what I'm hoping to see someday.

As for your now "mid range" computer, it's, in my opinion, exactly what you need to be making mods with.  A lot of folks don't have high end computers so getting something to render on the "average" computer at 40~50FPS is great.  It won't stutter and has a bit of headroom. Anything above 24 FPS is perceived as fluid motion to the eye anyway.  I understand that VR needs at least 45 FPS for fluid perception and 90 FPS is preferred.  So that is the optimal goal however not everyone, (yet), has VR go a solid 50~55 FPS should be more than good enough for most of us.

If you are getting that nice a render at ~45 FPS you are doing good.  Thanks again for your dedication to making this game look as perfect as possible. 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
16 minutes ago, Danziger said:

Any new eye candy?

 

Well I am continuing to move forward on this gargantuan task, but as of the moment I've nothing new I'm brave enough to show. Lots of new improvements are in the pipeline that might impress but until I know I can make everything both stable and run at sensible frame rates I don't want to build up hopes for things that are most likely to cripple other people's computers as some of my recent stress test have brought my main PC down to just 3FPS... 

 

Though as a vaguely amusing aside this project has been keeping me fit... the normally sedentary  aspects of hacking, coding and programming have seen me spend a lot of the last month madly running up and down stairs between offices several times an hour owing to having to work simultaneously across three different PCs of different vintages, each running different operating systems needed for me to try and use software of different ages and versions.  Sometimes backwards/forwards compatibility isn't what it should be, though I'll not bore you all with masses of detail about every hoop I'm having to jump through in terms of my ground foliage work.

 

I can't believe that I some what naively said towards the start of this thread that I thought I would end up having to work on at least eighty files to achieve all I wanted to do.  Technically I wasn't wrong, just somewhat wide of  the mark... Current total is nearly twelve hundred  files and well over 1.5GB and my latest guess is that I've at least another 300 files I'll want/need to create. When so many aspects of the natural world are interlinked in this game engine, you pull one little thread and so much starts to unravel.  I suppose if I were to take a conventional approach to modding of simply taking a file, tweaking its contents and putting it back where it came from I might be done by now. Increasingly I'm having to start from a metaphorically blank page to achieve some of the stuff I need to make everything work the way I want.

 

I'm not the sort to release bits-n-pieces of  problematic work in dribs and drabs only to keep correcting and changing stuff I've already released followed by  re-releasing more amendments weeks later.

 

I'll keep chipping away at this and let folk know as and when there's anything more to report.

 

Cheers

 

HH 

 

 

  • Thanks 1
  • Upvote 1

Share this post


Link to post
Share on other sites

I'm guessing that is probably the reason why the team haven't gone into such detail with it. Sounds like a lot of hair-pulling fun.

  • Thanks 1

Share this post


Link to post
Share on other sites
11 hours ago, Danziger said:

I'm guessing that is probably the reason why the team haven't gone into such detail with it. Sounds like a lot of hair-pulling fun.

 

I do have some what of a reputation of taking things much further than most and have built my business out of proving that difficult isn't the same as impossible... hence my mantra that "Failure is merely the decision that the end result no longer warrants the effort needed to achieve it!" as you've only failed at the point you quit trying.

 

As much to prove to myself  that I could achieve it as to prove it to anybody else, I ended up on one professional project negotiating with the Bank of England to obtain a license to print money... it has since expired but I did for twelve months have a legal permit to print replica bank notes! … My sister sits on the board of  several big financial institutions and is  treasurer to a FTSE 100 company and she wants the expired license framing to hang on the wall of her downstairs toilet!

 

Cheers

 

  • Like 1
  • Upvote 1

Share this post


Link to post
Share on other sites
6 hours ago, HappyHaddock said:

As much to prove to myself  that I could achieve it as to prove it to anybody else, I ended up on one professional project negotiating with the Bank of England to obtain a license to print money... it has since expired but I did for twelve months have a legal permit to print replica bank notes! … My sister sits on the board of  several big financial institutions and is  treasurer to a FTSE 100 company and she wants the expired license framing to hang on the wall of her downstairs toilet!

 

As little as that has to do with Il 2, this warrants a story.😉

Share this post


Link to post
Share on other sites
2 hours ago, So_ein_Feuerball said:

 

As little as that has to do with Il 2, this warrants a story.😉

 

It all comes down to my some what oddball self-employment; when I talk about my work people are never  quite sure if I am delusional and making it all up, but people come to me when nobody could possibly specialise in what they want and so they just need a crazy craftsman willing to have a go at something as a one of a kind. I am that crazy individual who is only truly interested in the challenge of things I haven't done before.  It has reached the point that when people ask me what I do for a living I now describe myself as a freelance polymath who is paid to teach myself new skills.

 

If you want a truly bizarre story I'd mention an interview I gave to one journalist who wanted to know what my "typical day" was like? I said I didn't have such things but by way of illustration talked through what I'd done so far that day before the interview. It started by packaging up some bespoke miniature figure sculpts for a collector in Scotland along with a replica WWI helmet I'd made  for a collector in Italy. Having dispatched this work I'd completed earlier in the week I was able to put a last coat of varnish on a miniature copy of Vermeer's girl with pearl earing I'd painted. My main task for the day was for one of the many advertising agencies that contact me.  These enquiries all start the same way "I know this is a bit weird but..."   anyway I was being employed to make miniature eight lens spectacles for tarantulas for an advertising project! By sheer fluke of coincidence I received another phone call that morning from another advertising agency wanting to know if I could make miniature sunglasses for the meerkats at London zoo for a promotional project.  That same morning I was also contacted by a museum in Ireland looking for advice about the replica early medieval textiles I produce. Finally whilst being interviewed that afternoon I had another client arrive at my workshop to drop off some old family jewellery of great sentimental value I had agreed to refashion into bespoke wedding rings for them....

 

The oddest thing about that day was that nothing about it struck me as odd or unusual; neither the work nor the fact there was another journalist interviewing me about it.

 

As for the license to print money, I needn't bore you with a lot of detail but one of the many things I do is make props and FX models with a variety of Oscar/BAFTA winners in the Film/TV/video games markets as clients. One such project needed sack-fulls of period (well 1970's)  bank notes and I figured simply printing these might put me in a very grey area legally, so I set about negotiating official permission and a license to do this where I suspect many props makers wouldn't have bothered. Given that I am now fully aware of the exact ins and outs of UK laws governing such matters I am aware that most prop makers would technically be breaking the law even if they were not intentionally forging money with the intent to gain through financial deception.

 

HH

 

  • Like 1
  • Haha 2
  • Upvote 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...