Jump to content
The simFlight Network Forums

Assert

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Assert

  1. Language is C\C++, MSVC2010 compiler... i saw native interface for FSUIPC throug file mapping, and i can look precisely what happens with latest version later... FSUIPC is a backup interface for me, only few features are used, and maybe i make everything without FSUIPC later... I am making aircraft, and universal platform for aircraft development with existing sims. At this moment, my aircraft can fly in XPlane, FSX, FS9 and possibly P3D. This platform includes some general improvments in graphics through intercepting D3D\OpenGL drawing (mainly for fast cockpit displays drawing, and dynamic textures generation), my own physics\dynamics and aerodynamics with interface to MATLAB for model verification, modeling and exporting tools for 3dsMAX, navigation database converter, etc... i was focused on main features of platform and aircraft systems, but now, i can integrate in sim ports rear features like precise weather, and i starting with FS9. I will make improvement in FSX port later... and P3D2 in also will be supported, but it based on D3D11 and i need to write one more graphic interface...
  2. Make a test, and found that FS9 do not compute cloud turbulance based on individual cloud position, just compute turbulance for whole layer, and hardly cutts off it when aircraft leaving this layer... so i can compute native FS9 turbulance effects from NWI. But i still intrested in cloud based turbulance... may be i will try to find where clouds are placed in internal structures later... i am already intercepts graphics engine at D3D layer for other needs, and possibly can find cloud vertex\index arrays, and point when FS generates them... then find a way to get information about clouds position...
  3. Thanks alot, for you help and time. I am using older version, because 3.999z9 and published SDK (UIPC_SDK_C) from http://www.schiratti.com/dowson.html do not match. After i'am installing 3.999z9 and calling FSUIPC_Open(SIM_ANY, &result) from new lib downloaded with SDK, result is FSUIPC_ERR_VERSION, FSUIPC version is 0x00000002, LIB version is 0x000007D2. Surprised, that offsets 0E94-0E98 is a "latest feature" described in docs of my older version. As i understand, tubulance value at offset 0E98 do not include cloud turbulence? But FS9 computes wind vectors based on information are we actually in cloud or not? This computation happens in WEATHER.DLL, and internal structures of WEATHER.DLL knows where clouds actually placed? Ok, i think that offsets are unusable for me, and i need another way. May be i will try to reverse procedures that computes wind vectors in WEATHER.DLL... As my thanks for your help, if you intrested in, i can send you info about how to get stable access to full internal structures of tuned navaids, including markers and ADF's. I think this is can be helpful for making compatibility features with FSX, where user can access ADF's lat\lon\alt for example.
  4. I am sorry for misunderstanding, this is my english problem. I wrote in my first post, that i ALWAYS have zeros in offsets 0E94-0E98 regardless of settings in FS dialog and wind tab in FSUIPC. I am understand that weather is dynamic, i know this, but start point must be a start point, and i except that some valid data will be recived... not exact same as i set, but something. Not zeros every time. So, I can rewrite my questions as "What is 0E94-0E98, how it works, and how i can get resonable values from them? Can this values help me get what i need (current conditions at aircraft position as turbulance\variation\share magnitude scalar) or i must implement my own interpolator based on NWI? Is NWI offset C000 reflects dynamic changes, and is it the actual weather at aircraft at current time, and is this offset reflects changes that make external programs like ActiveSky?". I am trying to find a way, how i can get wing parameters at aircraft for my model im most safe and compatible way throu FSUIPC, can you help me? I have done a big work to disconnect native flight model from sim by patching of computation functions in SIM1.DLL on fly (very accurate, i am sure that i don't broken any other stuff in sim or FSUIPC), and now, i can control position and orientation of the aircraft without entering in slew mode and have problems with controls and other stuff. My aerodynamic model, is not a point model as default model for FS, it work's like XPlane flight model, with computation of individual forces at some points on the wing. This means, that at every point of aircraft, i have individual relative air speed and angles that depend on linear and angular speeds of the aircraft, and evironment conditions. Turbulance is simulated by making 3D grid with wind variation values and passing aircraft throu this grid as it flyies. Result is much more realistic than changing main wind vector for whole aircraft at one point. That's why i need to know separate turbulance magnitude as scalar... to generate turbulance grid.
  5. You mean that offsets: 0E94 2 Wind gusting value at aircraft 0E96 2 Wind directional variation at aircraft 0E98 2 Wind turbulence value at aircraft do't work as expected, or have other meaning, not weather conditions AT aircraft? Wind vectors is not a good solution for me, i found a topic where someone trying to get "triggered turbulance" in FSX, and a solution was "compute amplitude and frequiencies from wind vector"... this is very-very backup variant, and i will use it, if i can't get pure values in any way, with or without FSUIPC. Local wind vector is computed by FS in some way... from some settings. There is a complex weather set (winds, clouds etc...) at each station, (or for all station at once in global mode), where user, or external program can set turbulence, gusting, and share parameters for evry layer. You implemented NWI to access this parameters. "C000 - read only, maintains current interpolated weather at aircraft", including turbulence, gust, and other values... by some misunderstanding, i thought, that offsets 0E90-0E98 store values from C000 with respect to aircraft altitude. If NWI works OK, i can get what i need by processing this structure for aircraft elevation... but maybe, there is a way to get postprocessed values by simple offsets like 0E90-0E98, or there is a more comatible way to get weather at aircraft lat\lon\alt?
  6. I'm implementing my own aerodynamics for FS9, and i need wind variation\gust\turbulance values at aircraft position for my own computations. Looking for offsets in FSUIPC, i found that 0E90 to 0E98 is exacly what i want. As i can understand, this is a values, interpolated in some way to aircraft position. But only 0E90 and 0E92 not equal to 0 in any cases. All settings in wind FSUIPC dialog are unchecked, no interpolation, no suppresion... but turbulence, gust and wind variation goes to wind velocity and wind direction variations. I don't need this, i wont to compute my own 3D turbulance and share effects based on gust\turbulence scalars. My quiestion is: how i can get wind velocity, direction, variation, gust, and turbulance values without any modifications, as this values was set in FS dialog, and how i can get this values in most compatible way, to support external programs like ActiveSky?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.