Closed qu123xxx closed 4 years ago
Well I use polygon
achieved some filled area . But the raw data of Gravitational Wave seems have some holes in polygon. Some areas also have parts unfilled. Finally I use Linestring
instead of polygon. And the --uside
flag of ligo-skymap-contour
may help to smooth the line .
Winding order may has some effect on this. To fill your vertexes need to be in the correct clockwise or counter clockwise orientation so the normal points toward the camera, otherwise the face is culled.
Thanks. I also considered this reason, I will try it when I have time~
Hi I'm trying to visualize the same dataset here in WWT Windows Client. However I can't get a color-filled area in
Sky
frame by usingpolygon(RA DEC)
string. The result is same as useLinestring(RA DEC)
.polygon(RA DEC)
is available insandbox
In this app it is shown like this
Is there any way to achieve it?
I have search the code in these two repos find that the render method of polygon is different between windows client and web client whereas latter use some function in webGL SDK.
Thanks in advance for any replies.