To outline my overall objective, I want to display a set of world political boundaries (countries) and states which can be zoomed and panned similar to google earth. My dataset is detailed enough to have around 1,200,000 lat/lon points to define the boundaries I want to display. I'm exploring using JavaFX 3D to take advantage of the hardware graphics acceleration.
I'm getting acceptable performance doing this, but I'm running into an issue with the way the javafx.scene.shape.Polyline is being rendered. When I try to draw the Polyline representing my world political boundaries in my scenegraph in around a 360x200 unit 2d plane it is severely pixelated when I zoom in as though the line were a low res image.
What I really want is for lines to be rendered a constant 'width' on the screen no matter how close or how far I am from the line object. I may be using the wrong shape object but the other objects did not obviously fit what I was wanting 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've used the original java3d and don't remember having this issue. In that I used a LineArray.
Do you have suggestions on how to achieve drawing a line/ray/vector that looks the same regardless of how 'close/far' you are to it using JavaFX 3D (java 1.8), or is F(X)yz my best option? Render setting tips?