Pathfinder : Kingmaker
  3 / 4    
You are an absolute hero. Thank you Losti.
You are an absolute hero. Thank you Losti.

i7-4790K CPU 4.8Ghz stable overclock.
16 GB RAM Corsair
ASUS Turbo 2080TI
Samsung SSD 840Pro
ASUS Z97-WS3D
Surround ASUS Rog Swift PG278Q(R), 2x PG278Q (yes it works)
Obutto R3volution.
Windows 10 pro 64x (Windows 7 Dual boot)

#31
Posted 02/04/2019 07:44 AM   
I am not sure if I can release it today because I have tried something that I have in mind and that was left and bothering me that much .... Left problem here was the Fog of War is more in depth in the lower part and more in depth in the upper part of the screen. I have tried something those days and did not found the screen position..... I have tried something and it seems to work!!! As a quick shot I can now scale the fog of war in the dependency of the screen position, means I can correct depth for lower and upper part of the screen to make it RIGHT not only approximate.... OK in some keys may its approximate but its MORE CORRECT now!!! But i have to sort out the new correction value calculation formula ^^ And i need to recalculate the blood decall depth ... its some what not correct in depth. //confirmed!!! I can completely correct the FUCK OF WAR ^^ The strange thing in this game: The HUD needs checking coordinates like o0.y<1000.0, the decal shadow or cover shadow ot whatever its called, needs < -100 and the fog of war needs <1.0 ^^ I am not sure if this fix is working for other resolutions than FULL-HD but ill find it out ^^ //fucking made it ^^ [code] if (r1.w!=1.0) { //FOG OF WAR FIX - LOSTI //caclulation for the 1st correction value for the FogOfWar - upper part of the screen r50.x=(-0.0205*stereo.y)+0.993; //caclulation for the 2nd correction value for the FogOfWar - lower part of the screen r50.y=(0.0000000749*(stereo.y*stereo.y*stereo.y*stereo.y*stereo.y))+(-0.0000078484*(stereo.y*stereo.y*stereo.y*stereo.y))+(0.0003292746*(stereo.y*stereo.y*stereo.y))+(-0.0069016720*(stereo.y*stereo.y))+(0.0415023396*stereo.y)+0.6863504766; //Fog Of War Fix - LOSTI -- PART 1 //remove halo coming with the fix part 2 if(SwitchFOW==0.0) { if(r0.y<1.0) { r0.x -= stereo.x*r50.x; } else { r0.x -= stereo.x*r50.y; } } } //original code - not changed r1.xy = r0.xy / r0.ww; o2.xyzw = r0.xyzw; r0.xyz = cb0[148].xyz * r1.xxx; r1.xyz = cb0[147].xyz * -r1.yyy; r0.xyz = r0.xyz * cb0[146].yyy + cb0[149].xyz; o1.xyz = r1.xyz * cb0[146].xxx + r0.xyz; //original code - not changed //Fog Of War Approx Fix - LOSTI -- PART 2 if(SwitchFOW==0.0) { if(o2.y<1.0) { o2.x += stereo.x*r50.x; } else { o2.x += stereo.x*r50.y; } } if(SwitchFOW==3.0) { o2=0; } [/code] //lets see --- as a last stage here---whats wrong with the blood decals ^^ //we need a correction with the Euler's number here ^^ //calculation for the blood decal depth //r50.y=0.8647*exp(0.0969*stereo.y); ITS DONE ----- Release tomorrow.....i swear ... ^^
I am not sure if I can release it today because I have tried something that I have in mind and that was left and bothering me that much .... Left problem here was the Fog of War is more in depth in the lower part and more in depth in the upper part of the screen. I have tried something those days and did not found the screen position.....

I have tried something and it seems to work!!! As a quick shot I can now scale the fog of war in the dependency of the screen position, means I can correct depth for lower and upper part of the screen to make it RIGHT not only approximate.... OK in some keys may its approximate but its MORE CORRECT now!!!

But i have to sort out the new correction value calculation formula ^^

And i need to recalculate the blood decall depth ... its some what not correct in depth.

//confirmed!!! I can completely correct the FUCK OF WAR ^^

The strange thing in this game: The HUD needs checking coordinates like o0.y<1000.0, the decal shadow or cover shadow ot whatever its called, needs < -100 and the fog of war needs <1.0 ^^

I am not sure if this fix is working for other resolutions than FULL-HD but ill find it out ^^


//fucking made it ^^

if (r1.w!=1.0)
{
//FOG OF WAR FIX - LOSTI
//caclulation for the 1st correction value for the FogOfWar - upper part of the screen
r50.x=(-0.0205*stereo.y)+0.993;
//caclulation for the 2nd correction value for the FogOfWar - lower part of the screen
r50.y=(0.0000000749*(stereo.y*stereo.y*stereo.y*stereo.y*stereo.y))+(-0.0000078484*(stereo.y*stereo.y*stereo.y*stereo.y))+(0.0003292746*(stereo.y*stereo.y*stereo.y))+(-0.0069016720*(stereo.y*stereo.y))+(0.0415023396*stereo.y)+0.6863504766;

//Fog Of War Fix - LOSTI -- PART 1
//remove halo coming with the fix part 2
if(SwitchFOW==0.0)
{
if(r0.y<1.0)
{
r0.x -= stereo.x*r50.x;
}
else
{
r0.x -= stereo.x*r50.y;
}
}
}

//original code - not changed
r1.xy = r0.xy / r0.ww;
o2.xyzw = r0.xyzw;
r0.xyz = cb0[148].xyz * r1.xxx;
r1.xyz = cb0[147].xyz * -r1.yyy;
r0.xyz = r0.xyz * cb0[146].yyy + cb0[149].xyz;
o1.xyz = r1.xyz * cb0[146].xxx + r0.xyz;
//original code - not changed

//Fog Of War Approx Fix - LOSTI -- PART 2
if(SwitchFOW==0.0)
{
if(o2.y<1.0)
{
o2.x += stereo.x*r50.x;
}
else
{
o2.x += stereo.x*r50.y;
}
}

if(SwitchFOW==3.0)
{
o2=0;
}


//lets see --- as a last stage here---whats wrong with the blood decals ^^
//we need a correction with the Euler's number here ^^
//calculation for the blood decal depth
//r50.y=0.8647*exp(0.0969*stereo.y);

ITS DONE ----- Release tomorrow.....i swear ... ^^

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#32
Posted 02/04/2019 04:50 PM   
[quote="Losti"]I am not sure if I can release it today because I have tried something that I have in mind and that was left and bothering me that much .... Left problem here was the Fog of War is more in depth in the lower part and more in depth in the upper part of the screen. I have tried something those days and did not found the screen position..... I have tried something and it seems to work!!! As a quick shot I can now scale the fog of war in the dependency of the screen position, means I can correct depth for lower and upper part of the screen to make it RIGHT not only approximate.... OK in some keys may its approximate but its MORE CORRECT now!!! But i have to sort out the new correction value calculation formula ^^ And i need to recalculate the blood decall depth ... its some what not correct in depth. //confirmed!!! I can completely correct the FUCK OF WAR ^^ The strange thing in this game: The HUD needs checking coordinates like o0.y<1000.0, the decal shadow or cover shadow ot whatever its called, needs < -100 and the fog of war needs <1.0 ^^ I am not sure if this fix is working for other resolutions than FULL-HD but ill find it out ^^ [/quote] good evening losti I owe you excuses for your correcif bard tale 4 Indeed it works perfectly and it was an error on my part by installing it in the wrong place of the root of the game that caused artifacts. I posted carefully in the forum bard tale 4 indicating that your fix was not working what is of course FALSE because it works very well Thanks again !! Yours truly
Losti said:I am not sure if I can release it today because I have tried something that I have in mind and that was left and bothering me that much .... Left problem here was the Fog of War is more in depth in the lower part and more in depth in the upper part of the screen. I have tried something those days and did not found the screen position.....

I have tried something and it seems to work!!! As a quick shot I can now scale the fog of war in the dependency of the screen position, means I can correct depth for lower and upper part of the screen to make it RIGHT not only approximate.... OK in some keys may its approximate but its MORE CORRECT now!!!

But i have to sort out the new correction value calculation formula ^^

And i need to recalculate the blood decall depth ... its some what not correct in depth.

//confirmed!!! I can completely correct the FUCK OF WAR ^^

The strange thing in this game: The HUD needs checking coordinates like o0.y<1000.0, the decal shadow or cover shadow ot whatever its called, needs < -100 and the fog of war needs <1.0 ^^

I am not sure if this fix is working for other resolutions than FULL-HD but ill find it out ^^



good evening losti

I owe you excuses for your correcif bard tale 4
Indeed it works perfectly and it was an error on my part by installing it in the wrong place of the root of the game that caused artifacts.
I posted carefully in the forum bard tale 4 indicating that your fix was not working what is of course FALSE because it works very well
Thanks again !!
Yours truly

