RE: [Flightgear-devel] visual studio optimization
Tom wrote: i am compiling FG under msvc7.1in debug mode with few performance warnings. however in release mode i get to many link errors. in debug mode the size of fgfs.exe is 5.8mb and causes very very slow loading. how can i optimize solution? I recently dealt with this very same problem. I had to go through and compare the debug mode properties to the release mode properties to see the differences and make the appropriate changes. You will need to do this for each project not just flightgear(simgear, plib, zlib, etc.). I think the main things to look out for are: 1. C++ - Code Generation - Runtime Library - make sure for each project the is marked as multi-threaded dll. 2. Linker - General - Additional Library Directories - these have to be in a certain order or you will get linker errors. I used the following order: a) plib b) simgear/release c) zlib d) OpenAL\libs e) pthreads I guess the bet thing to do is copy/paste from debug mode to release mode. Again these properties are the ones to look out for: (Code Generation, Linker-General, and Linker-Input). I am new to the flightgear project also so some of this information may be wrong but this is what I did to make it work. I hope this helps, Ben ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] AC3D format and material settings
I am having problems with materials not being rendered on my model in AC3D's format. On flightgear's console it gives me a warning: Can't parse this material. I read in a past discussion this may be because of the specular component of the material. The other problem I am having is once I export the model to AC3D from blender it will give me an error when I try to import it back in. Does anyone have a solution for this? Thanks, Ben ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] AC3D export error from blender
When I try to export my files from blender to ac3d format I get an error on the console window, path is too long. Has anyone experienced this before? ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] Model's xml properties
I have added a tank to flightgear but the model is not to scale, appears below the ground, and doesn't face the right direction. If I understand correctly the model should have values to correct this in a xml file, but I can't find documentation for the properties to define them. Can someone point me in the right direction? Thanks, Ben ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] AI for Ground Units
I noticed in flightgear there are classes for AI aircraft and ships. Has anyone tried to add a car or truck to flightgear yet? Is there any documentation on this? ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] Aircraft Model: AC130-H
Ben Morrison writes The problem with this approach is that I have no experience with modeling aircraft. I have downloaded blender and played around with it but that's about it. How long would you say it would take you to create this model, just so I have an idea. I was also wondering if taking a plane close to the size of a C130 and modifying it to look like a C130 is an option? Thanks, Ben Innis Cunningham wrote Solid work day in day out about 2 weeks but I would get sick of it so about 2 months. Also the fact that you are starting on Blender does not help. I am sure Blender is a great program but it is not all that intuitive to use. I use AC3D. Starting from scratch is the way to go.I would say start with the fuslage by creating cylinders and shaping them to resemble the fuselage. You might be surprised how quick things develop. Cheers Innis Yeah, I gave up on trying to work with Blender because of its interface. One of my co-workers likes Blender but I think it is only because it is free. I will look at AC3D. Ben ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] Aircraft Model: AC130-H
This doesn't relate to this topic in anyway but the site looks like it is partially down (www.flightgear.org). The menu on the left is missing. Has anyone else noticed this? I am getting javascript errors and after viewing the source it looks like the function call MainMenu() is causing an error. The Japanese version is working. Lol, too bad I can't read Japanese. Ben ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] Web site problems?
I am using Internet Explorer 6.0. The error message is Object expected. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Curtis L. Olson Sent: Thursday, May 12, 2005 1:53 PM To: FlightGear developers discussions Subject: [Flightgear-devel] Web site problems? Ben Morrison wrote: This doesn't relate to this topic in anyway but the site looks like it is partially down (www.flightgear.org). The menu on the left is missing. Has anyone else noticed this? I am getting javascript errors and after viewing the source it looks like the function call MainMenu() is causing an error. The Japanese version is working. Lol, too bad I can't read Japanese. What browser are you using? What specific javascript error messages are you seeing? Curt. -- Curtis Olsonhttp://www.flightgear.org/~curt HumanFIRST Program http://www.humanfirst.umn.edu/ FlightGear Project http://www.flightgear.org Unique text:2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] Web site problems?
I know javascript if you send me the code, I can try and debug it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Curtis L. Olson Sent: Thursday, May 12, 2005 2:59 PM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Web site problems? Frederic Bouvier wrote: Windows + firefox = no problem either. Sounds like we need to find an expert in MSJavaScript ... :-( Curt. -- Curtis Olsonhttp://www.flightgear.org/~curt HumanFIRST Program http://www.humanfirst.umn.edu/ FlightGear Project http://www.flightgear.org Unique text:2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] Web site problems?
To make it work in Internet Explorer I changed the following line: script src=/templates.js defer/script to script src=templates.js/script I think this will fix the problem. Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Curtis L. Olson Sent: Thursday, May 12, 2005 3:09 PM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Web site problems? Ben Morrison wrote: I know javascript if you send me the code, I can try and debug it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Curtis L. Olson Sent: Thursday, May 12, 2005 2:59 PM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Web site problems? Frederic Bouvier wrote: Windows + firefox = no problem either. Sounds like we need to find an expert in MSJavaScript ... :-( Curt. It's all there for the grabbing ... I'm no JS expert so I could have done something illegal that only IE6 complains about??? http://www.flightgear.org/templates.js http://www.flightgear.org/index.shtml Regards, Curt. -- Curtis Olsonhttp://www.flightgear.org/~curt HumanFIRST Program http://www.humanfirst.umn.edu/ FlightGear Project http://www.flightgear.org Unique text:2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] Re: Web site problems?
Well then it should be: script type=text/javascript src=templates.js/script Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Melchior FRANZ Sent: Thursday, May 12, 2005 3:58 PM To: flightgear-devel@flightgear.org Subject: [Flightgear-devel] Re: Web site problems? * Curtis L. Olson -- Thursday 12 May 2005 22:52: The point I think you are trying to make is that the validator still has squawks. No. The point was that the validator complains about the missing type, which is apparently a *BUG*. So the most obvious thing to do would have been to fix the bug in the html page and then try again. Of course, if there's a bug in IE6, too, ... (who would have thought?! :-) m. ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] HLA Support
Was HLA support ever added to flightgear? Ben ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] Aircraft Model: AC130-H
Besides the small matter of getting permission from the original modeller to modify and release under the GPL.Separating out all the objects and animating them can be nearly as hard as building the model from scratch.MSFS use a different approach for animation they build different objects for different positions of aircraft parts. E.G the landing gear will have a separate model for gear up than gear down and then they just hide the model they dont want to show.This did change when they went to GMAX models but as far as I am aware PLIB can't handle those models. I would say build your own you will look back in a years time and say what a load of rubbish but the experience will be invaluble.One thing I would say is to make the fuselage with plenty of sides because if and when you come back to improve it you won't have to start from scratch as I have had to do.Currently I use no less than 40 sided fuslages. Cheers Innis The problem with this approach is that I have no experience with modeling aircraft. I have downloaded blender and played around with it but that's about it. How long would you say it would take you to create this model, just so I have an idea. I was also wondering if taking a plane close to the size of a C130 and modifying it to look like a C130 is an option? Thanks, Ben ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] Aircraft Model: AC130-H
When you refer to data, are you referring to the dimensions of the aircraft? If so, I have all of this data already. The problem I see is my lack of experience with Blender and the fact that I am a computer programmer not a graphics artist. If someone enjoys drawing models I would be happy to give them the proper dimensions of every part that is needed and then take the project over once I have the model. I just don't think I can draw a model from scratch. On May 11, 2005 09:47 am, Ben Morrison wrote: How long would you say it would take you to create this model, just so I have an idea. It depends. How much data have you gathered? The more data you have, the less guess work you have to do, and the quicker you can get the model to look right. Experience also contributes, of course. My first model took me more than a month to get right. I was also wondering if taking a plane close to the size of a C130 and modifying it to look like a C130 is an option? Kitbashing? May be. But aircrafts rarely share parts. Ampere ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] Aircraft Model: AC130-H
Ben Morrison wrote: I will be working on adding the AC130-H to flightgear but I haven't worked with the aircraft models yet and only have a small grasp on how it works. I was wondering has anyone else worked with a similar To be clear, are you talking about a 3d model or about a flight dynamics model (which describes how the aircraft should handle)? In case of the latter, there is already a (beta) C130 configuration file for JSBSim available: http://cvs.sourceforge.net/viewcvs.py/jsbsim/JSBSim/aircraft/C130/ Erik Sorry, I already have a fdm and I will be doing a 3d model. Ben ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] Aircraft Model: AC130-H
I will be working on adding the AC130-H to flightgear but I havent worked with the aircraft models yet and only have a small grasp on how it works. I was wondering has anyone else worked with a similar aircraft to this one and could pass any information along or which one of the aircraft in flightgear is the most complete, so that I would have a good example to go by. ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] HUD
I am trying to display the HUD in the center of the screen no matter which way the viewer is looking. Currently in the center of the screen if the viewer is facing straight forward. Can anyone point me in the right direction? ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] HUD
Do you know where the code is located inside of the Flightgear source for drawing this alternative HUD? I am drawing a custom HUD. Sorry if I am asking simple questions. I am still trying to learn how Flightgear works. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Hofman Sent: Thursday, May 05, 2005 12:27 PM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] HUD Ben Morrison wrote: I am trying to display the HUD in the center of the screen no matter which way the viewer is looking. Currently in the center of the screen if the viewer is facing straight forward. Can anyone point me in the right direction? pointing forward/ Seriously, there is an alternative HUD that can be seen by pressing I (and switch back by pressing i). This HUD always stays in front of the viewer. Erik ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] HUD
Ok that was it. Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Ross Sent: Thursday, May 05, 2005 1:02 PM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] HUD Ben Morrison wrote: I am trying to display the HUD in the center of the screen no matter which way the viewer is looking. Currently in the center of the screen if the viewer is facing straight forward. Can anyone point me in the right direction? Try toggling /sim/hud/enable3d. The original hud was screen space only, and the work done to make it draw into a 3d world was predicated on this property. The code is still in there, although the default seems to have changed over time. Andy ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] Command Window
When I run flightgear 9.8 nothing is written to the command window. Is there something I have to do to get this to happen? ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] Command Window
I have modified flight gear and I am getting an error that is printed to the command window but before I can read the error flightgear closes. Is there a way to keep flightgear from closing? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giles Robertson Sent: Tuesday, May 03, 2005 10:06 AM To: FlightGear developers discussions Subject: RE: [Flightgear-devel] Command Window When I run flightgear 9.8 nothing is written to the command window. Is there something I have to do to get this to happen? Try --log-level=info and see what happens. Questions like this are probably better asked on the users list (flightgear-users@flightgear.org). Giles Robertson ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] MSVC 7.1 Runtime Error
I have downloaded the following source code files: FlightGear 9.8, SimGear 3.8, plib 1.8.4, and zlib 1.1.4. I was able to get this to compile in Visual Studio 2003 but when I try to run flight gear with the following command: fgfs fg-root=c:\\GS_PTT\\Flightgear\\data airport=KSFO aircraft=A-10cl disable-sound and I get the following runtime error almost immediately: Debug assertion failed! Program: fgfs.exe File: isctype.c Line: 68 _expression_: (unsigned)(c+1) = 256 Has anyone ever encountered this error? Is it possible to set breakpoints in Flightgear and debug it that way? ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] MSVC 7.1 Runtime Error
Thanks, guys. This is my first time posting to the board and I am impressed with the response times. I am compiling in debug mode because I am going to be modifying flightgear later. Ok, Harald's solution fixed the runtime error but now flightgear just sits there and doesn't start. What could be causing this? ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] MSVC 7.1 Runtime Error
It's not very clear. Check that you added the '--fg-root=x:\flightgear\data' parameter to the debugger, not finding the airports/runway data can lead FG to an infinite loop for example. Or just press break and look where he is in the code ;) Harald. Ok, it turns out it was initializing it just wasn't echoing the information to the command window so I thought it was stuck. Thanks for your help. Ben. ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] Disabling the top menu
Is it possible to hide the menu at the top of the screen? ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] Disabling the top menu
Is it possible to do this from the command prompt? I don't want the user to have to press F10. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Oliver C. Sent: Friday, April 29, 2005 3:40 PM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Disabling the top menu On Friday 29 April 2005 18:34, Ben Morrison wrote: Is it possible to hide the menu at the top of the screen? Yes, press F10. Best Regards, Oliver C. ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] Re: Disabling the top menu
Thanks that is exactly what I needed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Melchior FRANZ Sent: Friday, April 29, 2005 1:45 PM To: flightgear-devel@flightgear.org Subject: [Flightgear-devel] Re: Disabling the top menu * Ben Morrison -- Friday 29 April 2005 20:34: Is it possible to hide the menu at the top of the screen? Sure. F10 toggles it. If you want it disabled everytime you start fgfs, you can put this into one of the xml configuration files: PropertyList ... sim menubar visibility type=boolfalse/visibility /menubar /sim ... /PropertyList or simply start fgfs with this option (or put it into ~/.fgfsrc): --prop:/sim/menubar/visibility=0 m. ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d