#4479691 - 06/24/19 07:05 AM
Re: KA-50 AIO Reloaded
[Re: Viper1970]
|
Joined: Dec 2010
Posts: 791
Viper1970
Member
|
Member

Joined: Dec 2010
Posts: 791
Bavaria, near Munich
|
I think I made some bigger textures to test what's even possible. I really don't know it anymore There were so many things the last two years, I really couldn't remember what exactly I did for the KA-50 project, sorry! I hope this time with the MI-28, I don't have to halt the work before I'm completely finished with the things I'm able to do. But at least that's sadly not always my decision, that's the way life is (at least how my own life was the last 20 years - it's also the reason my homepit project never finished until now - started with it in 1998!) I really would like to do the complete work for a helicopter by my own, so noone must deal with the things I made (sometimes certainly not really accurate), but sadly I'm not able to do any coding, which is absolutely required to get any instruments or other things running. I also considered to learn coding, so that I'm able to make all those things too, but I simply haven't enough time for it, even though it seems that I will have more time now than the last years of my life. If I start to learn coding also, the hompit project is on hold for minimum the next two years again. And the way my life is, I try to use the time it seems that nothing new unexpected will happen, to finish the dream of my last over twenty years. The last twenty years sadly it never worked for me, so I hope this time it will, but who knows? All I can do is helping with 3D models of cockpits or helicopters. Even the animations are something I could not realize at the moment, but I think this is something I'm at least able to learn. That's also the reason I try to make as much as possible if I have the time for it, cause I never know what comes next. Sadly I'm no "robocop".
Last edited by Viper1970; 06/24/19 07:14 AM.
Main System: Ryzen 9 3900XT / RTX 3090 / 64Gb Ram / HP Reverb G2
Second System: Ryzen 5 2600X / RTX 2060 / 32Gb Ram
Retro System: Athlon X2 3000Mhz / GeForce AGP 6800 GT / Diamond Monster 3D II 12MB SLI / 2GB Ram
|
|
#4479692 - 06/24/19 07:23 AM
Re: KA-50 AIO Reloaded
[Re: Viper1970]
|
Joined: Dec 2010
Posts: 1,770
messyhead
|
Member
Joined: Dec 2010
Posts: 1,770
|
I'm almost done with the needles. But the calculations to work out the rotation of the needle has me stumped. I've got it to almost match the texture scale, but not quite. Also, I was using the speed shown on the hud as a guide. But it turns out the speed on the hud was the wrong value. It showed world z velocity, so basically how fast an object is moving through the 3d world, unaffected by air, or any other physics. Once I changed that to use indicated airspeed, I got further. I'll need a maths guru to help understand, or try and work out what the calculation is doing. I read this guide, and it helped a bit. https://www.s-cool.co.uk/a-level/ph...ns-and-angular-speed-versus-linear-speed
|
|
#4479693 - 06/24/19 07:34 AM
Re: KA-50 AIO Reloaded
[Re: Viper1970]
|
Joined: Dec 2010
Posts: 791
Viper1970
Member
|
Member

Joined: Dec 2010
Posts: 791
Bavaria, near Munich
|
Hmm, what about simply change the texture of the instrument, to make it work linear. I know that isn't realistic, cause some instruments in the KA-50 aren't linear, but if it's possible to adjust the texture to a linear one, it could be a workarround until we know more about the code that stands behind it. If we are able to make it the right way, it's no big deal to change the textures again. Don't know if it is even possible, because of the scaling needed to show the whole indicating range, but if, this could be a solution for now, for sure not for ever. Better a working instrument than nothing 
Main System: Ryzen 9 3900XT / RTX 3090 / 64Gb Ram / HP Reverb G2
Second System: Ryzen 5 2600X / RTX 2060 / 32Gb Ram
Retro System: Athlon X2 3000Mhz / GeForce AGP 6800 GT / Diamond Monster 3D II 12MB SLI / 2GB Ram
|
|
#4479694 - 06/24/19 07:50 AM
Re: KA-50 AIO Reloaded
[Re: Viper1970]
|
Joined: Dec 2010
Posts: 791
Viper1970
Member
|
Member

Joined: Dec 2010
Posts: 791
Bavaria, near Munich
|
Found a video about this, but it's a description to program it for x-plane. Don't know if it helps cause I have no coding experience, but what I've always heard is that many things are work relatively similar in different coding languages. https://www.youtube.com/watch?v=gfABSyd5KsADon't blame me if I'm wrong
Last edited by Viper1970; 06/24/19 07:53 AM.
Main System: Ryzen 9 3900XT / RTX 3090 / 64Gb Ram / HP Reverb G2
Second System: Ryzen 5 2600X / RTX 2060 / 32Gb Ram
Retro System: Athlon X2 3000Mhz / GeForce AGP 6800 GT / Diamond Monster 3D II 12MB SLI / 2GB Ram
|
|
#4479695 - 06/24/19 08:05 AM
Re: KA-50 AIO Reloaded
[Re: Viper1970]
|
Joined: Mar 2010
Posts: 778
BANITA
Member
|
Member
Joined: Mar 2010
Posts: 778
|
what about simply change the texture. +1 the same i thought. No make sense waste time. Thank you Javelin for info.
Last edited by BANITA; 06/24/19 08:07 AM.
|
|
#4479703 - 06/24/19 08:49 AM
Re: KA-50 AIO Reloaded
[Re: Viper1970]
|
Joined: Dec 2010
Posts: 1,770
messyhead
|
Member
Joined: Dec 2010
Posts: 1,770
|
I checked the Hind, but it has a different scale for speed. Just related to that though, the Hind does have a few instruments I'd like to reuse - the Main ADI is more like the one in the Blackshark, also the Engine temperature gauges, the clock, the rotor blade pitch, and the fuel gauge (I have the fuel needle working, but I want to check how it is done in the Hind code, as I'm not sure I have the right calculation).
The youtube video uses an existing function (img_rotate) in his code (I might check out the xplane source code and see what that function does), so he's just feeding it values. In our code, the angle to rotate (theta) is calculated, and then passed to "something" that rotates the object by that amount. There's some conversion from degrees to radians, and radians to degrees going on, and I need to work out how the linear value is translated to rotation using the functions. In the past, I used existing code, or trial and error to get it to work. But I want to try and figure it out, and then document it. It might take a little longer, but it'll be better in the long run to know these things and have them in the wiki.
|
|
#4479705 - 06/24/19 09:48 AM
Re: KA-50 AIO Reloaded
[Re: Viper1970]
|
Joined: Dec 2010
Posts: 791
Viper1970
Member
|
Member