#33
Posted 02/04/2019 06:14 PM   
I am really sorry for this delay but I want to make it PERFECT!!! I was busy these days because of work and the mouse over action bar scaling costs my some time here because there was no math behind HUD scale and the mouse courser. I have made I approx...Means in a very short range of convergence the mouse over the action bar can be incorrect....you will see ^^ I have scaled it in the range the fix is working and it’s only some 0,XX values behind the optimum and if you have this convergence chosen, just choose some +-0,XX values to get it right.....a detailed description will be in the release post. Hopefully tomorrow, but I am not sure.... I SHOULD STOP PROMISING THINGS….shader hacking is unpredictable…. I will now implement another Hud scaling button for everything else than the action bars and the mouse..... [code] //calculate mouse correction value for actionBars r50.w=(0.0000108473*(stereo.y*stereo.y*stereo.y))+(-0.0006190693*(stereo.y*stereo.y))+(-0.0217267640*(stereo.y))+0.8433272656; //HudScale Correction for Mouse over Action Bar //convergence 36 if(stereo.y<=36 && stereo.y>35) { r51.y=((5.3269230769*HudScale)-4.2126923077); } //convergence 35 if(stereo.y<=35 && stereo.y>34) { r51.y=((5.7500000000*HudScale) - 4.6500000000); } //convergence 34 if(stereo.y<=34 && stereo.y>33) { r51.y=((6.6500000000*HudScale) - 5.5300000000); } //convergence 33 if(stereo.y<=33 && stereo.y>32) { r51.y=((7.3250000000*HudScale) - 6.2600000000); } //convergence 32 if(stereo.y<=32 && stereo.y>31) { r51.y=((8.7507189669*HudScale)-7.7080969885); } //convergence 31 if(stereo.y<=31 && stereo.y>30) { r51.y=((10.7500000000*HudScale) - 9.7500000000); } //convergence 30 if(stereo.y<=30 && stereo.y>29) { r51.y=((14.5384615385*HudScale)-13.5538461538); } //convergence 29 if(stereo.y<=29 && stereo.y>28) { r51.y=((24.1250000000*HudScale) - 23.1000000000); } //convergence 28 if(stereo.y<=28 && stereo.y>27) { r51.y=((82.2500000000*HudScale)-81.7250000000); } //convergence 27 if(stereo.y<=27 && stereo.y>26) { r51.y=((-51.0000000000*HudScale) + 52.2000000000); } //convergence 26 if(stereo.y<=26 && stereo.y>25) { r51.y=((-18.3269230769*HudScale)+19.4826923077); } //convergence 25 if(stereo.y<=25 && stereo.y>24) { r51.y=((-10.8750000000*HudScale) + 11.9500000000); } //convergence 24 if(stereo.y<=24 && stereo.y>23) { r51.y=((-7.5000000000*HudScale) + 8.5500000000); } //convergence 23 if(stereo.y<=23 && stereo.y>22) { r51.y=((-5.6250000000*HudScale) + 6.6500000000); } //convergence 22 if(stereo.y<=22 && stereo.y>21) { r51.y=((-4.4500000000*HudScale) + 5.4800000000); } //convergence 21 if(stereo.y<=21 && stereo.y>20) { r51.y=((-3.5625000000*HudScale) + 4.5700000000); } //convergence 20 if(stereo.y<=20 && stereo.y>18) { r51.y=((-2.9500000000*HudScale) + 3.9600000000); } //convergence 18 if(stereo.y<=18 && stereo.y>16) { r51.y=((-2.1250000000*HudScale) + 3.1200000000); } //convergence 16 if(stereo.y<=16 && stereo.y>13) { r51.y=((-1.6750000000*HudScale) + 2.6800000000); } //convergence 13 if(stereo.y<=13 && stereo.y>10) { r51.y=((-1.0550000000*HudScale) + 2.0490000000); } //convergence 10 if(stereo.y<=10 && stereo.y>8) { r51.y=((-0.7625000000*HudScale) + 1.7700000000); } [/code]
I am really sorry for this delay but I want to make it PERFECT!!! I was busy these days because of work and the mouse over action bar scaling costs my some time here because there was no math behind HUD scale and the mouse courser. I have made I approx...Means in a very short range of convergence the mouse over the action bar can be incorrect....you will see ^^

I have scaled it in the range the fix is working and it’s only some 0,XX values behind the optimum and if you have this convergence chosen, just choose some +-0,XX values to get it right.....a detailed description will be in the release post. Hopefully tomorrow, but I am not sure....
I SHOULD STOP PROMISING THINGS….shader hacking is unpredictable….
I will now implement another Hud scaling button for everything else than the action bars and the mouse.....

//calculate mouse correction value for actionBars

r50.w=(0.0000108473*(stereo.y*stereo.y*stereo.y))+(-0.0006190693*(stereo.y*stereo.y))+(-0.0217267640*(stereo.y))+0.8433272656;

//HudScale Correction for Mouse over Action Bar
//convergence 36
if(stereo.y<=36 && stereo.y>35)
{
r51.y=((5.3269230769*HudScale)-4.2126923077);
}
//convergence 35
if(stereo.y<=35 && stereo.y>34)
{
r51.y=((5.7500000000*HudScale) - 4.6500000000);
}
//convergence 34
if(stereo.y<=34 && stereo.y>33)
{
r51.y=((6.6500000000*HudScale) - 5.5300000000);
}
//convergence 33
if(stereo.y<=33 && stereo.y>32)
{
r51.y=((7.3250000000*HudScale) - 6.2600000000);
}
//convergence 32
if(stereo.y<=32 && stereo.y>31)
{
r51.y=((8.7507189669*HudScale)-7.7080969885);
}
//convergence 31
if(stereo.y<=31 && stereo.y>30)
{
r51.y=((10.7500000000*HudScale) - 9.7500000000);
}
//convergence 30
if(stereo.y<=30 && stereo.y>29)
{
r51.y=((14.5384615385*HudScale)-13.5538461538);
}
//convergence 29
if(stereo.y<=29 && stereo.y>28)
{
r51.y=((24.1250000000*HudScale) - 23.1000000000);
}
//convergence 28
if(stereo.y<=28 && stereo.y>27)
{
r51.y=((82.2500000000*HudScale)-81.7250000000);
}
//convergence 27
if(stereo.y<=27 && stereo.y>26)
{
r51.y=((-51.0000000000*HudScale) + 52.2000000000);
}
//convergence 26
if(stereo.y<=26 && stereo.y>25)
{
r51.y=((-18.3269230769*HudScale)+19.4826923077);
}
//convergence 25
if(stereo.y<=25 && stereo.y>24)
{
r51.y=((-10.8750000000*HudScale) + 11.9500000000);
}
//convergence 24
if(stereo.y<=24 && stereo.y>23)
{
r51.y=((-7.5000000000*HudScale) + 8.5500000000);
}
//convergence 23
if(stereo.y<=23 && stereo.y>22)
{
r51.y=((-5.6250000000*HudScale) + 6.6500000000);
}
//convergence 22
if(stereo.y<=22 && stereo.y>21)
{
r51.y=((-4.4500000000*HudScale) + 5.4800000000);
}
//convergence 21
if(stereo.y<=21 && stereo.y>20)
{
r51.y=((-3.5625000000*HudScale) + 4.5700000000);
}
//convergence 20
if(stereo.y<=20 && stereo.y>18)
{
r51.y=((-2.9500000000*HudScale) + 3.9600000000);
}
//convergence 18
if(stereo.y<=18 && stereo.y>16)
{
r51.y=((-2.1250000000*HudScale) + 3.1200000000);
}
//convergence 16
if(stereo.y<=16 && stereo.y>13)
{
r51.y=((-1.6750000000*HudScale) + 2.6800000000);
}
//convergence 13
if(stereo.y<=13 && stereo.y>10)
{
r51.y=((-1.0550000000*HudScale) + 2.0490000000);
}
//convergence 10
if(stereo.y<=10 && stereo.y>8)
{
r51.y=((-0.7625000000*HudScale) + 1.7700000000);
}

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#34
Posted 02/07/2019 06:17 PM   
Take your time Losti, I am very excited.
Take your time Losti, I am very excited.

i7-4790K CPU 4.8Ghz stable overclock.
16 GB RAM Corsair
ASUS Turbo 2080TI
Samsung SSD 840Pro
ASUS Z97-WS3D
Surround ASUS Rog Swift PG278Q(R), 2x PG278Q (yes it works)
Obutto R3volution.
Windows 10 pro 64x (Windows 7 Dual boot)

#35
Posted 02/08/2019 05:32 AM   
    You can use [color="orange"]pow(stereo.y, 3)[/color] to replace [color="orange"](stereo.y*stereo.y*stereo.y)[/color]. That way, increasing the pow number keeps the code line the same size.
    You can use pow(stereo.y, 3) to replace (stereo.y*stereo.y*stereo.y). That way, increasing the pow number keeps the code line the same size.

---
Windows 10 x64 / 1x 980Ti GPU (no SLI, 418.81 driver) / 1920x1080

