Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Addons > OrbitHangar Addons & Comments
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

OrbitHangar Addons & Comments Addons uploaded at Orbithangar.com will automatically generate a new thread in this forum for comments. The thread link will also be included on the addons page.

Reply
 
Thread Tools
  #1  
Old
OrbitHangar's Avatar
OrbitHangar OrbitHangar is offline
Addon Comments
Arrow Topographic Map MFD v.0.7
by OrbitHangar 04-04-2016, 10:31 AM


Author: enjo

Displays a topographic map in grayscale and RGB.
Load the provided scenario files for some interesting places where Topo Map MFD is really useful.

Warning: This MFD is experimental and works only for Orbiter2016 and Jarmonik's DX9 2.1 client

Update: Uses cache for faster refreshes of elevation data.

Requires:
Microsoft Visual C++ 2005 Service Pack 1 Redistributable

Copyright 2015 by "Topper" - Original author: concept, calculations
Copyright 2015-8 by Szymon Ender "Enjo" (http://www.enderspace.de) - Co-developer: optimizations, putting it together
Many thanks to Jarmonik for helping in a smooth integration with his client!

Released under the terms of the LGPL v3:
http://www.gnu.org/licenses/lgpl.txt



DOWNLOAD
Reply With Quote
Views 1305 Comments 9
Total Comments 9

Comments

Old 04-06-2018, 01:03 PM   #2
Enjo
Mostly harmless
 
Enjo's Avatar


Default

Just released for Orbiter 2016. Something changed in the Orbiter core's blitting functions for better, which allowed for resurrection of this nice toy
Enjo is offline   Reply With Quote
Old 04-06-2018, 04:39 PM   #3
Marijn
Orbinaut
 
Marijn's Avatar
Default

That looks very interesting. I was looking for a way to locate points of interest on Mars a bit easier. I'll check it out. Thanks for the effort.
Marijn is offline   Reply With Quote
Thanked by:
Old 04-07-2018, 11:38 AM   #4
LeePalmer
Orbinaut
Default

Hi Enjo.
Orbiter 171203, XP. It does load. And MFD is visible. There is a small square in the centre of the MFD. The buttons don't seem to influence things. The framerate drops through the floor, so something going on. Turning off the MFD elevates the framerate by a factor of 4.

I hope others have more success.


---------------------------------- edit these turned up in orbiter.log
000047.970: >>> ERROR: DDraw error DDERR_SURFACEBUSY
000047.970: >>> [OrbiterGraphics::clbkBlt | .\OGraphics.cpp | 1669]
000047.970: ---------------------------------------------------------------
000048.072: ---------------------------------------------------------------
000048.072: >>> ERROR: DDraw error DDERR_SURFACEBUSY
000048.072: >>> [OrbiterGraphics::clbkBlt | .\OGraphics.cpp | 1669]
000048.072: ---------------------------------------------------------------
000048.173: ---------------------------------------------------------------
000048.173: >>> ERROR: DDraw error DDERR_SURFACEBUSY
000048.173: >>> [OrbiterGraphics::clbkBlt | .\OGraphics.cpp | 1669]

Last edited by LeePalmer; 04-07-2018 at 11:55 AM. Reason: More info.
LeePalmer is offline   Reply With Quote
Old 04-07-2018, 01:09 PM   #5
Enjo
Mostly harmless
 
Enjo's Avatar


Default

Hi LeePalmer,

Try under Orbiter 2016 first. The graphics routines change too quick for the MFD to be compatible across different versions.

The frame drop isn't much of a surprise, because there are a lot of calculations made to fill every pixel of the MFD. The larger MFD scale you use, the more work the module has to do (squarely: width * height).
Enjo is offline   Reply With Quote
Thanked by:
Old 04-07-2018, 03:35 PM   #6
LeePalmer
Orbinaut
Default

Yes indeed. Pictures Included. Excellent Sir. Nothing in log.

Approx. 30 frames a sec with 1 line.

Apologies for not trying that first.
Attached Thumbnails
CurrentState-32f.jpg  

Last edited by LeePalmer; 04-07-2018 at 03:38 PM.
LeePalmer is offline   Reply With Quote
Old 04-08-2018, 11:56 AM   #7
Enjo
Mostly harmless
 
Enjo's Avatar


Default

Thanks for your feedback

---------- Post added 08-04-18 at 01:56 PM ---------- Previous post was 07-04-18 at 05:57 PM ----------

Please try the latest version to get more FPS. The new version uses cache for faster elevation data retrieval, but I admit that I'm not a math genious, so it could be done better. Right now you may notice some artifacts here and there.
Enjo is offline   Reply With Quote
Old 04-09-2018, 08:46 PM   #8
Topper
Addon Developer

Default

Hello Enjo,
nice to see this MFD still working faster

Maybe an Idea how to increase fps rate by losing resolution:
You could merge 3*3 or 6*6,..., pixels together (using just one api call for the "center pixel") , so you need less api calls to get the altitude points of the landscape... I guess, sometimes it's more important to have a larger map overview than having a high resolution map?... Just an Idea, I don't know if it the map will look good after doing so...

Last edited by Topper; 04-09-2018 at 08:54 PM.
Topper is offline   Reply With Quote
Old 04-10-2018, 06:59 AM   #9
Enjo
Mostly harmless
 
Enjo's Avatar


Default

Hi Topper,

Thanks for the compliment.
Yes, definitely. I was thinking about it, but before I made the cache solution, the resolution solution would be quite en escapism. I wanted to make a technical blow first, and then I can add something on top of it, that doesn't really reduce the O(n) computational complexity, because it's still O((width/3)*(height/3)) . Maybe in next iteration. I will be having some more time in the next week.

Last edited by Enjo; 04-10-2018 at 07:03 AM.
Enjo is offline   Reply With Quote
Old 04-28-2018, 09:48 AM   #10
Enjo
Mostly harmless
 
Enjo's Avatar


Default

I've done some experiments on topic and I must say, that the current bottleneck is not gathering the data anymore, but blitting itself. Therefore I won't make it any faster by blitting the same pixels, only by interlacing, but everybody can imagine that it would look poorly.
Enjo is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Addons > OrbitHangar Addons & Comments


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 04:08 AM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.