Joined: Dec 2010
Posts: 791
Bavaria, near Munich
|
Yes, I know what you mean. I also think in the end it's better do understand how things are working instead of copy and paste. It might be sometimes faster, but if you want to be more prepared for future things, it's better to understand what it really does.
I had also the vision back those days that if we really understood how the whole instrumentation is working, it might be possible to configure some standard instruments with a simple textfile, you write in the coordinates, the scale and kind of the gauge or MFD you like to display in 3D. Thought this could eventually be done with variables in the code, but I can really imagine that this would be a hard coding work and sadly I'm not able to help with something like this, of course I really would.
I looked at the sourcecode back those days and I even could not follow the whole structure at all. So many different parts which are all dependent from each other and you have to jump from here to there. If you already have problems to understand the coding itself this makes the whole attempt to recognize only a small part of it totally impossible.
I really admire the hard work you and Javelin have done to realize many things, that without you never could have been possible.
Last edited by Viper1970; 06/24/19 09:51 AM.
Main System: Ryzen 9 3900XT / RTX 3090 / 64Gb Ram / HP Reverb G2
Second System: Ryzen 5 2600X / RTX 2060 / 32Gb Ram
Retro System: Athlon X2 3000Mhz / GeForce AGP 6800 GT / Diamond Monster 3D II 12MB SLI / 2GB Ram
|
|
#4479725 - 06/24/19 12:47 PM
Re: KA-50 AIO Reloaded
[Re: BANITA]
|
Joined: Dec 2010
Posts: 1,770
messyhead
|
Member
Joined: Dec 2010
Posts: 1,770
|
Please if you do such GREAT cockpit,think about add manual contrast for tv view. If not for all helos,only for blackshark. Now is really hard see anything,because no flir in blackshark. Contrast i think greatly help . Well, if I upgrade the external model to the one that Viper did, it has FLIR, so I could change the TV to have that as well as DTV.
|
|
|
|