#36
Posted 02/08/2019 06:32 AM   
[quote="Schwing."]    You can use [color="orange"]pow(stereo.y, 3)[/color] to replace [color="orange"](stereo.y*stereo.y*stereo.y)[/color]. That way, increasing the pow number keeps the code line the same size.[/quote] THX for the hint, ill use it in the next fix (that will be in later future ^^) I did some stupid things here....may no one needs this but... hey it was fun and its working ^^ completely scaled the mouse over the action bar in dependency of extra +depth or -depth the user choose here ^^ . . . given this is stupid ^^ I should not waste my time ^^ [code] //Software coursor position fix by LOSTI float4 stereo = StereoParams.Load(0); float MouseDepthScale = IniParams.Load(int2(2,0)).z; float MouseMouseDepth = IniParams.Load(int2(0,0)).w; float HudScale = IniParams.Load(int2(4,0)).z; float MosueActionBarScale = IniParams.Load(int2(20,0)).z; //calculate mouse correction value - Pos 1 (upper part of screen) r51.x=(0.0000024993*(stereo.y*stereo.y*stereo.y*stereo.y))+(-0.0002202091*(stereo.y*stereo.y*stereo.y))+(0.0066532219*(stereo.y*stereo.y))+(-0.1039266121*stereo.y)+1.2969264543; //calculate mouse correction value - Pos 2 (middle upper part of screen) r50.x=(-0.0270593839*stereo.y)+0.9911892664; //calculate mouse correction value - Pos 3 (middle part of screen) r50.y=(-0.0001175513*(stereo.y*stereo.y))+(-0.0235159130*stereo.y)+0.9476824791; //calculate mouse correction value - Pos 4 (lower part of screen) r50.z=(-0.0303620197*stereo.y)+0.9882661162; //calculate mouse correction value for actionBars r50.w=(0.0000108473*(stereo.y*stereo.y*stereo.y))+(-0.0006190693*(stereo.y*stereo.y))+(-0.0217267640*(stereo.y))+0.8433272656; //convergence 34-36 if(stereo.y >=34 && stereo.y <= 36) { if(HudScale==0.8) { r52.x=-0.0305769231; r52.y=2.2698076932; r52.z=-42.0365384771; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==0.9) { r52.x=-0.0067307692; r52.y=0.5344230779; r52.z=-9.9346154015; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.1) { r52.x=0.0409615384; r52.y=-2.9363461527; r52.z=54.2692307496; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+r52.z; } if(HudScale==1.2) { r52.x=0.0648076923; r52.y=-4.6717307680; r52.z=86,3711538251; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.3) { r52.x=0.0886538461; r52.y=-6.4071153833; r52.z=118.4730769006; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } } if(stereo.y >=30 && stereo.y < 34) { if(HudScale==0.8) { r52.x=-0.1163887770; r52.y=7.8336638467; r52.z=-132.1733109016; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==0.9) { r52.x=-0.0573202127; r52.y=3.8759476400; r52.z=-65.1557644983; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.1) { r52.x=0.0527882376; r52.y=-3.5368895165; r52.z=61.0224637946; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.2) { r52.x=0.1198854802; r52.y=-7.9972009803; r52.z=135.8968747117; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.3) { r52.x=0.1789540444; r52.y=-11.9549171871; r52.z=202.9144211151; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } } //convergence = 25 if(stereo.y==25) { if(HudScale==0.8) { r52.x=22.7423076924; r52.y=-1158.2865384642; r52.z=14746.4711538795; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z)); } if(HudScale==0.9) { r52.x=9.4019230770; r52.y=-478.6721153875; r52.z=6092.7634615747; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.1) { r52.x=-17.2788461538; r52.y=880.5567307659; r52.z=-11214.6519230347; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.2) { r52.x=-30.6192307692; r52.y=1560.1711538426; r52.z=-19868.3596153395; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.3) { r52.x=-43.9596153845; r52.y=2239.7855769193; r52.z=-28522.0673076442; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } } //convergence 25-25,1 if(stereo.y>25 && stereo.y<=25.1) { if(HudScale==0.8) { r52.x=22.7423076924; r52.y=-1158.2865384642; r52.z=14746.4711538795; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*2.49; } if(HudScale==0.9) { r52.x=9.4019230770; r52.y=-478.6721153875; r52.z=6092.7634615747; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.59; } if(HudScale==1.1) { r52.x=-17.2788461538; r52.y=880.5567307659; r52.z=-11214.6519230347; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*0.01; } if(HudScale==1.2) { r52.x=-30.6192307692; r52.y=1560.1711538426; r52.z=-19868.3596153395; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.78; } if(HudScale==1.3) { r52.x=-43.9596153845; r52.y=2239.7855769193; r52.z=-28522.0673076442; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-1.5; } } //convergence = 25,1-25,2 if(stereo.y>25.1 && stereo.y<=25.2) { if(HudScale==0.8) { r52.x=22.7423076924; r52.y=-1158.2865384642; r52.z=14746.4711538795; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-46.50; } if(HudScale==0.9) { r52.x=9.4019230770; r52.y=-478.6721153875; r52.z=6092.7634615747; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*2.8; } if(HudScale==1.1) { r52.x=-17.2788461538; r52.y=880.5567307659; r52.z=-11214.6519230347; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.03; } if(HudScale==1.2) { r52.x=-30.6192307692; r52.y=1560.1711538426; r52.z=-19868.3596153395; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.375; } if(HudScale==1.3) { r52.x=-43.9596153845; r52.y=2239.7855769193; r52.z=-28522.0673076442; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.55; } } //convergence = 25,2-25,3 if(stereo.y>25.2 && stereo.y<=25.3) { if(HudScale==0.8) { r52.x=22.7423076924; r52.y=-1158.2865384642; r52.z=14746.4711538795; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-3.40; } if(HudScale==0.9) { r52.x=9.4019230770; r52.y=-478.6721153875; r52.z=6092.7634615747; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*5.4; } if(HudScale==1.1) { r52.x=-17.2788461538; r52.y=880.5567307659; r52.z=-11214.6519230347; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.03; } if(HudScale==1.2) { r52.x=-30.6192307692; r52.y=1560.1711538426; r52.z=-19868.3596153395; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.272; } if(HudScale==1.3) { r52.x=-43.9596153845; r52.y=2239.7855769193; r52.z=-28522.0673076442; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.41; } } //convergence = 25,3-25,4 if(stereo.y>25.3 && stereo.y<=25.4) { if(HudScale==0.8) { r52.x=22.7423076924; r52.y=-1158.2865384642; r52.z=14746.4711538795; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-2.40; } if(HudScale==0.9) { r52.x=9.4019230770; r52.y=-478.6721153875; r52.z=6092.7634615747; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*10.4; } if(HudScale==1.1) { r52.x=-17.2788461538; r52.y=880.5567307659; r52.z=-11214.6519230347; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.05; } if(HudScale==1.2) { r52.x=-30.6192307692; r52.y=1560.1711538426; r52.z=-19868.3596153395; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.262; } if(HudScale==1.3) { r52.x=-43.9596153845; r52.y=2239.7855769193; r52.z=-28522.0673076442; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.38; } } //convergence = 25,4-25,5 if(stereo.y>25.4 && stereo.y<=25.5) { if(HudScale==0.8) { r52.x=22.7423076924; r52.y=-1158.2865384642; r52.z=14746.4711538795; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-2.35; } if(HudScale==0.9) { r52.x=9.4019230770; r52.y=-478.6721153875; r52.z=6092.7634615747; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*11.0; } if(HudScale==1.1) { r52.x=-17.2788461538; r52.y=880.5567307659; r52.z=-11214.6519230347; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.07; } if(HudScale==1.2) { r52.x=-30.6192307692; r52.y=1560.1711538426; r52.z=-19868.3596153395; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.275; } if(HudScale==1.3) { r52.x=-43.9596153845; r52.y=2239.7855769193; r52.z=-28522.0673076442; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.39; } } //convergence = 25,5-25,6 if(stereo.y>25.5 && stereo.y<=25.6) { if(HudScale==0.8) { r52.x=22.7423076924; r52.y=-1158.2865384642; r52.z=14746.4711538795; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-3.18; } if(HudScale==0.9) { r52.x=9.4019230770; r52.y=-478.6721153875; r52.z=6092.7634615747; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*6.45; } if(HudScale==1.1) { r52.x=-17.2788461538; r52.y=880.5567307659; r52.z=-11214.6519230347; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.08; } if(HudScale==1.2) { r52.x=-30.6192307692; r52.y=1560.1711538426; r52.z=-19868.3596153395; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.32; } if(HudScale==1.3) { r52.x=-43.9596153845; r52.y=2239.7855769193; r52.z=-28522.0673076442; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.45; } } //convergence = 25,6-25,7 if(stereo.y>25.6 && stereo.y<=25.7) { if(HudScale==0.8) { r52.x=22.7423076924; r52.y=-1158.2865384642; r52.z=14746.4711538795; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-9.8; } if(HudScale==0.9) { r52.x=9.4019230770; r52.y=-478.6721153875; r52.z=6092.7634615747; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*3.45; } if(HudScale==1.1) { r52.x=-17.2788461538; r52.y=880.5567307659; r52.z=-11214.6519230347; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.12; } if(HudScale==1.2) { r52.x=-30.6192307692; r52.y=1560.1711538426; r52.z=-19868.3596153395; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.435; } if(HudScale==1.3) { r52.x=-43.9596153845; r52.y=2239.7855769193; r52.z=-28522.0673076442; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.62; } } //convergence = 25,7-25,8 if(stereo.y>25.7 && stereo.y<=25.8) { if(HudScale==0.8) { r52.x=22.7423076924; r52.y=-1158.2865384642; r52.z=14746.4711538795; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*5.08; } if(HudScale==0.9) { r52.x=9.4019230770; r52.y=-478.6721153875; r52.z=6092.7634615747; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*2.08; } if(HudScale==1.1) { r52.x=-17.2788461538; r52.y=880.5567307659; r52.z=-11214.6519230347; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.21; } if(HudScale==1.2) { r52.x=-30.6192307692; r52.y=1560.1711538426; r52.z=-19868.3596153395; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.785; } if(HudScale==1.3) { r52.x=-43.9596153845; r52.y=2239.7855769193; r52.z=-28522.0673076442; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-1.20; } } //convergence = 25,8-25,9 if(stereo.y>25.8 && stereo.y<=25.9) { if(HudScale==0.8) { r52.x=22.7423076924; r52.y=-1158.2865384642; r52.z=14746.4711538795; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.74; } if(HudScale==0.9) { r52.x=9.4019230770; r52.y=-478.6721153875; r52.z=6092.7634615747; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.38; } if(HudScale==1.1) { r52.x=-17.2788461538; r52.y=880.5567307659; r52.z=-11214.6519230347; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.58; } if(HudScale==1.2) { r52.x=-30.6192307692; r52.y=1560.1711538426; r52.z=-19868.3596153395; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-5.805; } if(HudScale==1.3) { r52.x=-43.9596153845; r52.y=2239.7855769193; r52.z=-28522.0673076442; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*24.50; } } //convergence = 25,9-25,99 if(stereo.y>25.9 && stereo.y<=25.99) { if(HudScale==0.8) { r52.x=22.7423076924; r52.y=-1158.2865384642; r52.z=14746.4711538795; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.05; } if(HudScale==0.9) { r52.x=9.4019230770; r52.y=-478.6721153875; r52.z=6092.7634615747; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.05; } if(HudScale==1.1) { r52.x=-17.2788461538; r52.y=880.5567307659; r52.z=-11214.6519230347; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.25; } if(HudScale==1.2) { r52.x=-30.6192307692; r52.y=1560.1711538426; r52.z=-19868.3596153395; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.1; } if(HudScale==1.3) { r52.x=-43.9596153845; r52.y=2239.7855769193; r52.z=-28522.0673076442; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.1; } } //convergence = 26 if(stereo.y == 26.0) { if(HudScale==0.8) { r52.x=22.7423076924; r52.y=-1158.2865384642; r52.z=14746.4711538795; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==0.9) { r52.x=9.4019230770; r52.y=-478.6721153875; r52.z=6092.7634615747; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.1) { r52.x=-17.2788461538; r52.y=880.5567307659; r52.z=-11214.6519230347; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.2) { r52.x=-30.6192307692; r52.y=1560.1711538426; r52.z=-19868.3596153395; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.3) { r52.x=-43.9596153845; r52.y=2239.7855769193; r52.z=-28522.0673076442; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } } //convergence = 26-26,5 if(stereo.y>26.00 && stereo.y <=26.5) { if(HudScale==0.8) { r52.x=3.7115384618; r52.y=-191.0980769369; r52.z=2464.3711540277; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==0.9) { r52.x=2.2179487182; r52.y=-114.4692307842; r52.z=1479.8551284028; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.1) { r52.x=-0.7692307689; r52.y=38.7884615210; r52.z=-489.1769228473; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.2) { r52.x=-2.2628205125; r52.y=115.4173076737; r52.z=-1473.6929484722; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.3) { r52.x=-3.7564102560; r52.y=192.0461538263; r52.z=-2458.2089740972; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } } //convergence 26,6 if(stereo.y>26.5 && stereo.y <=26.6) { if(HudScale==0.8) { r52.x=-127.5000000000; r52.y=6776.2500000001; r52.z=-90027.0500000013; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==0.9) { r52.x=-66.2500000000; r52.y=3520.8750000001; r52.z=-46775.1500000013; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.1) { r52.x=56.2500000000; r52.y=-2989.8750000001; r52.z=39728.6500000009; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.2) { r52.x=117.5000000000; r52.y=-6245.2500000001; r52.z=82980.5500000013; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } if(HudScale==1.3) { r52.x=178.7500000000; r52.y=-9500.6250000002; r52.z=126232.4500000030; r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z); } } //convergence = 26,7 if(stereo.y>26.6 && stereo.y <=26.7) { if(HudScale==0.8) { r52.x=-127.5000000000; r52.y=6776.2500000001; r52.z=-90027.0500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.5; } if(HudScale==0.9) { r52.x=-66.2500000000; r52.y=3520.8750000001; r52.z=-46775.1500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.435; } if(HudScale==1.1) { r52.x=56.2500000000; r52.y=-2989.8750000001; r52.z=39728.6500000009; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*2.1; } if(HudScale==1.2) { r52.x=117.5000000000; r52.y=-6245.2500000001; r52.z=82980.5500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.83; } if(HudScale==1.3) { r52.x=178.7500000000; r52.y=-9500.6250000002; r52.z=126232.4500000030; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.70; } } //convergence = 26,8 if(stereo.y>26.7 && stereo.y <=26.8) { if(HudScale==0.8) { r52.x=-127.5000000000; r52.y=6776.2500000001; r52.z=-90027.0500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*10.5; } if(HudScale==0.9) { r52.x=-66.2500000000; r52.y=3520.8750000001; r52.z=-46775.1500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*5.7; } if(HudScale==1.1) { r52.x=56.2500000000; r52.y=-2989.8750000001; r52.z=39728.6500000009; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-2.4; } if(HudScale==1.2) { r52.x=117.5000000000; r52.y=-6245.2500000001; r52.z=82980.5500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-6.0; } if(HudScale==1.3) { r52.x=178.7500000000; r52.y=-9500.6250000002; r52.z=126232.4500000030; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-9.10; } } //convergence = 26,9 if(stereo.y>26.8 && stereo.y <=26.9) { if(HudScale==0.8) { r52.x=-127.5000000000; r52.y=6776.2500000001; r52.z=-90027.0500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-1.62; } if(HudScale==0.9) { r52.x=-66.2500000000; r52.y=3520.8750000001; r52.z=-46775.1500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-2.05; } if(HudScale==1.1) { r52.x=56.2500000000; r52.y=-2989.8750000001; r52.z=39728.6500000009; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.75; } if(HudScale==1.2) { r52.x=117.5000000000; r52.y=-6245.2500000001; r52.z=82980.5500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.98; } if(HudScale==1.3) { r52.x=178.7500000000; r52.y=-9500.6250000002; r52.z=126232.4500000030; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-1.075; } } //convergence = 27,0 if(stereo.y>26.9 && stereo.y <=27.0) { if(HudScale==0.8) { r52.x=-127.5000000000; r52.y=6776.2500000001; r52.z=-90027.0500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.73; } if(HudScale==0.9) { r52.x=-66.2500000000; r52.y=3520.8750000001; r52.z=-46775.1500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.83; } if(HudScale==1.1) { r52.x=56.2500000000; r52.y=-2989.8750000001; r52.z=39728.6500000009; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.44; } if(HudScale==1.2) { r52.x=117.5000000000; r52.y=-6245.2500000001; r52.z=82980.5500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.54; } if(HudScale==1.3) { r52.x=178.7500000000; r52.y=-9500.6250000002; r52.z=126232.4500000030; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.575; } } //skipp 27.1-27.4 -- its not selectable -- losti = stupid doing all this scaling before vor Y ----- steps: X.XY //convergence = 27,5 if(stereo.y>27.0 && stereo.y<=27.5) { if(HudScale==0.8) { r52.x=-127.5000000000; r52.y=6776.2500000001; r52.z=-90027.0500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.61; } if(HudScale==0.9) { r52.x=-66.2500000000; r52.y=3520.8750000001; r52.z=-46775.1500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.64; } if(HudScale==1.1) { r52.x=56.2500000000; r52.y=-2989.8750000001; r52.z=39728.6500000009; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.58; } if(HudScale==1.2) { r52.x=117.5000000000; r52.y=-6245.2500000001; r52.z=82980.5500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.59; } if(HudScale==1.3) { r52.x=178.7500000000; r52.y=-9500.6250000002; r52.z=126232.4500000030; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.60; } } //convergence = 28,0 if(stereo.y>27.5 && stereo.y<=28) { if(HudScale==0.8) { r52.x=-127.5000000000; r52.y=6776.2500000001; r52.z=-90027.0500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*0.063; } if(HudScale==0.9) { r52.x=-66.2500000000; r52.y=3520.8750000001; r52.z=-46775.1500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*0.058; } if(HudScale==1.1) { r52.x=56.2500000000; r52.y=-2989.8750000001; r52.z=39728.6500000009; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*0.070; } if(HudScale==1.2) { r52.x=117.5000000000; r52.y=-6245.2500000001; r52.z=82980.5500000013; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*0.072; } if(HudScale==1.3) { r52.x=178.7500000000; r52.y=-9500.6250000002; r52.z=126232.4500000030; r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*0.07; } } //convergence = 28,5 if(stereo.y>28.0 && stereo.y <=28.5) { if(HudScale==0.8) { r52.x=12.1250000000; r52.y=-355.4250000000; r51.y=((r52.x*(stereo.y))+(r52.y))*0.66; } if(HudScale==0.9) { r52.x=6.3125000000; r52.y=-184.4500000000; r51.y=((r52.x*(stereo.y))+(r52.y))*0.65; } if(HudScale==1.1) { r52.x=-5.3125000000; r52.y=157.5000000000; r51.y=((r52.x*(stereo.y))+(r52.y))*0.73; } if(HudScale==1.2) { r52.x=-11.1250000000; r52.y=328.4750000000; r51.y=((r52.x*(stereo.y))+(r52.y))*0.71; } if(HudScale==1.3) { r52.x=-16.9375000000; r52.y=499.4500000000; r51.y=((r52.x*(stereo.y))+(r52.y))*0.71; } } //convergence = 29,0 if(stereo.y>28.5 && stereo.y<=29.0) { if(HudScale==0.8) { r52.x=1.8769230770; r52.y=-58.2307692330; r51.y=((r52.x*(stereo.y))+(r52.y))*1.02; } if(HudScale==0.9) { r52.x=0.9182692309; r52.y=-28.0173076946; r51.y=((r52.x*(stereo.y))+(r52.y))*1.02; } if(HudScale==1.1) { r52.x=-0.9990384615; r52.y=32.4096153821; r51.y=((r52.x*(stereo.y))+(r52.y))*0.98; } if(HudScale==1.2) { r52.x=-1.9576923076; r52.y=62.6230769204; r51.y=((r52.x*(stereo.y))+(r52.y))*0.98; } if(HudScale==1.3) { r52.x=-2.9163461538; r52.y=92.8365384587; r51.y=((r52.x*(stereo.y))+(r52.y))*0.98; } } //convergence = 29,5 if(stereo.y>29.0 && stereo.y<=29.5) { if(HudScale==0.8) { r52.x=1.8769230770; r52.y=-58.2307692330; r51.y=((r52.x*(stereo.y))+(r52.y))*0.94; } if(HudScale==0.9) { r52.x=0.9182692309; r52.y=-28.0173076946; r51.y=((r52.x*(stereo.y))+(r52.y))*0.94; } if(HudScale==1.1) { r52.x=-0.9990384615; r52.y=32.4096153821; r51.y=((r52.x*(stereo.y))+(r52.y))*0.93; } if(HudScale==1.2) { r52.x=-1.9576923076; r52.y=62.6230769204; r51.y=((r52.x*(stereo.y))+(r52.y))*0.92; } if(HudScale==1.3) { r52.x=-2.9163461538; r52.y=92.8365384587; r51.y=((r52.x*(stereo.y))+(r52.y))*0.92; } } //convergence = 29,5-30,0 if(stereo.y>29.5 && stereo.y<30.0) { if(HudScale==0.8) { r52.x=1.8769230770; r52.y=-58.2307692330; r51.y=((r52.x*(stereo.y))+(r52.y)); } if(HudScale==0.9) { r52.x=0.9182692309; r52.y=-28.0173076946; r51.y=((r52.x*(stereo.y))+(r52.y)); } if(HudScale==1.1) { r52.x=-0.9990384615; r52.y=32.4096153821; r51.y=((r52.x*(stereo.y))+(r52.y)); } if(HudScale==1.2) { r52.x=-1.9576923076; r52.y=62.6230769204; r51.y=((r52.x*(stereo.y))+(r52.y)); } if(HudScale==1.3) { r52.x=-2.9163461538; r52.y=92.8365384587; r51.y=((r52.x*(stereo.y))+(r52.y)); } } //convergence 18-25 if(stereo.y >=18 && stereo.y < 25) { if(HudScale==0.8) { r52.x=0.0004191176; r52.y=-0.0437466578; r52.z=1.8262221484; r52.w=-38.0867168107; r53.x=396.7047625908; r53.y=-1649.2990958576; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y*stereo.y))+(r52.w*(stereo.y*stereo.y))+(r53.x*(stereo.y))+(r53.y); } if(HudScale==0.9) { r52.x=0.0002275512; r52.y=-0.0238025644; r52.z=0.9957742112; r52.w=-20.8118630526; r53.x=217.2402166815; r53.y=-904.7034321791; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y*stereo.y))+(r52.w*(stereo.y*stereo.y))+(r53.x*(stereo.y))+(r53.y); } if(HudScale==1.1) { r52.x=-0.000155581; r52.y=0.016085622; r52.z=-0.665121662; r52.w=13.737844455; r53.x=-141.688875056; r53.y=584.4878948563; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y*stereo.y))+(r52.w*(stereo.y*stereo.y))+(r53.x*(stereo.y))+(r53.y); } if(HudScale==1.2) { r52.x=-0.0003471480; r52.y=0.0360297156; r52.z=-1.4955695999; r52.w=31.0126982090; r53.x=-321.1534209197; r53.y=1329.0835583469; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y*stereo.y))+(r52.w*(stereo.y*stereo.y))+(r53.x*(stereo.y))+(r53.y); } if(HudScale==1.3) { r52.x=-0.0005387143; r52.y=0.0559738089; r52.z=-2.3260175369; r52.w=48.2875519615; r53.x=-500.6179667735; r53.y=2073.6792218046; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y*stereo.y))+(r52.w*(stereo.y*stereo.y))+(r53.x*(stereo.y))+(r53.y); } } //convergence 16-18 if(stereo.y >=16 && stereo.y < 18) { if(HudScale==0.8) { r52.x=-0.0053333333; r52.y=0.3453333334; r52.z=-8.3486666681; r52.w=89.3186666826; r53.x=-355.4600000668; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x); } if(HudScale==0.9) { r52.x=-0.0020000000; r52.y=0.1236666667; r52.z=-2.8320000001; r52.w=28.4028333345; r53.x=-103.7475000048; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x); } if(HudScale==1.1) { r52.x=0.0046666667; r52.y=-0.3196666667; r52.z=8.2013333336; r52.w=-93.4288333364; r53.x=399.6775000128; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x); } if(HudScale==1.2) { r52.x=0.0080000000; r52.y=-0.5413333333; r52.z=13.7180000001; r52.w=-154.3446666675; r53.x=651.3900000036; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x); } if(HudScale==1.3) { r52.x=0.0113333333; r52.y=-0.7630000000; r52.z=19.2346666664; r52.w=-215.2604999975; r53.x=903.1024999898; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x); } } //convergence 10-16 if(stereo.y >=10 && stereo.y < 16) { if(HudScale==0.8) { r52.x=0.0002000000; r52.y=-0.0098000000; r52.z=0.1826000000; r52.w=-1.5120000000; r53.x=5.8200000000; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x); } if(HudScale==0.9) { r52.x=0.0001673611; r52.y=-0.0082319444; r52.z=0.1530159722; r52.w=-1.2650347222; r53.x=4.9908333333; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x); } if(HudScale==1.1) { r52.x=0.0001020833; r52.y=-0.0050958333; r52.z=0.0938479167; r52.w=-0.7711041667; r53.x=3.3325000000; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x); } if(HudScale==1.2) { r52.x=0.0000694444; r52.y=-0.0035277778; r52.z=0.0642638889; r52.w=-0.5241388889; r53.x=2.5033333333; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x); } if(HudScale==1.3) { r52.x=0.0000368056; r52.y=-0.0019597222; r52.z=0.0346798611; r52.w=-0.2771736111; r53.x=1.6741666666; r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x); } } if(MouseMouseDepth==0.0) { if(output.pos.x>=-0.82) { if(output.pos.y>=0.55) { output.pos.x += stereo.x*MouseDepthScale*r51.x; } else if(output.pos.y>=0.05) { output.pos.x += stereo.x*MouseDepthScale*r50.x; } else if(output.pos.y>=-0.25) { output.pos.x += stereo.x*MouseDepthScale*r50.y; } else if(output.pos.y>=-0.55) { output.pos.x += stereo.x*MouseDepthScale*r50.z; } else if(output.pos.y<=0.55) { output.pos.x += stereo.x*r50.w*r51.y; } } else if(output.pos.x<-0.82) { output.pos.x += stereo.x*r50.w*r51.y; } } if(MouseMouseDepth==1.0) { output.pos.x += stereo.x*r50.w*r51.y; } } [/code] I am courrently testing the fix, need some attention to the keys for you and some menue auto toggle depths things are left.....but the release is near...this is one of my finest fixes i have made :-)
Schwing. said:    You can use pow(stereo.y, 3) to replace (stereo.y*stereo.y*stereo.y). That way, increasing the pow number keeps the code line the same size.


