Jump to content
  • Announcements

    • Erik

      2019 Drive   05/31/2019

      Can you lend a hand?  GET STARTED TODAY

Recommended Posts

Mue, first a big thank for this wonderful tool.

I also have the problem of very slow execution (menus, rotations, any interaction with the program ...), which is better after some time, or if program closed and immediately relaunched. I also had a windows memory error (not enough memory), one time.

I also had a data file that could not be loaded (<no data file>), but the file was there (and loaded ok with version 0.5.2). By comparaison with a working file I have found that this was due to the character '°' (complete comment line : "// -60°, 100 meter  level") that prevented the load. The data file was in ANSI (again no problem with 0.5.2). Conversion to Unicode also fixed the problem for 0.6.0.

Hope this will help.

Edited by pvince
details added
  • Like 1

Share this post

Link to post
Share on other sites

On 8.6.2019 at 6:10 PM, ludo.m54 said:

I made several tests with different aircrafts (the Mirage F1EQ for example) and the result is always the same.


I downloaded and tested this Mirage F-1EQ . Because of the 4K Textures my development system (Windows 7 with an old 8800 GTS 512) struggles. It gives me a slide show. But it doesn't crashed. On another computer with a GTX 660 I have no problem.

Share this post

Link to post
Share on other sites
18 hours ago, Gatling20 said:

The little A5M Claude (6000 polys), for example, gives no problems, but Veltro2k's B-26 Marauder or the A-Team's new B-26 Marauder (both 42,000 polys) freeze every time, usually at the very first attempt to rotate or shift the model.

Any ideas on this?

I tested this package. I don't see any freezes or crashes :dntknw:

Share this post

Link to post
Share on other sites
59 minutes ago, Gatling20 said:

That is one of the aircraft I have been looking at which causes the system freeze, so maybe it is just my PC.

I don't think "it's just your PC", since other users also have problems with the LODViewer.
Unfortunatelly, I have no clue what the cause of the problems is, because I don't see it on my computers.

I have a request:

  • please enable OSG logging (Extras->Settings->Debugging->Write OSG log file). It writes a logfile "osg_logfile.txt" in the lodviewer.exes directory.
  • restart the LODViewer
  • load the Marauder
  • if the "osg_logfile.txt" is written, please send it to me. Thank you!

Maybe the logfile gives me some pointers.

Share this post

Link to post
Share on other sites


I have just tried the new V0.60 LOD Viewer on my PC at work, and it works fine, moving and rotating that B-26 without any freeze.

Here is the OSG file from that.

I will try V0.60 on my other PC, the one that has been having the system freezes, later today, and send you the OSG file from that.


Share this post

Link to post
Share on other sites
9 hours ago, mue said:

I downloaded and tested this Mirage F-1EQ . Because of the 4K Textures my development system (Windows 7 with an old 8800 GTS 512) struggles. It gives me a slide show. But it doesn't crashed. On another computer with a GTX 660 I have no problem.

Thanks for your help, it should come from me.

I'm going to make some researches to find what's wrong.

Share this post

Link to post
Share on other sites
3 hours ago, pvince said:

Mue, this logfile has been generated on a model with slow execution. There are warnings in it. Maybe it helps.



41 minutes ago, Gatling20 said:


Here is the logfile from the PC which is giving the system freezes, from just after a freeze. It may be a coincidence, but after turning on the OSG logfile option in Debug it took a lot longer to freeze.



Could both of you please (re)create log files with the "write osg log file" option already enabled at program start (just restart LODViewer with this option enabled). Some information will only be written to the log file at program start. If the log option is enabled only after the program start, then that information are missing in the logfile. 

Share this post

Link to post
Share on other sites

Version 0.6.1 was uploaded.


Version 0.6.1
-added decal texture file loading fallback: If numbered texture file is not found, it’ll then look for unnumbered file.
-added option for using vertex buffer objects (Extra->Settings->Display->Use Vertex Buffer Objects)
 Maybe "Use Vertex Buffer Objects" helps with the performance problem some users have experienced with Version 0.6.0.
 Beware! Enabling this option while simultaneously "Write OSG log file" is enabled, writes A LOT to osg_logfile.txt.
-bugfix: "Write Info File" didn't work in Version 0.6.0
-bugfix: Couldn't save UV Mapping as jpg file

  • Like 2
  • Thanks 2

Share this post

Link to post
Share on other sites

Many thanks Mue, I have given v0.61 a good workout and it seems to be working fine, without the system freezes I was consistently getting with v0.60.

Great job, and an essential tool!

Share this post

Link to post
Share on other sites

The new version (0.6x) is not compatible with ANSI code (version 0.52 has not the issue). It is probably the combination ANSI + some special characters in the file. Typical problems then:

- data file not loaded

- numbers.lst : numbers not shown in individual markings dropdown list (detected because of  '°' in the text file)

- textures.ini : texture not loaded (suspected character is 'é' in 'Aéronavale' )

