Jump to content

tiberiu11

Commercial Member
  • Content Count

    134
  • Donations

    $0.00 
  • Joined

  • Last visited

Everything posted by tiberiu11

  1. Herbert, Speaking of Arne, I haven't seen him post here in months. I hope that he is doing fine.Yours Truly,Tiberiu Brasov
  2. Hello gentlemen, Good luck with the release of the PMDG 747! It looks like a great product. While looking over the manual, a question came up: how does the FMC calculate a leg change? Is it based on distance to waypoint, airspeed, heading? I do not understand how it is done, and I would greatly appreciate any help.Yours Truly,Tiberiu Brasov
  3. Etienne, This is a very interesting topic. I have been trying to achieve a Win32 timer, but did not have any success. When my pop up gauge would be called, the whole class wouldn't render due to the timer(SetTimer function). I was wondering if you could show me a small snipped of how you have it done,as that probably will resolve my problem. Thank you so much for your help.Tiberiu
  4. Darren, Thank you very much for your reply! Indeed, they have different hdc, and that is the solution to my problem. Thank you so much for your help. How is the implementation with DirectX in a gauge going?Yours Truly,Tiberiu Brasov
  5. Doug, Thanks for your reply, but this is not what I need. The same gauge is getting called in the pop up as the one on the main panel. Meaning that I do not have two different gauges compiled, but just one, being called a second time. I guess that you understood me wrong.Yours Truly,Tiberiu Brasov
  6. Doug, Thank you very much for your reply, but I need to figure which gauge is drawn, in order to stop the draw process for the main panel bitmap. If I do not know that and stop the draw process when the pop up is opened, then both gauges will be off, which is not what I want. Thanks for your help!Yours Truly,Tiberiu Brasov
  7. Hey guys, I found the problem with the bad frame rates on my gauges, but the solution is harder. I am trying to make a pop up of the gauge(PFD) but I need to determine which gauge is drawn in order to disable the gauge on the main panel when the pop up gauge is on. What I need to find out is which gauge is drawn, but I have no clue on how to figure that out. Thank you very much for your help.Sincerely,Tiberiu Brasov
  8. Good afternoon gentlemen, I have been working on some GDI+ gauges, but I seem to have some problems. I have both a PFD/MFD as well as two separate engine gauges all made with GDI+. The problem is that I get very bad frames with all of them at once. Less than 10 frames, while with other commercial GDI+ airplanes I get over 30 frames. I tried making a timer and uopdating them only 15 times a second, even once a second, but the frames did not improve much(maybe 4 frames per second, the most) I use a class drawing system, with a "DUMMY" gauge that only opens/closes GDI+. I am not sure how to proceed with this. For the second question, in the MFD I have a MAP mode that displays airports/navaids. I load them from the dafif database in an array of chars, and only use the database at PRE_INSTALL. Is this the way to go, or should I load them each time I update my gauge?Thank you very much for your help in advance.
  9. Hello Etienne, Long time no talk. Thank you for your reply. Here is a picture of the VSI shifted upwards. The needle will move higher upward(about 50 pixels) until 6000FT. Thank you for your help.http://forums.avsim.net/user_files/118917.jpgYours Truly,Tiberiu Brasov
  10. Jan, Thank you very much for posting that XML example, unfortunately I am not that familiar with XML, but from what I see, it uses a nonlinearity table with values set for 6000 and -6000. Unfortunately I use C++ and GDI+, so no luck here. I tried implementing your example in the C++ code, but it does not work this way for this type of a VSI. Again, thank you for your help.Yours Truly,Tiberiu Brasov
  11. Hello guys, I need your help again. I am trying to achieve a VSI needle animation in my Primus 1000 CDS PFD. The problem is that the VSI scale is not round like a conventional VSI, but it is straight.(see attached picture) I have tried the GDI+ way of rotating a needle with its centerpoint shifted, but it would mean an unnecessary rotation on the x-axis, when this animation is more of a y-axis translation. I am stumped on how to get this needle to animate properly, as I am not so frantic on the y-axis animation. Thank you very much for your help in advance.Sincerely,Tiberiu Brasovhttp://forums.avsim.net/user_files/118839.jpg
  12. Hello Doug, Thank you very much for your reply. The snippet that you provided is interesting and I will take a look at it when I will get the chance. I am interested in a working example. You can email it to me at tiberiu11@yahoo.comThank you!Yours Truly,Tiberiu Brasovhttp://eaglesoftdg.com/staff_Images/TB.gif
  13. Hello guys, I am posting here since I have a question that I can not answer by myself. I would like to make a DLL that will be in the FS9/Modules folder, which does some calculations and stores some variables. What I want is interaction with a gauge that I am developing. I tried everything that I could, but I couldn't get it to work. I use this code for the DLL:http://www.squawkbox.ca/downloads.php Does anybody know on how I should proceed for interaction between the gauge and the DLL. I don't want anything complex, for start create a variable in the DLL, set a value to it, and be able to obtain the value in my gauge. Thank you very much for your help.Yours Truly,Tiberiu Brasovhttp://www.eaglesoftdg.com/staff_Images/TB.gif
  14. Alan, The tag should be door_passenger not door_passanger(with an a) Commom tag mistake. Don't worry, animations work fine in Max 7;)Tiberiu
  15. Arne and Jean, Thank you very much for your help. I do not know what I would have done without you. I am still experiencing a problem while calculating the distance. I get the answer for both of the codes 2400. I use these values:From lat = 450000From long = 230000To lat = 455000To long = 230000 My questions are: What should I do to 2400 in order to get the distance between the latitudes in a nm format? Is 2400 considered as minutes, which need to be converted to nm? I am stuck, and any help is greatly appreciated.Sincerely,Tibeiru Brasov
  16. Guys, I am asking for you help again. This time I am experiencing a problem when trying to calculate the distance between two locations(I have the latitude and longitude for each of the locations). I tried coding a simple MS-DOS program in C++, but I do not know how to make the appropriate conversions.Here is the sourcecode:double a1 = 450000; //first latitudedouble b1 = 230000; /first longitudedouble a2 = 455000; //second latitudedouble b2 = 230000; //second latitudedouble dist;double r = 3443.9; /radius of Earthcout << a1;cout << 'n';cout << b1;cout << 'n';cout << a2;cout << 'n';cout << b2;cout << 'n';/*a1 = a1 * pi / 180;b1 = b1 * pi / 180;b2 = b2 * pi / 180;*/dist = acos(cos(a1)*cos(b1)*cos(a2)*cos(b2) + cos(a1)*sin(b1)*cos(a2)*sin(b2) + sin(a1)*sin(a2)) * r;dist = dist * 180 / pi; My problem is that I do not get the appropriate answer(50.0895 nautical miles) I always get a different bigger answer. I used this website to help me out with determing the distance, and the sourcecode:http://jan.ucc.nau.edu/~cvm/latlongdist.html I also have a code that converts decimal degrees to deg:min:sec , but I do not know if I should use it. It is really not that important for me to use it, since I just want this code to work, and to correctly calculate the distance between these coordinates. I thank you very much for your help in advance. This really means a lot to me, and my project.Yours Truly,Tiberiu Brasov
  17. I personally think that PMDG has the right to price their product as much as they want. I think that PMDG priced their product fair enough for how much work they put on it. When you will see how much coding only the PFD needs, you will understand. More than 10000 lines for the PFD. Making an aircraft does not contain in four clicks of a mouse button, but many months of hard work. If you can show me that you can do a product of an equal or better quality(Panel, Model, Sounds, FDE, Free liveries), then I will agree with you, but now what you state are lies. I am not going to comment any further, but please check the facts before you say that x company prices their prodct y cheaper than z company. If you aren't upset with PMDG, then why did you remove their banner?Sincerely,Tiberiu Brasov
  18. Arne, Thank you very much for your super prompt answer! I am having a problem compiling your code. I apologise not understanding your example, but I can't get code to compile.WCHAR string[5] = L"";swprintf(string,L"%02d",pitch);g->DrawString(string, wcslen(string), -1, &Arialf, PointF(110, 15), &whiteBrush); Thank you very much for taking your time to help me! I really appreciate it!Sincerely,Tibeiru Brasov
  19. Guys, I have a real basic question about GDI+ and DrawString. I am trying to make a string to display the pitch value of the aircraft as a number ex: 10 = 10 degrees pitch up, or -5 = minus five degrees pitch down. I am having problem doing this. I made my own variable, pitch that is a double, and that reads the pitch value from FS. Here is the code.g->DrawString(L"pitch", -1, &Arialf, PointF(110, 15), &whiteBrush); In this snip, pitch is written, but if I take the quotes and the L(I don't know what that is, but I know that it has to be there), I can't compile. Can anybody help me out? Thank you very much in adcance.Sincerely,Tiberiu Brasov
  20. Fr. Bill, Thank you very much for your help. It is MakeMDL that crashes. The trick that you taught me works great! I appreciate your help, and I thank you very much for the discovery!Sincerely,Tibeiru Brasov
  21. Guys, I am experiencing an awkward problem. I can not export parts smaller than 0.5 meters. If I do, MakeMDL will chrash exporting. So if I have a 0.4 meter box or a wheel, I can not get it out of gMax, 3DS Max 5, 3DS Max 6. I have everything set right, and parts bigger than 0.5 meters export succesfully. I got no clue what the problem is. I tried this on another computer, and I get the exact same problem. Thank you very much for your help in advance.Sincerely,Tibeiru Brasov
  22. Ramon, I figured out what problem we are having. Yes, WE. I am also experiencing the same problem as you with my aircraft. I am using 3DS Max 6.1. It seems that some parts are making this error. I do not yet know a fix for it, but I am betting the dreaded OBED Scale. Try exporting your model as a .3DS, and load it into gMax and compile it from there. Tell me if you have more errors. I am interested in a fix, since I can't continue work without being able to export. Here is a link to my post over at freeflightdesign.http://www.aerodynamika.com/cgi-bin/yabb/Y...;num=1079621234Edit: please copy/past the link.
  23. Jose, Please post the changed code! I am interested in seeing it! Thank you again for your wonderful work!;)
  24. Jose, Thank you very much for the code! :) This is what I was wishing for, and you made my wish become true!Sincerely,Tiberiu Brasov
  25. Fred and guys, What was I thinking when I wrote this, it seems that I provided insufficient info. Here is the fix.// add this line, and everything is working goodcase PANEL_SERVICE_POST_INSTALL: gdiplusToken = fred.gdiInit();I apologise again for the mistake. Everything works good now.Sincerely,Tiberiu Brasov
×
×
  • Create New...