THX for the hint, ill use it in the next fix (that will be in later future ^^)

I did some stupid things here....may no one needs this but... hey it was fun and its working ^^

completely scaled the mouse over the action bar in dependency of extra +depth or -depth the user choose here ^^


.
.
.

given this is stupid ^^ I should not waste my time ^^

//Software coursor position fix by LOSTI
float4 stereo = StereoParams.Load(0);
float MouseDepthScale = IniParams.Load(int2(2,0)).z;
float MouseMouseDepth = IniParams.Load(int2(0,0)).w;
float HudScale = IniParams.Load(int2(4,0)).z;
float MosueActionBarScale = IniParams.Load(int2(20,0)).z;

//calculate mouse correction value - Pos 1 (upper part of screen)
r51.x=(0.0000024993*(stereo.y*stereo.y*stereo.y*stereo.y))+(-0.0002202091*(stereo.y*stereo.y*stereo.y))+(0.0066532219*(stereo.y*stereo.y))+(-0.1039266121*stereo.y)+1.2969264543;
//calculate mouse correction value - Pos 2 (middle upper part of screen)
r50.x=(-0.0270593839*stereo.y)+0.9911892664;
//calculate mouse correction value - Pos 3 (middle part of screen)
r50.y=(-0.0001175513*(stereo.y*stereo.y))+(-0.0235159130*stereo.y)+0.9476824791;
//calculate mouse correction value - Pos 4 (lower part of screen)
r50.z=(-0.0303620197*stereo.y)+0.9882661162;


