Jump to content

Recommended Posts

Posted (edited)

LODViewer


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 :biggrin:

Update 29.03.2025: I think it's best for the community if my tools are freely downloadable for everyone. External download link: https://www.dropbox.com/scl/fi/a4ah52r9gb2cm3rwhi3iz/LODViewer-0.6.3.zip?rlkey=e1l9jlvagiroyoc88xy5jahr3&st=si329dc9&dl=0

Mue


 

Edited by mue
uploaded version 0.6.2
  • Like 3
  • Thanks 7
Posted

Cool! Someone will be very happy...

Although some guys here might totally stop playing the game...

Thanks!

Have you considered an option where you could merge two or more lod files in one scene? useful at weapon positioning, fake piloting etc...

 

  • Like 3
  • Thanks 1
Posted

I have an issue with the last version : when I open the ini file of the aircraft that I want to see on the LODViewer, systematically I have a CTD (the previous version works perfectly)

Thanks for you help.

 

Posted
4 hours ago, Wilches said:

Another breakthrough and making history!! Super bravo! Is there a way to read DecalLevel=0? Some roundels not shows up.

Should work. Can you send me or give me a link of the aircraft, where it doesn't work?

35 minutes ago, ludo.m54 said:

I have an issue with the last version : when I open the ini file of the aircraft that I want to see on the LODViewer, systematically I have a CTD (the previous version works perfectly)

Thanks for you help.

 

Do you get the CTD with all aircrafts?

Posted

I'm very happy with this update, the least I can do is to write a Thank You! :good:

But take this just as a Bug Report: me too I don't seem to be able to load decals with DecalLevel=0...

 

Posted

Some aircrafts cause CTD and as I said everything set as DecalLevel=0, numbers, letters or roundels, does not shows. Even so, what a marvelous improvement!

Posted
8 hours ago, mue said:

Should work. Can you send me or give me a link of the aircraft, where it doesn't work?

Do you get the CTD with all aircrafts?

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

 

Posted

I tested it with more then ten different stock aircraft. No CTDs. No problems with showing decals with DecalLevel=0. Until now, I can not reproduce the bugs :dunno:

Here, as an example the F-104A (marked with red circles are the decals with DecalLevel=0):
f-104a_decals.thumb.jpg.baa59e6717364b5c7bf94f46365cc4be.jpg

Could you please give me the name of the stock aircraft or the download link of the mod aircraft, that you have problems with.
Thanks!

Posted (edited)

Regarding the DecalLevel=0 problem, can you please check if this is the cause of the problem:

The current version of the LODViewer expects as texture file name the "full" name including the nation ID (e.g. "INSIGNIA002.TGA"). The LODViewer currently does NOT look for "INSIGNIA.TGA" as fallback.

Edited by mue
typo
Posted (edited)

I think this is ace but I'm only seeing my non-stock serial numbers (Decal Level 2) and not my other decals (Decal Level 0) despite them being in the same folder.

Stock Aircraft - All working fine.

Added Mods - only seeing serial numbers (Decal Level 2)

Edited by Spinners
Update
Posted
20 minutes ago, Spinners said:

I think this is ace but I'm only seeing my non-stock serial numbers (Decal Level 2) and not my other decals (Decal Level 0) despite them being in the same folder.

Stock Aircraft - All working fine.

Added Mods - only seeing serial numbers (Decal Level 2)

Does your mod decal files (Decal Level 0) contain the nation number (e.g. INSIGNIA002.tga)? See my post above.

Posted
5 minutes ago, mue said:

Does your mod decal files (Decal Level 0) contain the nation number (e.g. INSIGNIA002.tga)? See my post above.

No. These will all be decals made by me (Decal Level 0) but the serial numbers are also made by me and they show just fine.

Posted
5 minutes ago, Spinners said:

No. These will all be decals made by me (Decal Level 0) but the serial numbers are also made by me and they show just fine.

I assume you serial number texture filenames have numbers at the end (e.g wingnum001.tga)?

Posted (edited)

My understanding of the decal system is as follows:

The texture file name is defined by Filenameformat. Depending on DecalLevel either the nation id (if DecalLevel=0) or squadron id (if DecalLevel=1) or serial number index (if DecalLevel=2) or kill number (if DecalLevel=3) is appended to the texture file name. The game (and the LODViewer) then tries to load this texture file. But the game has a fallback behavior, that the LODViewer has not (yet): if the game doesn't find the texture file with the numbers at the end, it then tries to load the texture file defined solely by Filenameformat (without the numbers at the end).
Therefore I think the modded decals (DecalLevel=0) doesn't show in the LODViewer, because they doesn't end with the nation id number and the LODViewer misses the fallback behavior of the game, that would load the texture file without the numbers at the end. I will add the fallback behavior in the next update.

Edited by mue
  • Like 1
  • Thanks 2
Posted

Thanks Mue. I've used this on an almost daily basis since coming back to the community after taking an 18-month break. The time saving on identifying mesh names and also getting precise co-ordinates for decal placement has been a huge factor in getting the most out of my time so a big thank you :clapping:

Posted

I forgot to say: I have to thank you guys for the bug reports. It's really helpful. Because of lack of time (and maybe motivation :biggrin:) I don't test all possible cases. Therefore I'm really grateful to you for testing my (buggy) software. :good:

Posted (edited)

Mue, I'm getting quite a few system freezes using this latest V0.60 LODViewer - the hard sort which requires a power-off and then power-on PC reset, not the soft Cntrl-Alt-Del sort.

It happens two or three times in a row, immediately I try to rotate or move the LOD, then after reset I can use the Viewer for a while. Sometimes it happens again, after a few minutes of use.

I use  the Alt and mouse keys for movement and rotation.

It seems to happen more readily  with more complex aircraft models. 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?

Edited by Gatling20

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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..