OHM OpenGL Orbiter Mesh Viewer 1.1

OrbitHangar

Addon Comments
Joined
Apr 9, 2008
Messages
3,832
Reaction score
18
Points
0

Author: bibi uncle

This program alllows you to look at an Orbiter Mesh, using OpenGL for the rendering. The window is created with the Win32 API, and the texture is loaded using DevIL.

My program takes in account every materials and load textures if needed. If you are a modeller, this program may be useful if you don't want to load Orbiter each time.

Stay tuned for future updates ! I'm learning Win32 API.

CHANGES :
- Window created by the Win32 API, no more SDL.dll needed and a lot more liberty.
- Change the dialog for the textures directory (thanks to orb !).
- Enable resizing of the window.
- Add a menu.
- Mouse control with sensitivity control. No more keyboard inputs.
- Zoom is limited (no more "invert" zoom effect).
- OGLOMV.ini saves your current settings (mouse sensitivity and textures directory).
- You are not ask everytime for the textures directory.

READ THE README FILE



DOWNLOAD
 
An interesting project! Runs flawlessly on the first trial.

Opening the texture folder does not quite work as advertised. I had to open a file in the texture folders, then the program finds all the other textures in the same folders as well.

A plead for all notebook users (without a num-pad):
Please provide a second set of keys for the navigation.
Could be cursor keys, or asdf, or mouse navigation would be cool :)
 
Opening the texture folder does not quite work as advertised. I had to open a file in the texture folders, then the program finds all the other textures in the same folders as well.
I haven't tried it yet, but it probably uses GetOpenFileName Comdlg32.dll function instead of SHBrowseForFolder Shell32.dll function, and that's why you need to select a file. SHBrowseForFolder used instead would display a dialog box for selecting a folder.
 
Thanks Orb ! That's the function I was looking for. I wrote in the README that you have to select a file to open the texture folder.

For the keys, I will look for it. Maybe an INI file or a XML to select the keys ? Just like in Orbiter. However, I wrote in the README that I would like to have a mouse control for the camera. The UI is still my first preoccupation.

Thanks for your comments ! :thumbup:

EDIT :
The path selecting dialog is corrected. It now used SHBrowseForFolder instead of GetOpenFileName. You will see the change at the next update of the program.
 
Last edited:
This is a new update for my viewer ! A lot of things has improved, just check in the "CHANGES" section.

Happy viewing !

:cheers:
 
Great Release

Hi , uncle !
This is spock speaking ...
Gooooooood Work , very useful with the fact that we no more need to give
a path for textures when opening a new mesh .
Some improvements again , and it will be a "must have" tool .
:thumbup:
 
First off, thanks for the viewer. Next, a few remarks:
a) The viewer crashes to desktop on any meshes from the R-7 project.
b) It would be great if the viewer could accept mesh file name as a command line argument. Then, we could associate the .msh extension with it and simply double-click on any file.
c) The menu could benefit from hotkeys (Ctrl-O to open a file, for instance).
d) (EDIT) The viewer saves its ini into the mesh directory, not into the application's folder. This is quite messy.
 
Last edited:
In my case, the .ini file was saved in the directory of the app. Nice tool, very useful to quick-check what's really in your .msh directory.

Simple and efficient.

A "browser" function would be excellent.

Oh also, a DEVil.dll file is a little frightening, renaming it would avoid unecessary antivirus scans... ;)
 
The ini should saves in the viewer directory, not in the mesh directory. I get the current directory at the beginning of the program. I'll take a look...

I cannot rename the Devil librairy. It's not mine and I think that the DLL attachment is case sensitive. I did not develop this librairy, it is available here : http://openil.sourceforge.net/

It thought about hotkeys, but I was probably too lazy to do it :lol:. In the next release, I'll add them.

The idea for the default application would be great ! However, this involves writing in the registry of Windows. Maybe the program will need an installer and an uninstaller. I'll check for it.

Finally, I'll check for the R-7 project mesh.

Thank you Wishbone and N_Molson for your comments ! :)
 
I'm glad that my viewer helped you !

I hope to see your new Velcro system coming soon !:cheers:
 
Forgotten just how useful this is. Just done a clean install and working my way through adding tools and helpers.

A real gem which works right out of the box
 
Thank you for your kind comments, I'm glad this utility helps you. I'm not working on it anymore, but your support is still very appreciated. :tiphat:
 
Back
Top