//calculate mouse correction value for actionBars
r50.w=(0.0000108473*(stereo.y*stereo.y*stereo.y))+(-0.0006190693*(stereo.y*stereo.y))+(-0.0217267640*(stereo.y))+0.8433272656;

//convergence 34-36
if(stereo.y >=34 && stereo.y <= 36)
{
if(HudScale==0.8)
{
r52.x=-0.0305769231;
r52.y=2.2698076932;
r52.z=-42.0365384771;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==0.9)
{
r52.x=-0.0067307692;
r52.y=0.5344230779;
r52.z=-9.9346154015;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.1)
{
r52.x=0.0409615384;
r52.y=-2.9363461527;
r52.z=54.2692307496;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+r52.z;
}
if(HudScale==1.2)
{
r52.x=0.0648076923;
r52.y=-4.6717307680;
r52.z=86,3711538251;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.3)
{
r52.x=0.0886538461;
r52.y=-6.4071153833;
r52.z=118.4730769006;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
}
if(stereo.y >=30 && stereo.y < 34)
{
if(HudScale==0.8)
{
r52.x=-0.1163887770;
r52.y=7.8336638467;
r52.z=-132.1733109016;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==0.9)
{
r52.x=-0.0573202127;
r52.y=3.8759476400;
r52.z=-65.1557644983;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.1)
{
r52.x=0.0527882376;
r52.y=-3.5368895165;
r52.z=61.0224637946;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.2)
{
r52.x=0.1198854802;
r52.y=-7.9972009803;
r52.z=135.8968747117;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.3)
{
r52.x=0.1789540444;
r52.y=-11.9549171871;
r52.z=202.9144211151;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
}
//convergence = 25
if(stereo.y==25)
{
if(HudScale==0.8)
{
r52.x=22.7423076924;
r52.y=-1158.2865384642;
r52.z=14746.4711538795;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z));
}
if(HudScale==0.9)
{
r52.x=9.4019230770;
r52.y=-478.6721153875;
r52.z=6092.7634615747;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.1)
{
r52.x=-17.2788461538;
r52.y=880.5567307659;
r52.z=-11214.6519230347;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.2)
{
r52.x=-30.6192307692;
r52.y=1560.1711538426;
r52.z=-19868.3596153395;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.3)
{
r52.x=-43.9596153845;
r52.y=2239.7855769193;
r52.z=-28522.0673076442;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
}
//convergence 25-25,1
if(stereo.y>25 && stereo.y<=25.1)
{
if(HudScale==0.8)
{
r52.x=22.7423076924;
r52.y=-1158.2865384642;
r52.z=14746.4711538795;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*2.49;
}
if(HudScale==0.9)
{
r52.x=9.4019230770;
r52.y=-478.6721153875;
r52.z=6092.7634615747;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.59;
}
if(HudScale==1.1)
{
r52.x=-17.2788461538;
r52.y=880.5567307659;
r52.z=-11214.6519230347;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*0.01;
}
if(HudScale==1.2)
{
r52.x=-30.6192307692;
r52.y=1560.1711538426;
r52.z=-19868.3596153395;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.78;
}
if(HudScale==1.3)
{
r52.x=-43.9596153845;
r52.y=2239.7855769193;
r52.z=-28522.0673076442;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-1.5;
}
}
//convergence = 25,1-25,2
if(stereo.y>25.1 && stereo.y<=25.2)
{
if(HudScale==0.8)
{
r52.x=22.7423076924;
r52.y=-1158.2865384642;
r52.z=14746.4711538795;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-46.50;
}
if(HudScale==0.9)
{
r52.x=9.4019230770;
r52.y=-478.6721153875;
r52.z=6092.7634615747;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*2.8;
}
if(HudScale==1.1)
{
r52.x=-17.2788461538;
r52.y=880.5567307659;
r52.z=-11214.6519230347;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.03;
}
if(HudScale==1.2)
{
r52.x=-30.6192307692;
r52.y=1560.1711538426;
r52.z=-19868.3596153395;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.375;
}
if(HudScale==1.3)
{
r52.x=-43.9596153845;
r52.y=2239.7855769193;
r52.z=-28522.0673076442;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.55;
}
}
//convergence = 25,2-25,3
if(stereo.y>25.2 && stereo.y<=25.3)
{
if(HudScale==0.8)
{
r52.x=22.7423076924;
r52.y=-1158.2865384642;
r52.z=14746.4711538795;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-3.40;
}
if(HudScale==0.9)
{
r52.x=9.4019230770;
r52.y=-478.6721153875;
r52.z=6092.7634615747;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*5.4;
}
if(HudScale==1.1)
{
r52.x=-17.2788461538;
r52.y=880.5567307659;
r52.z=-11214.6519230347;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.03;
}
if(HudScale==1.2)
{
r52.x=-30.6192307692;
r52.y=1560.1711538426;
r52.z=-19868.3596153395;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.272;
}
if(HudScale==1.3)
{
r52.x=-43.9596153845;
r52.y=2239.7855769193;
r52.z=-28522.0673076442;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.41;
}
}
//convergence = 25,3-25,4
if(stereo.y>25.3 && stereo.y<=25.4)
{
if(HudScale==0.8)
{
r52.x=22.7423076924;
r52.y=-1158.2865384642;
r52.z=14746.4711538795;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-2.40;
}
if(HudScale==0.9)
{
r52.x=9.4019230770;
r52.y=-478.6721153875;
r52.z=6092.7634615747;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*10.4;
}
if(HudScale==1.1)
{
r52.x=-17.2788461538;
r52.y=880.5567307659;
r52.z=-11214.6519230347;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.05;
}
if(HudScale==1.2)
{
r52.x=-30.6192307692;
r52.y=1560.1711538426;
r52.z=-19868.3596153395;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.262;
}
if(HudScale==1.3)
{
r52.x=-43.9596153845;
r52.y=2239.7855769193;
r52.z=-28522.0673076442;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.38;
}
}
//convergence = 25,4-25,5
if(stereo.y>25.4 && stereo.y<=25.5)
{
if(HudScale==0.8)
{
r52.x=22.7423076924;
r52.y=-1158.2865384642;
r52.z=14746.4711538795;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-2.35;
}
if(HudScale==0.9)
{
r52.x=9.4019230770;
r52.y=-478.6721153875;
r52.z=6092.7634615747;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*11.0;
}
if(HudScale==1.1)
{
r52.x=-17.2788461538;
r52.y=880.5567307659;
r52.z=-11214.6519230347;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.07;
}
if(HudScale==1.2)
{
r52.x=-30.6192307692;
r52.y=1560.1711538426;
r52.z=-19868.3596153395;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.275;
}
if(HudScale==1.3)
{
r52.x=-43.9596153845;
r52.y=2239.7855769193;
r52.z=-28522.0673076442;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.39;
}
}
//convergence = 25,5-25,6
if(stereo.y>25.5 && stereo.y<=25.6)
{
if(HudScale==0.8)
{
r52.x=22.7423076924;
r52.y=-1158.2865384642;
r52.z=14746.4711538795;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-3.18;
}
if(HudScale==0.9)
{
r52.x=9.4019230770;
r52.y=-478.6721153875;
r52.z=6092.7634615747;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*6.45;
}
if(HudScale==1.1)
{
r52.x=-17.2788461538;
r52.y=880.5567307659;
r52.z=-11214.6519230347;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.08;
}
if(HudScale==1.2)
{
r52.x=-30.6192307692;
r52.y=1560.1711538426;
r52.z=-19868.3596153395;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.32;
}
if(HudScale==1.3)
{
r52.x=-43.9596153845;
r52.y=2239.7855769193;
r52.z=-28522.0673076442;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.45;
}
}
//convergence = 25,6-25,7
if(stereo.y>25.6 && stereo.y<=25.7)
{
if(HudScale==0.8)
{
r52.x=22.7423076924;
r52.y=-1158.2865384642;
r52.z=14746.4711538795;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-9.8;
}
if(HudScale==0.9)
{
r52.x=9.4019230770;
r52.y=-478.6721153875;
r52.z=6092.7634615747;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*3.45;
}
if(HudScale==1.1)
{
r52.x=-17.2788461538;
r52.y=880.5567307659;
r52.z=-11214.6519230347;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.12;
}
if(HudScale==1.2)
{
r52.x=-30.6192307692;
r52.y=1560.1711538426;
r52.z=-19868.3596153395;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.435;
}
if(HudScale==1.3)
{
r52.x=-43.9596153845;
r52.y=2239.7855769193;
r52.z=-28522.0673076442;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.62;
}
}
//convergence = 25,7-25,8
if(stereo.y>25.7 && stereo.y<=25.8)
{
if(HudScale==0.8)
{
r52.x=22.7423076924;
r52.y=-1158.2865384642;
r52.z=14746.4711538795;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*5.08;
}
if(HudScale==0.9)
{
r52.x=9.4019230770;
r52.y=-478.6721153875;
r52.z=6092.7634615747;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*2.08;
}
if(HudScale==1.1)
{
r52.x=-17.2788461538;
r52.y=880.5567307659;
r52.z=-11214.6519230347;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.21;
}
if(HudScale==1.2)
{
r52.x=-30.6192307692;
r52.y=1560.1711538426;
r52.z=-19868.3596153395;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.785;
}
if(HudScale==1.3)
{
r52.x=-43.9596153845;
r52.y=2239.7855769193;
r52.z=-28522.0673076442;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-1.20;
}
}
//convergence = 25,8-25,9
if(stereo.y>25.8 && stereo.y<=25.9)
{
if(HudScale==0.8)
{
r52.x=22.7423076924;
r52.y=-1158.2865384642;
r52.z=14746.4711538795;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.74;
}
if(HudScale==0.9)
{
r52.x=9.4019230770;
r52.y=-478.6721153875;
r52.z=6092.7634615747;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.38;
}
if(HudScale==1.1)
{
r52.x=-17.2788461538;
r52.y=880.5567307659;
r52.z=-11214.6519230347;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.58;
}
if(HudScale==1.2)
{
r52.x=-30.6192307692;
r52.y=1560.1711538426;
r52.z=-19868.3596153395;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-5.805;
}
if(HudScale==1.3)
{
r52.x=-43.9596153845;
r52.y=2239.7855769193;
r52.z=-28522.0673076442;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*24.50;
}
}
//convergence = 25,9-25,99
if(stereo.y>25.9 && stereo.y<=25.99)
{
if(HudScale==0.8)
{
r52.x=22.7423076924;
r52.y=-1158.2865384642;
r52.z=14746.4711538795;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.05;
}
if(HudScale==0.9)
{
r52.x=9.4019230770;
r52.y=-478.6721153875;
r52.z=6092.7634615747;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.05;
}
if(HudScale==1.1)
{
r52.x=-17.2788461538;
r52.y=880.5567307659;
r52.z=-11214.6519230347;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.25;
}
if(HudScale==1.2)
{
r52.x=-30.6192307692;
r52.y=1560.1711538426;
r52.z=-19868.3596153395;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.1;
}
if(HudScale==1.3)
{
r52.x=-43.9596153845;
r52.y=2239.7855769193;
r52.z=-28522.0673076442;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.1;
}
}
//convergence = 26
if(stereo.y == 26.0)
{
if(HudScale==0.8)
{
r52.x=22.7423076924;
r52.y=-1158.2865384642;
r52.z=14746.4711538795;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==0.9)
{
r52.x=9.4019230770;
r52.y=-478.6721153875;
r52.z=6092.7634615747;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.1)
{
r52.x=-17.2788461538;
r52.y=880.5567307659;
r52.z=-11214.6519230347;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.2)
{
r52.x=-30.6192307692;
r52.y=1560.1711538426;
r52.z=-19868.3596153395;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.3)
{
r52.x=-43.9596153845;
r52.y=2239.7855769193;
r52.z=-28522.0673076442;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
}
//convergence = 26-26,5
if(stereo.y>26.00 && stereo.y <=26.5)
{
if(HudScale==0.8)
{
r52.x=3.7115384618;
r52.y=-191.0980769369;
r52.z=2464.3711540277;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==0.9)
{
r52.x=2.2179487182;
r52.y=-114.4692307842;
r52.z=1479.8551284028;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.1)
{
r52.x=-0.7692307689;
r52.y=38.7884615210;
r52.z=-489.1769228473;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.2)
{
r52.x=-2.2628205125;
r52.y=115.4173076737;
r52.z=-1473.6929484722;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.3)
{
r52.x=-3.7564102560;
r52.y=192.0461538263;
r52.z=-2458.2089740972;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
}
//convergence 26,6
if(stereo.y>26.5 && stereo.y <=26.6)
{
if(HudScale==0.8)
{
r52.x=-127.5000000000;
r52.y=6776.2500000001;
r52.z=-90027.0500000013;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==0.9)
{
r52.x=-66.2500000000;
r52.y=3520.8750000001;
r52.z=-46775.1500000013;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.1)
{
r52.x=56.2500000000;
r52.y=-2989.8750000001;
r52.z=39728.6500000009;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.2)
{
r52.x=117.5000000000;
r52.y=-6245.2500000001;
r52.z=82980.5500000013;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
if(HudScale==1.3)
{
r52.x=178.7500000000;
r52.y=-9500.6250000002;
r52.z=126232.4500000030;
r51.y=(r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z);
}
}
//convergence = 26,7
if(stereo.y>26.6 && stereo.y <=26.7)
{
if(HudScale==0.8)
{
r52.x=-127.5000000000;
r52.y=6776.2500000001;
r52.z=-90027.0500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.5;
}
if(HudScale==0.9)
{
r52.x=-66.2500000000;
r52.y=3520.8750000001;
r52.z=-46775.1500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.435;
}
if(HudScale==1.1)
{
r52.x=56.2500000000;
r52.y=-2989.8750000001;
r52.z=39728.6500000009;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*2.1;
}
if(HudScale==1.2)
{
r52.x=117.5000000000;
r52.y=-6245.2500000001;
r52.z=82980.5500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.83;
}
if(HudScale==1.3)
{
r52.x=178.7500000000;
r52.y=-9500.6250000002;
r52.z=126232.4500000030;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*1.70;
}
}
//convergence = 26,8
if(stereo.y>26.7 && stereo.y <=26.8)
{
if(HudScale==0.8)
{
r52.x=-127.5000000000;
r52.y=6776.2500000001;
r52.z=-90027.0500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*10.5;
}
if(HudScale==0.9)
{
r52.x=-66.2500000000;
r52.y=3520.8750000001;
r52.z=-46775.1500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*5.7;
}
if(HudScale==1.1)
{
r52.x=56.2500000000;
r52.y=-2989.8750000001;
r52.z=39728.6500000009;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-2.4;
}
if(HudScale==1.2)
{
r52.x=117.5000000000;
r52.y=-6245.2500000001;
r52.z=82980.5500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-6.0;
}
if(HudScale==1.3)
{
r52.x=178.7500000000;
r52.y=-9500.6250000002;
r52.z=126232.4500000030;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-9.10;
}
}
//convergence = 26,9
if(stereo.y>26.8 && stereo.y <=26.9)
{
if(HudScale==0.8)
{
r52.x=-127.5000000000;
r52.y=6776.2500000001;
r52.z=-90027.0500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-1.62;
}
if(HudScale==0.9)
{
r52.x=-66.2500000000;
r52.y=3520.8750000001;
r52.z=-46775.1500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-2.05;
}
if(HudScale==1.1)
{
r52.x=56.2500000000;
r52.y=-2989.8750000001;
r52.z=39728.6500000009;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.75;
}
if(HudScale==1.2)
{
r52.x=117.5000000000;
r52.y=-6245.2500000001;
r52.z=82980.5500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.98;
}
if(HudScale==1.3)
{
r52.x=178.7500000000;
r52.y=-9500.6250000002;
r52.z=126232.4500000030;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-1.075;
}
}
//convergence = 27,0
if(stereo.y>26.9 && stereo.y <=27.0)
{
if(HudScale==0.8)
{
r52.x=-127.5000000000;
r52.y=6776.2500000001;
r52.z=-90027.0500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.73;
}
if(HudScale==0.9)
{
r52.x=-66.2500000000;
r52.y=3520.8750000001;
r52.z=-46775.1500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.83;
}
if(HudScale==1.1)
{
r52.x=56.2500000000;
r52.y=-2989.8750000001;
r52.z=39728.6500000009;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.44;
}
if(HudScale==1.2)
{
r52.x=117.5000000000;
r52.y=-6245.2500000001;
r52.z=82980.5500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.54;
}
if(HudScale==1.3)
{
r52.x=178.7500000000;
r52.y=-9500.6250000002;
r52.z=126232.4500000030;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.575;
}
}
//skipp 27.1-27.4 -- its not selectable -- losti = stupid doing all this scaling before vor Y ----- steps: X.XY
//convergence = 27,5
if(stereo.y>27.0 && stereo.y<=27.5)
{
if(HudScale==0.8)
{
r52.x=-127.5000000000;
r52.y=6776.2500000001;
r52.z=-90027.0500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.61;
}
if(HudScale==0.9)
{
r52.x=-66.2500000000;
r52.y=3520.8750000001;
r52.z=-46775.1500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.64;
}
if(HudScale==1.1)
{
r52.x=56.2500000000;
r52.y=-2989.8750000001;
r52.z=39728.6500000009;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.58;
}
if(HudScale==1.2)
{
r52.x=117.5000000000;
r52.y=-6245.2500000001;
r52.z=82980.5500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.59;
}
if(HudScale==1.3)
{
r52.x=178.7500000000;
r52.y=-9500.6250000002;
r52.z=126232.4500000030;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*-0.60;
}
}
//convergence = 28,0
if(stereo.y>27.5 && stereo.y<=28)
{
if(HudScale==0.8)
{
r52.x=-127.5000000000;
r52.y=6776.2500000001;
r52.z=-90027.0500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*0.063;
}
if(HudScale==0.9)
{
r52.x=-66.2500000000;
r52.y=3520.8750000001;
r52.z=-46775.1500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*0.058;
}
if(HudScale==1.1)
{
r52.x=56.2500000000;
r52.y=-2989.8750000001;
r52.z=39728.6500000009;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*0.070;
}
if(HudScale==1.2)
{
r52.x=117.5000000000;
r52.y=-6245.2500000001;
r52.z=82980.5500000013;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*0.072;
}
if(HudScale==1.3)
{
r52.x=178.7500000000;
r52.y=-9500.6250000002;
r52.z=126232.4500000030;
r51.y=((r52.x*(stereo.y*stereo.y))+(r52.y*(stereo.y))+(r52.z))*0.07;
}
}
//convergence = 28,5
if(stereo.y>28.0 && stereo.y <=28.5)
{
if(HudScale==0.8)
{
r52.x=12.1250000000;
r52.y=-355.4250000000;
r51.y=((r52.x*(stereo.y))+(r52.y))*0.66;
}
if(HudScale==0.9)
{
r52.x=6.3125000000;
r52.y=-184.4500000000;
r51.y=((r52.x*(stereo.y))+(r52.y))*0.65;
}
if(HudScale==1.1)
{
r52.x=-5.3125000000;
r52.y=157.5000000000;
r51.y=((r52.x*(stereo.y))+(r52.y))*0.73;
}
if(HudScale==1.2)
{
r52.x=-11.1250000000;
r52.y=328.4750000000;
r51.y=((r52.x*(stereo.y))+(r52.y))*0.71;
}
if(HudScale==1.3)
{
r52.x=-16.9375000000;
r52.y=499.4500000000;
r51.y=((r52.x*(stereo.y))+(r52.y))*0.71;
}
}
//convergence = 29,0
if(stereo.y>28.5 && stereo.y<=29.0)
{
if(HudScale==0.8)
{
r52.x=1.8769230770;
r52.y=-58.2307692330;
r51.y=((r52.x*(stereo.y))+(r52.y))*1.02;
}
if(HudScale==0.9)
{
r52.x=0.9182692309;
r52.y=-28.0173076946;
r51.y=((r52.x*(stereo.y))+(r52.y))*1.02;
}
if(HudScale==1.1)
{
r52.x=-0.9990384615;
r52.y=32.4096153821;
r51.y=((r52.x*(stereo.y))+(r52.y))*0.98;
}
if(HudScale==1.2)
{
r52.x=-1.9576923076;
r52.y=62.6230769204;
r51.y=((r52.x*(stereo.y))+(r52.y))*0.98;
}
if(HudScale==1.3)
{
r52.x=-2.9163461538;
r52.y=92.8365384587;
r51.y=((r52.x*(stereo.y))+(r52.y))*0.98;
}
}
//convergence = 29,5
if(stereo.y>29.0 && stereo.y<=29.5)
{
if(HudScale==0.8)
{
r52.x=1.8769230770;
r52.y=-58.2307692330;
r51.y=((r52.x*(stereo.y))+(r52.y))*0.94;
}
if(HudScale==0.9)
{
r52.x=0.9182692309;
r52.y=-28.0173076946;
r51.y=((r52.x*(stereo.y))+(r52.y))*0.94;
}
if(HudScale==1.1)
{
r52.x=-0.9990384615;
r52.y=32.4096153821;
r51.y=((r52.x*(stereo.y))+(r52.y))*0.93;
}
if(HudScale==1.2)
{
r52.x=-1.9576923076;
r52.y=62.6230769204;
r51.y=((r52.x*(stereo.y))+(r52.y))*0.92;
}
if(HudScale==1.3)
{
r52.x=-2.9163461538;
r52.y=92.8365384587;
r51.y=((r52.x*(stereo.y))+(r52.y))*0.92;
}
}
//convergence = 29,5-30,0
if(stereo.y>29.5 && stereo.y<30.0)
{
if(HudScale==0.8)
{
r52.x=1.8769230770;
r52.y=-58.2307692330;
r51.y=((r52.x*(stereo.y))+(r52.y));
}
if(HudScale==0.9)
{
r52.x=0.9182692309;
r52.y=-28.0173076946;
r51.y=((r52.x*(stereo.y))+(r52.y));
}
if(HudScale==1.1)
{
r52.x=-0.9990384615;
r52.y=32.4096153821;
r51.y=((r52.x*(stereo.y))+(r52.y));
}
if(HudScale==1.2)
{
r52.x=-1.9576923076;
r52.y=62.6230769204;
r51.y=((r52.x*(stereo.y))+(r52.y));
}
if(HudScale==1.3)
{
r52.x=-2.9163461538;
r52.y=92.8365384587;
r51.y=((r52.x*(stereo.y))+(r52.y));
}
}
//convergence 18-25
if(stereo.y >=18 && stereo.y < 25)
{
if(HudScale==0.8)
{
r52.x=0.0004191176;
r52.y=-0.0437466578;
r52.z=1.8262221484;
r52.w=-38.0867168107;
r53.x=396.7047625908;
r53.y=-1649.2990958576;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y*stereo.y))+(r52.w*(stereo.y*stereo.y))+(r53.x*(stereo.y))+(r53.y);
}
if(HudScale==0.9)
{
r52.x=0.0002275512;
r52.y=-0.0238025644;
r52.z=0.9957742112;
r52.w=-20.8118630526;
r53.x=217.2402166815;
r53.y=-904.7034321791;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y*stereo.y))+(r52.w*(stereo.y*stereo.y))+(r53.x*(stereo.y))+(r53.y);
}
if(HudScale==1.1)
{
r52.x=-0.000155581;
r52.y=0.016085622;
r52.z=-0.665121662;
r52.w=13.737844455;
r53.x=-141.688875056;
r53.y=584.4878948563;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y*stereo.y))+(r52.w*(stereo.y*stereo.y))+(r53.x*(stereo.y))+(r53.y);
}
if(HudScale==1.2)
{
r52.x=-0.0003471480;
r52.y=0.0360297156;
r52.z=-1.4955695999;
r52.w=31.0126982090;
r53.x=-321.1534209197;
r53.y=1329.0835583469;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y*stereo.y))+(r52.w*(stereo.y*stereo.y))+(r53.x*(stereo.y))+(r53.y);
}
if(HudScale==1.3)
{
r52.x=-0.0005387143;
r52.y=0.0559738089;
r52.z=-2.3260175369;
r52.w=48.2875519615;
r53.x=-500.6179667735;
r53.y=2073.6792218046;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y*stereo.y))+(r52.w*(stereo.y*stereo.y))+(r53.x*(stereo.y))+(r53.y);
}
}
//convergence 16-18
if(stereo.y >=16 && stereo.y < 18)
{
if(HudScale==0.8)
{
r52.x=-0.0053333333;
r52.y=0.3453333334;
r52.z=-8.3486666681;
r52.w=89.3186666826;
r53.x=-355.4600000668;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x);
}
if(HudScale==0.9)
{
r52.x=-0.0020000000;
r52.y=0.1236666667;
r52.z=-2.8320000001;
r52.w=28.4028333345;
r53.x=-103.7475000048;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x);
}
if(HudScale==1.1)
{
r52.x=0.0046666667;
r52.y=-0.3196666667;
r52.z=8.2013333336;
r52.w=-93.4288333364;
r53.x=399.6775000128;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x);
}
if(HudScale==1.2)
{
r52.x=0.0080000000;
r52.y=-0.5413333333;
r52.z=13.7180000001;
r52.w=-154.3446666675;
r53.x=651.3900000036;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x);
}
if(HudScale==1.3)
{
r52.x=0.0113333333;
r52.y=-0.7630000000;
r52.z=19.2346666664;
r52.w=-215.2604999975;
r53.x=903.1024999898;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x);
}
}
//convergence 10-16
if(stereo.y >=10 && stereo.y < 16)
{
if(HudScale==0.8)
{
r52.x=0.0002000000;
r52.y=-0.0098000000;
r52.z=0.1826000000;
r52.w=-1.5120000000;
r53.x=5.8200000000;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x);
}
if(HudScale==0.9)
{
r52.x=0.0001673611;
r52.y=-0.0082319444;
r52.z=0.1530159722;
r52.w=-1.2650347222;
r53.x=4.9908333333;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x);
}
if(HudScale==1.1)
{
r52.x=0.0001020833;
r52.y=-0.0050958333;
r52.z=0.0938479167;
r52.w=-0.7711041667;
r53.x=3.3325000000;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x);
}
if(HudScale==1.2)
{
r52.x=0.0000694444;
r52.y=-0.0035277778;
r52.z=0.0642638889;
r52.w=-0.5241388889;
r53.x=2.5033333333;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x);
}
if(HudScale==1.3)
{
r52.x=0.0000368056;
r52.y=-0.0019597222;
r52.z=0.0346798611;
r52.w=-0.2771736111;
r53.x=1.6741666666;
r51.y=(r52.x*(stereo.y*stereo.y*stereo.y*stereo.y))+(r52.y*(stereo.y*stereo.y*stereo.y))+(r52.z*(stereo.y*stereo.y))+(r52.w*(stereo.y))+(r53.x);
}
}
if(MouseMouseDepth==0.0)
{
if(output.pos.x>=-0.82)
{
if(output.pos.y>=0.55)
{
output.pos.x += stereo.x*MouseDepthScale*r51.x;
}
else if(output.pos.y>=0.05)
{
output.pos.x += stereo.x*MouseDepthScale*r50.x;
}
else if(output.pos.y>=-0.25)
{
output.pos.x += stereo.x*MouseDepthScale*r50.y;
}
else if(output.pos.y>=-0.55)
{
output.pos.x += stereo.x*MouseDepthScale*r50.z;
}
else if(output.pos.y<=0.55)
{
output.pos.x += stereo.x*r50.w*r51.y;
}
}
else if(output.pos.x<-0.82)
{
output.pos.x += stereo.x*r50.w*r51.y;
}
}
if(MouseMouseDepth==1.0)
{
output.pos.x += stereo.x*r50.w*r51.y;
}
}




