×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Living amongst the trees

  • Posts: 90
  • Thank you received: 37
@knro: Correct me if I am wrong, but I think the OP asks about a different thing. The Artificial Horizon expects to get polygons of the blocking objects, but OP has a very small FOV because of the trees. Basically, the red area on the screenshot is the visible sky and all the rest are trees. I think he wants KStars to "invert" the regions, having the defined polygon the FOV and draw everything else red.
The following user(s) said Thank You: Jasem Mutlaq
7 years 1 week ago #16159

Please Log in or Create an account to join the conversation.

Ah okay... well, there is no way to do this now... not sure how difficult it is to invert the polygon.
7 years 1 week ago #16160

Please Log in or Create an account to join the conversation.

  • Posts: 1029
  • Thank you received: 301

Replied by Eric on topic Living amongst the trees

I was looking at the issue as I'm in the same weird situation. The best way I found was to compute small columns from the csv table using properly offset RA as base, up to the intersection with the fov boundary. Then multiple polygons can be imported in kstars, which is easier to handle without rage quitting ;) But my implementation is far from effective. Having a wide angle lens is certainly the best way to obtain preliminary data.
7 years 1 week ago #16163

Please Log in or Create an account to join the conversation.

  • Posts: 81
  • Thank you received: 3
Thank you, everyone. TallFurryMan has got me thinking...

Where does KStars keep the artificial horizon user input file(s)? It would be great if I could experiment and edit this in a text editor. Thanks!
7 years 1 week ago #16169

Please Log in or Create an account to join the conversation.

  • Posts: 1029
  • Thank you received: 301

Replied by Eric on topic Living amongst the trees

Check this, that's what got me started: www.ncbi.nlm.nih.gov/pmc/articles/PMC4242535/
It's not exactly the same field of application, but it has interesting points of view.

Edit: ummm probably not the one I was using for hemisphere partitioning actually, I'll look that up in my bookmarks.
Last edit: 7 years 1 week ago by Eric.
7 years 1 week ago #16171

Please Log in or Create an account to join the conversation.

  • Posts: 81
  • Thank you received: 3
Please excuse my crude drawing. This is how I propose to modify the polygon by keeping my interior points but then adding points around the horizon.
7 years 1 week ago #16174
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 1029
  • Thank you received: 301

Replied by Eric on topic Living amongst the trees

Cut the donut in multiple pieces using the north pole as center, and slices segments starting at each of your points. You will get multiple quads that you can import as obstacles. There will be seams, but they are fixable by overlapping the pieces. The other problem is to align your picture towards the north pole.
7 years 1 week ago #16177

Please Log in or Create an account to join the conversation.

  • Posts: 81
  • Thank you received: 3
@knro, concerning the artificial horizon editor:

1. Why have a rule saying that First and Last points must be on the horizon? If there is a UFO blocking my view why do I have to anchor it to the horizon?

2. There is a peculiar tendency for the software to want to "auto-complete" my polygon. I can understand that this can be helpful when choosing the input method that allows me to point-and-click using the Sky Map. But when I choose to use numerical entry via the grid control it is quite annoying and prevents me from building the polygon I want.

3. Are the region files text-based that I can edit outside of KStars or is the data stored in binary?

Thank you.
7 years 1 week ago #16183

Please Log in or Create an account to join the conversation.

  • Posts: 81
  • Thank you received: 3
I finally had success (see attachment).

Before discovering KStars, I was a C2A / OccultWatcher user. Today I returned to C2A and followed their directions to quickly compose my horizon in a single region file. I took what I learned and tried to do the same in KStars but unfortunately it will not properly handle a 360 degree horizon definition in a single region. So I broke it down into four quadrants and finally had success.
7 years 1 week ago #16186
Attachments:

Please Log in or Create an account to join the conversation.

The data is stored in an SQLite file. It was a quick task I've done last year to implement this feature. If anyone can submit a patch to extend its functionality, they are most welcome!
7 years 1 week ago #16188

Please Log in or Create an account to join the conversation.

  • Posts: 81
  • Thank you received: 3
Yes, I think that import/export buttons would be a good first project for me although I would want to take it further but one must learn to walk first.

I programmed in C++ from 1989 through 2004 then I switched over to more weakly-typed languages. I am completely unfamiliar with cross-platform development and tools. Is KStars "all C++ all the time"? or does it use a SpiderMonkey-like core where I can use C++ for CPU-intensive operations and JavaScript for user-interface programming?

Thanks.
7 years 1 week ago #16203

Please Log in or Create an account to join the conversation.

It's completely C++, though we are using more of QML (similar to Javascript). But for now mostly C++.
7 years 1 week ago #16205

Please Log in or Create an account to join the conversation.

Time to create page: 0.283 seconds