Make the points object inspection marks draw their places with: one screen-sized square per vertex, one colour per vertex, unlit and outside fog and tone mapping.
A point is three stroke widths across, in the same pixels as a line's width, so a joint stays visible where the lines of its bones meet it. Its size does not shrink with distance. three.js draws it that many pixels times the renderer's pixel ratio, as it draws a line's width.
positions holds one xyz vertex per point and colors the matching linear rgb, kept by the geometry, not copied, so the caller rewrites positions in place to move the points. Depth follows createAutoMovieInspectionStrokes: ignored with xray, and otherwise led AUTO_MOVIE_INSPECTION_DEPTH_LEAD toward the camera.
Make the points object inspection marks draw their places with: one screen-sized square per vertex, one colour per vertex, unlit and outside fog and tone mapping.
A point is three stroke widths across, in the same pixels as a line's width, so a joint stays visible where the lines of its bones meet it. Its size does not shrink with distance. three.js draws it that many pixels times the renderer's pixel ratio, as it draws a line's width.
positionsholds one xyz vertex per point andcolorsthe matching linear rgb, kept by the geometry, not copied, so the caller rewritespositionsin place to move the points. Depth followscreateAutoMovieInspectionStrokes: ignored withxray, and otherwise ledAUTO_MOVIE_INSPECTION_DEPTH_LEADtoward the camera.