I am courrently testing the fix, need some attention to the keys for you and some menue auto toggle depths things are left.....but the release is near...this is one of my finest fixes i have made :-)

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#37
Posted 02/09/2019 10:07 PM   
I have finished up the last HUD issues and made all of the HUD beeing auto toggled to the right settings....now i need to ckeck several places if everything is OK again....a never ending story....fix things, check if other things will be OK I want to re-release this fix as a perfect one...hecne i need some time to check things twice ^^
I have finished up the last HUD issues and made all of the HUD beeing auto toggled to the right settings....now i need to ckeck several places if everything is OK again....a never ending story....fix things, check if other things will be OK


I want to re-release this fix as a perfect one...hecne i need some time to check things twice ^^

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#38
Posted 02/11/2019 07:33 PM   
I have fixed the one eye problem for the inventory and the character one eye issue. But i need some more unviersal texture hash grapping for this because i cant fix all textures for every single character outfit ^^ but i am on the way .-)
I have fixed the one eye problem for the inventory and the character one eye issue. But i need some more unviersal texture hash grapping for this because i cant fix all textures for every single character outfit ^^ but i am on the way .-)

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#39
Posted 02/15/2019 04:27 PM   
// preparing release.....
// preparing release.....

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#40
Posted 02/16/2019 03:47 PM   
ITS DONE !!!!!!!!!!!!!!!!!!! May be only for you Necropants and me.... but it doesnt matter...... One of my more geniouse projects ^^ [url]https://helixmod.blogspot.com/2018/10/pathfinder-kingmaker-3d-visionreadyfix.html[/url]
ITS DONE !!!!!!!!!!!!!!!!!!!

