Jump to content

Recommended Posts

Posted (edited)

Hi Zeus67,

 

I was wondering wy the heading tape of the HUD is not filtered, after some investigation i discovered it's because the texture width and height are not power of 2.

 

So, i modified the texture to allow the mipmap generation ( 4096*128 ), and that works. You can find the proper texture in joint piece.

 

However, the texture format imply some changes in LUA files:

 

in HUD_definitions.lua the hdg_text_size_x and hdg_text_size_y values must be changed to x = 4096 and y = 128

 

I also corrected the texture to avoid the gap when the texture coordinates are switched at "00", now the transition is perfect.

 

--

 

I also noticed that the Pitch Up Ladder coordinates are missaliged, this creates some artifact at the left of numbers (with filtering, the left part takes some undesired pixels), the good coordinates are :

local pl_p##_line= create_vth_textured_box( 16, ###, 446, ###)

 

-- EDIT 07/10/16

 

- I have "remake" again the texture so it's no more needed to change texture coordinates, only need specify the good with and height in HUD_definitions.lua

 

- Done the same for the VTB heading tape (see bellow)... mipmap compatible size + adjusting tape for perfect transition at 00 + corrected heading scale. Just need to adjust size in VTB_definitions.lua

 

- I have done some other tweaks for VTB grids and IFF lines/dash to be perfectly aligned + mipmap compatible size, but exept if that interest Zeus67, i will keep that for me for this time.

headingtape_vtb_M2KC.rar

headingtape_hud_M2KC.rar

Edited by sedenion
Posted (edited)
Wait, what does "not filtered" mean?

 

No mipmap filtering... texture appear like "sharpened" but, pixelated/aliased, specialy at downsample (when texture is rendered smaller)...

Edited by sedenion
Posted

Having a bit of problem when I apply this

 

The tape is not working properly it's to wide and when you go to the right of 000 degrees it's just nothing then it hits the 359 degres after 30 or so deg

 

Could be that i missed something

[sIGPIC][/sIGPIC]

Youtube

Reddit

Posted
Having a bit of problem when I apply this

 

The tape is not working properly it's to wide and when you go to the right of 000 degrees it's just nothing then it hits the 359 degres after 30 or so deg

 

Could be that i missed something

 

Well...

1 - which heading tape : Hud or VTB ?

2 - For HUD, do you have changed hdg_text_size_x and hdg_text_size_y in HUD_definitions.lua ? For VTB, do you have changed vtb_hdg_text_size_x and vtb_hdg_text_size_y in VTB_definitions.lua ?

Posted (edited)

You convinced me, there is the JSGME compatibles patchs... (here you have all fixs i have done)

 

EDIT: 07/14/16

 

I discovered the packages are not corretly mades, the texture folder has wrong name and the "patch" not works as atented. (The texture must be copier manually.) So i deleted these patch

Edited by sedenion
Posted

Just tried it now and it's great work, HUD looks much better and the little notch for the Missile range is pretty cool

 

Hope this goes in the next patch the 00 heading tape is perfect now as well isn't tiwtching when you pass by it!

[sIGPIC][/sIGPIC]

Youtube

Reddit

Posted

not spectacular changes, but small things that made the whole more "d'équerre" as we say in french... You also have VTB grid and PPI mode aligment fix in the VTB fixs...

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...