Numbering of points, vectors, lines

Hi, everyone. I’m interested in this question: is there any way to number points, vectors, lines so that it’s displayed in the scene. Thank you in advance for your help

Hello!
renderer_stats.js (2.2 KB)

<!DOCTYPE html>
<html>
<body>
<div id="project">
<canvas id="canvas" width="800" height="600" style="display:block;" onclick="fullscreen();canvas.requestPointerLock();"></canvas
</div>
<script type="text/javascript" src="js/renderer_stats.js"></script>
<script type="text/javascript"> document.getElementById("project").appendChild(renderer_stats_canvas);
</script>

Into animate function:

renderer.clear();
renderer.render(scene,camera);
renderer_stats_update(0);
renderer.clearDepth();
renderer.render(scene_hud,camera_hud); // HUD
renderer_stats_update(1);

image

Statistical information about the rendered scene are accessible over the WebGLRenderer.info object. E.g. renderer.info.render.triangles reports the number of render triangles.

Do you want to count them, or do you want to label them?

In the latter case, please see this. ( @hofk )

I need to do marking points. That is, so that its serial number is displayed next to the point. in fact i need a label for them
Here is what i have now
image

Thanks for the help!