To state my common goal, I want to display a set of world political borders (countries) and states that can be increased and changed like Google Earth. My dataset is detailed enough to have about 1,200,000 lat / lon points to determine the borders that I want to display. I am studying the use of JavaFX 3D to take advantage of hardware graphics acceleration.
I get acceptable performance by doing this, but I am having a problem with how javafx.scene.shape.Polyline is created. When I try to draw a polyline that represents my world’s political borders on my graphics screen around the 2d plane of the 360x200 plane, it pixelizes strongly when I zoom in, as if the line was a low resolution image.
I really want the lines to appear as a constant “width” on the screen no matter how close or how close I am to the line object. I can use the wrong form object, but the other objects clearly did not match what I wanted to do. I also tried "Path / LineTo" with the same result.
F (X) yz looks promising, but I was hoping to avoid a third-party library.
In the past, I used the original java3d and do not remember this problem. In this I used LineArray.
Do you have any suggestions on how to achieve drawing a line / ray / vector that looks the same no matter how close / far you use JavaFX 3D (java 1.8) or F (X) yz my best? Remove setting prompts?
source
share