And for your info, unfortunately still very slow for me also with 0.61. Sometimes it improves after some time after the model is loaded.

Share this post

Link to post
Share on other sites

Mue, does this mean you've dropped 32-bit support or what am I overlooking as I can't get this version to even open...(I hope not, that would be a bad idea IMHO). 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By mue
      This is the newest version of the LODViewer.
      New features:
      -decal support
      -display of collision and pivot points
      -added transparency and wireframe display mode
      -user definable background color
      -view manipulation via keyboard
      -64 bit application
      -uses the OpenSceneGraph library and Qt 5.9.5
      Install instructions:
      Extract the content of the zip package to a convenient location.
      The LODViewer depends on the Microsoft Visual Studio 2017 C++ libraries. If not already installed on the computer (e.g. by other applications) it has to be installed by running vcredist_x64.exe (you can find it in the redist subfolder of this package).
      Have fun! And report bugs
    • By sophocles
      Hello all, I was wondering If you can have more than 5 (five) LOD models for aircraft.  It sure would be convenient as I want to separate the initial LODs quite close together (1 at 50m, 2 at 125m, 3 at 250m .. and then 4,5,6,7 at much greater distances out to 10000m)
      Thanks for your help.
    • By mue
      Maybe some of the flight model guys find this useful for creating, analyzing or checking flight models.
      Last year I had the idea for a tool that extracts the data of the debug hud and writes them into a text file:
      (from this post: https://combatace.com/forums/topic/91675-how-to-develop-test-flight-models/?do=findComment&comment=741238):
      The process steps are illustrated in the following figure:

      The tool "DebugHUDExtractor" I came up with is written in python and uses the optical character recognition (OCR) software tesseract. Thus to use the DebugHudExtractor you have to install python, some python packages and the tesseract software.
      For those who want to try this tool, here are the installation, configuration and usage instructions:
      1.) Download and install tesseract: https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-v4.1.0.20190314.exe
      Copy lucidaconsole.traineddata into tessdata directory (e.g. C:\Program Files\Tesseract-OCR\tessdata). Needs admin rights.
      This file contains the trained data for the lucida console font. I use this font as it gave me the best results with the character recognition. This font has to be configured for the debug hud output in the game (see. step 4 below)
      2.a) Download and install python: https://www.python.org/ftp/python/3.7.3/python-3.7.3-amd64.exe
          While installing select "Customize installation":
          -optional: change the installation directory (e.g I use C:\Python37)
          -enable "Add Python to environment variables"
      2.b) Install needed python packages.
      On the windows command line execute the following commands:
      pip install pillow pip install numpy pip install opencv-python pip install pytesseract 3.) Setting the path to the tesseract executable:
      In <Python_install_directory>\Lib\site-packages\pytesseract\pytesseract.py (line 35) set tesseract_cmd to the file path of the tesseract executable. Use double backslashes or normal slashes.
      tesseract_cmd = 'C:\\Program Files\\Tesseract-OCR\\tesseract'  
      4.) Configure the game.
      In SF2/FE2 game set Option Hud = Normal and configure the Huddata.ini.
      It enables the debug hud, set the font to lucida console, sets a bigger font size (the bigger the better, but all relevant debug info should still be displayed in the screen,e.g. for my 1920x1080 resolution I use TextSize = 24)
      ,the normal font color is changed to red (required for text filtering), the default right info box is disabled and the default left aircraft info box is moved to the right (that gives more space for the debug info box on the left)
      [Debug] DisplayDebug=true [Font] TextFontName=Lucida Console TextSize=24 [InfoDisplay] //BackgroundImage=TextBackground.tga BottomLeftPosition=0.8,1.0 //BottomRightPosition=0.99,0.985 NormalColor=1.0,0.0,0.0,1.0
      5.) Configure the python script debughudextractor.py :
      Depending on the values you want to extract from the debug hud the variables extractPitch, extractAlpha, ... have to be set to True or False,
      The leftRect and rightRect variables have to be configured depending on where the debug info box and aircraft info box is located on your screen (depending on your screen resolution and the entries in your huddate.ini)
      The format is as follows:
      leftRect = (top-left-x, top-left-y, bottom-right-x, bottom-right-y)
      The top left corner of the screen is the origin (0,0).
      E.g. with a resolution of 1920x1080 and the above huddata.ini, I use the following:
      leftRect = (56,236,1450,1080) rightRect = (1528,968,1920,1080)  
      See this picture:

      6.) Start the script from windows command line:
      python debughudextractor.py video_file_path time_step_in_s start_time_in_s end_time_in_s <video_file_name>.txt and <video_file_name>_error.txt will be written into the directory of the video file.
      <video_file_name>.txt contains the extracted data.
      <video_file_name>_error.txt contains what values at what time couldn't be recognized. If a value couldn't be recognized, then the very next video frame is used and analyzed.

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and 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..