MiG-29

01 May 2018 14:17 - 01 May 2018 14:17 #38371 by enrogue
I thought I'd start a topic here for the development of the MiG-29

my forked repo can be found at github.com/alexeijd/MiG-29_9-12

I haven't tried requesting pulls from the original author (Sergey) yet - may try when I've got more done

My Todo list so far (in no particular order):


add latest liveries from Russian Forum - done

convert all models to 1 sided - done

make smoke density dependent on revs - already is, fixed alpha & other bits so done

replace smoke texture with something more random, and more grey

ALS afterburner effect - done

ALS glass effect

ALS fuselage effect

Add wing drop tanks

add engine exterior sounds

add engine rumble for interior view

add afterburner rumble for interior view

add vacuum sound for when intakes are using upper louvres

make smoke work over MP

make contrails work over MP

make loads work over MP

make non ALS afterburner work over MP

break out lines for normal map

Please Log in or Create an account to join the conversation.

03 May 2018 12:25 #38382 by enrogue
Update:
  • Uber shader on canopy glass & fuselage - the fuselage is a bit shiny so any pointers on reducing this would be good
  • moved the insignia out to a separate texture, and removed the alpha channel from the main textures - did this for *all of them*
  • accidentally discovered that if I assign a non existent effect to the insignia model the dayglo effect goes away - this only really works on the separated insignia model though as it has other effects that can't easily be seen in the insignia - I have no idea *why* this works btw

I have tested this on macOS with Nvidia, Linux with Intel & Windows on VMware (on top of linux - it doesn't behave the same way as linux as it uses the LLVM shader compiler). I'd appreciate it if people could take a look & see if this is working the same for them as it is for me
The following user(s) said Thank You: Algernon

Please Log in or Create an account to join the conversation.

03 May 2018 12:59 #38383 by StuartC
I use this code in the first part of the set file to reduce the shine

<rendering>
<refl_correction type="string">-0.27</refl_correction>
</rendering>
The following user(s) said Thank You: enrogue

Please Log in or Create an account to join the conversation.

03 May 2018 20:05 #38387 by enrogue
A couple of screenshots from a quick flight tonight





Attachments:
The following user(s) said Thank You: StuartC

Please Log in or Create an account to join the conversation.

03 May 2018 20:31 #38388 by J Maverick 16
Nice burner effect!
Mav

Breakin' the sound barrier every day.
Oh God, that's EGOD!
Celebrating 1000 MP flight hours

FG 2018.1.1 - iMac 27" (Mid 2010) w/ OS X 10.12

Please Log in or Create an account to join the conversation.

04 May 2018 07:37 #38389 by Avionyx
Looking excellent, absolutely love the 29. Looking forward to flying it soon.

Alex

Please Log in or Create an account to join the conversation.

04 May 2018 14:11 - 04 May 2018 14:12 #38397 by Algernon
I'm not a big fan of Soviet/Russian birds, but it's a welcome addition to FG. Look forward to being attacked with it soon (IRL).

Please Log in or Create an account to join the conversation.

11 May 2018 12:31 #38472 by enrogue
I don't think the MiG-29 is very popular in Russian service - I think it's had reliability issues, and a well known structural issue with the vertical tail has meant that all US operating MiG-29's have had major tail components remanufactured, and all Indian AF MiG-29s had to be returned to Russia to fix

That said - here's a quick update:

I've found 2 big bugs in the flight dynamics - these are probably the 2 most annoying things I find when flying it:

- the roll rate in the right direction is higher than in the left
- the aircraft attempts to roll at pitch = 90 and -90 degrees

The 1st I have a fix for - in the FDM the roll rate due to stabilator output was only taking into account the left stabilator position, and due to the fact that their movements are asymmetrical this was resulting in asymmetric roll rate. The fix is to apply an additional roll coefficient due to the right stab (done in my local repo, will test some more)

The 2nd is due to the roll damper (which is always on, but shouldn't be) - it applies a PID controller gain based on fdm/jsbsim/attitude/roll-rad, and at pitch=90 attitude/roll-rad blips from 0 to pi (you're now inverted) so it thinks the roll rate is very large. Again at pitch=-90 attitude/roll-rad blips from pi to 0 as you switch from inverted to normal, so you see the same behaviour

So the fix for the 2nd is to redo the roll damper - I have a few ideas from looking at a couple of other jsbsim aircraft, but it'll take time - something based on actual roll rate as a limiter & damper is what I'm aiming for
The following user(s) said Thank You: Algernon, StuartC, Avionyx

Please Log in or Create an account to join the conversation.

12 May 2018 08:26 #38474 by Avionyx
Interesting problems Enrogue, thanks for keeping us updated.

Please Log in or Create an account to join the conversation.

14 May 2018 14:18 #38501 by enrogue
Interestingly a roll damper based on rate was surprisingly simple in implementation, it just took a lot of experimentation:
    pure_gain name="alt roll damper"
        input velocities/p-rad_sec
        gain -1.0
        clipto
            min -1.0
            max 1.0
        output ap/roll-damper-cmd

jsbsim cut & paste triggers a website error so I edited out the tags, but hopefully you get the gist...

It applies a negative gain (clipped to +/- 1) based on the current rate of roll - this could be tuned with the gain number

current github repo is up to date with my fdm work

no more aileron blips in loops :)

Now to work on the taxi + landing lights

Please Log in or Create an account to join the conversation.

Time to create page: 0.233 seconds
Powered by Kunena Forum

PM Mailbox

You are not logged in.

Forum Search

Keyword