May be only for you Necropants and me.... but it doesnt matter......

One of my more geniouse projects ^^

https://helixmod.blogspot.com/2018/10/pathfinder-kingmaker-3d-visionreadyfix.html

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#41
Posted 02/16/2019 06:21 PM   
[quote="Losti"]May be only for you Necropants and me.... but it doesnt matter...... [/quote] That sure isn't likely! This game is getting a bunch of good reviews plus awards from RPG Watch and Codex. I think there's just a lot of us waiting for more bugs to get fixed.
Losti said:May be only for you Necropants and me.... but it doesnt matter......

That sure isn't likely! This game is getting a bunch of good reviews plus awards from RPG Watch and Codex. I think there's just a lot of us waiting for more bugs to get fixed.

The very powerful and the very stupid have one thing in common. Instead of altering their views to fit the facts, they alter the facts to fit their views ... which can be very uncomfortable if you happen to be one of the facts that needs altering.

-- Doctor Who, "Face of Evil"

#42
Posted 02/16/2019 08:29 PM   
Hey Losti. First off thanks for this so much, you obviously put a huge amount of time into this, and I will be getting you a donation as soon as I can spare it. However, the fix doesn't work you might want to check your archive and make sure the 3dmigoto dll is actually included. I put in the latest one and on startup its still a bit broken and 3dmigoto complains files referenced are missing. Maybe repack? ;)
Hey Losti.

