Friday, February 22, 2019

Eurofighter Typhoon Update to version 1.23 (with PBR support)


As (to some extent) expected with a major update, Eurofighter v1.22 release included a couple of bugs and highlighted some existing defects. The most annoying bug is the fact that the updated FCS code did not work as intended and caused the plane to pitch up requiring constant pilot action - I consider this a severe defect and given that probably I will not have much time in the next few days, I have decided to address it immediately with a further update.

Aside, some users reported a loss in frame rate after the PBR update: this is generally to be expected for PBR models, as the compiled model file (.mdl) is larger and uses more textures video memory. On my system, which has a GTX-1080, there is not a big difference - but from time to time you may have a slight delay in loading the PBR textures while switching between external and virtual cockpit views.

I have also heard "rumors" (meaning that I had no direct report of that) of users experiencing a drop in frame rates also with non-PBR models and also in previous updates. Frankly, since the modifications to the code were minimal, it is difficult for me to say if the frame rate drop is due to the Eurofighter update or by other reasons. The only thing I have noticed is that there was a missing texture (the fresnel ramp texture used in the canopy) - missing textures may reduce the performance a little...but this should be barely noticeable. Anyway I have included the missing texture in this update.


Last, please remember that if you prefer to use the non-PBR model, the files have been left there (they are not overwritten) - so you can activate/deactivate the PBR models in the model.cfg. This update contains backup version of the model.cfg for both PBR and non-PBR for your convenience. Just delete the model.cfg in the model folders of the Eurofighter_2000 and Eurofighter_2000T, and rename the backup files by deleting  the ".backupPBR" or ".backupNonPBR" suffixes.
Note that editing the model.cfg gives you also access to the "ubuntu" variants. These are model variants that replaces the FCS driven animations with "standard" ones. These animations are less accurate and realistic, but are compatible with multiplayer. "Ubuntu" models are provided in both PBR and non-PBR versions - please note that you have to use them with the proper cockpit model (PBR external model must go along with PBR VC and vice versa) - otherwise textures may be shown with a wrong color.


Here is the full list of changes:

VERSION 1.23
CHANGES WITH RESPECT TO PREVIOUS VERSION

- Replaced autotrim FCS code to solve the "pitch up" tendency of v1.22

- Replaced navigation lights effects for better compatibility with PBR models

- Fixed glitch that caused left and right wheel rotation animations were swapped

- Fixed glitch that caused barometric reading to disappear from HUD in certain instances

- Added model.cfg backup files for easier deactivation of PBR models

- Added missing Fresnel Ramp texture for canopy


32 bit update (for FSX-SE/Gold/Acceleration, P3Dv1, P3Dv2, P3Dv3) can be dowloaded
HERE or from the side bar

64 bit update with PBR support (only for P3Dv4.4) can be dowloaded HERE or from the side bar

Users of P3Dv4.0 to 4.3 can install the 64 bit upgrade but are should replace the model.cfg with non-PBR versions as described above.

NOTE: UNLESS MAJOR ISSUES ARE FOUND, THIS IS LIKELY TO BE THE LAST UPDATE WHICH SUPPORTS FSX

Monday, February 18, 2019

Eurofighter Update to version 1.22 with PBR (Preliminary)


NOTE: THE INITIAL RELEASE OF EUROFIGHTER 1.22 PBR HAD A SMALL GLITCH SO THAT "REMOVE BEFORE FLIGHT" RIBBONS AND COVERS HAD A WRONG TEXTURE - FILES HAVE BEEN REPLACED WITH CORRECTED ONES, ALSO PBR "UBUNTU" MODELS HAVE BEEN ADDED FOR MULTIPLAYER.

A couple of sleepless nights playing with Physically Based Rendering (PBR) on the Eurofighter Typhoon model and here we are with another update. For those who do not know PBR, it is a different rendering technique which is supposed to simulate the appearance of 3D models on the basis actual physical proprieties of the material they represent (such as "metalness", roughness etc.). This is a relatively new rendering technogy which, in some circumstances, can provide more realistic results with respect to the traditional techniques.
Recent videogames like Red Dead Redeption are a great example of this. In flight simulation, PBR was introduced by X-Plane, DCS and (almost unnoticed) by Flight Simulator World.
Note that PBR is a generic name for the approach, and each engine has its own implementation with different results and possibilities.
PBR has recently been introduced in Prepar3D V4 starting from version 4.4 - the implementation is quite standard: materials require an "albedo" texture (its base color), a "metallic" texture (which specifies the metalness and, in P3D, also the Ambient Occlusion and the smoothness of the surface), a "normal" texture (basically the old normal/bump map) and an "emissive" texture.
In addition, P3D now allows the developers to control the visual proprieties of a material with a LUA script during the simulation - which is pretty great as it allows a number of cool tricks.
NOTE THAT PBR MODEL WILL ONLY WORK WITH P3Dv4.4 AND ABOVE.

Here are "preliminary" models of the Eurofighter with PBR. While compiling these models I also fixed a couple of minor bugs. As result the update is provided in 2 versions: a 32-bit version for FSX users and users of P3Dv1, v2 and v3 and a 64-bit version which will only work with P3Dv4.4 (you must upgrade your P3Dv4.X to v4.4 or above to use it).

Here is the list of changes:

VERSION 1.22 WITH PBR UPDATE (BETA)
CHANGES WITH RESPECT TO PREVIOUS VERSION

- Added new PBR models, metallic, bump textures and scripts (Prepar3D v4.4 ONLY!)
- Fixed minor issues and typos in the FCS Autotrim code
- Fixed minor bug in display condition of the ENG FLAME warning in RMHHD
- Fixed miscellaneuos typos in the HUD code
- Fixed miscellaneous typos in the HMD code
- Fixed missing plane attitude graphics in the HMD
- Fixed missing emergency jettison icon
- Fixed missing X FER caption
- Fixed miscellaneous typos in the Tactical Systems code
- Added missing wheels and ground roll sounds
- Fixed glitch in gun funnel mode in 2D HUD view
- Changed HMD code so that A-A symbols will not park at the edge of the FOV
- Fixed minor glitch in panel backlighting
- Fixed multiple minor geometry glitches in virtual cockpit

The full update with PBR models for P3Dv4.4 can be downloaded by clicking HERE.

The partial update without PBR for FSX/P3Dv2/P3Dv3 can be dowloaded by clicking HERE.