lookinutrition.blogg.se

Nasa world wind web draw line on globe
Nasa world wind web draw line on globe















I suggest first to draw the (green) area, and second to draw a dashed (white) line. TLDR: Need a to draw Polygons with an internal border of set width. I just need the final outcome to be correct. None of the things I have started using are set in stone. I dont think I have enough of a grasp to do this correctly. I looked into using stencil buffers, but this proved to be almost a waste of time to get working and to run correctly through world wind.

nasa world wind web draw line on globe

This makes me think I'm going about it the wrong way. I guess i'm just surprised this is so hard to do in NASA Worldwind where in directX is was about 20 lines. I also sort of want to keep the normal border on the polygon the way it is in the picture, but that is not mandatory. The picture attached shows what I have so far and what its essentially supposed to look like.

nasa world wind web draw line on globe

The problem with this comes in at the angles where they meet and chopping off extra length when a dash would extend outside of the polygon. Long story short I started essentially calculating my own dashed border and drawing each dash by hand.

NASA WORLD WIND WEB DRAW LINE ON GLOBE HOW TO

Also Im working on trying to figure out how to make it so that if you increase the border size of a surface polygon that it will not expand outwards, only inwards, this way dimensions are skewed. The issue is I want this border to be a set size, meaning each dash should be a set size around the polygon. So im aiming to make a system where you draw a surface polygon and it essentially makes a dashed border around the polygon.















Nasa world wind web draw line on globe