First off thanks for this so much, you obviously put a huge amount of time into this, and I will be getting you a donation as soon as I can spare it.

However, the fix doesn't work you might want to check your archive and make sure the 3dmigoto dll is actually included. I put in the latest one and on startup its still a bit broken and 3dmigoto complains files referenced are missing.

Maybe repack? ;)

i7-4790K CPU 4.8Ghz stable overclock.
16 GB RAM Corsair
ASUS Turbo 2080TI
Samsung SSD 840Pro
ASUS Z97-WS3D
Surround ASUS Rog Swift PG278Q(R), 2x PG278Q (yes it works)
Obutto R3volution.
Windows 10 pro 64x (Windows 7 Dual boot)

#43
Posted 02/18/2019 05:59 AM   
I have done a reupload with the dll inside but the lastest dll should also work...May be your download/extration was broken or the upload? I have checked the archive here @ me disk, its ok. Please redownload it and try again. The size on the disk should be "218 MB (229.081.088 Bytes)" (ShaderFix Folder only) and this are 13852 files. BTW: the Game Main Menue is some what strange maybe, press ALT key to cure like i have discriped. The Main Menue needs all the textures in 2D and reverse or no shader correction but uses the same shaders as ingame for complete other things that are ok there. Hence: Live with a flat and some what broken Game start menue ^^ BTW2: - press AND hold down the ALT+STRG+INSERT key until the green migoto overlay is gone,this may takes some seconds, press it until its gone!!! (the game may are sticky this time while doing it ^^)
I have done a reupload with the dll inside but the lastest dll should also work...May be your download/extration was broken or the upload? I have checked the archive here @ me disk, its ok. Please redownload it and try again.

The size on the disk should be "218 MB (229.081.088 Bytes)" (ShaderFix Folder only) and this are 13852 files.

BTW: the Game Main Menue is some what strange maybe, press ALT key to cure like i have discriped. The Main Menue needs all the textures in 2D and reverse or no shader correction but uses the same shaders as ingame for complete other things that are ok there. Hence: Live with a flat and some what broken Game start menue ^^

BTW2:
- press AND hold down the ALT+STRG+INSERT key until the green migoto overlay is gone,this may takes some seconds, press it until its gone!!! (the game may are sticky this time while doing it ^^)

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#44
Posted 02/18/2019 04:10 PM   
Definitely was an issue with your original upload. It's working perfectly now.... SO MUCH THANKS.
Definitely was an issue with your original upload. It's working perfectly now.... SO MUCH THANKS.

i7-4790K CPU 4.8Ghz stable overclock.
16 GB RAM Corsair
ASUS Turbo 2080TI
Samsung SSD 840Pro
ASUS Z97-WS3D
Surround ASUS Rog Swift PG278Q(R), 2x PG278Q (yes it works)
Obutto R3volution.
Windows 10 pro 64x (Windows 7 Dual boot)

#45
Posted 02/19/2019 09:39 AM   
  3 / 4    
Scroll To Top