Hi there, I have a question that I need help with:
I recently studied the PointsMaterial API documentation for Three.js and adapted an example to work with my existing code.
The goal of my project is to render points on top of a model that is loaded when the user clicks on a specific position.
Here is the code snippet that contains the important logic in the file "logic.js":
... (code snippet here) ...
Although I have successfully added points to the scene using the raycaster, they do not render or show up. I'm not sure if they are too small or if the color is blending in with the background.
Here is an image showing the issue: https://i.sstatic.net/k9aWx.png
I believe the problem could be related to the point size, as the example I referenced uses larger points and a camera positioned farther away from the points.
If you have any insights or suggestions, I would greatly appreciate your help.
Additional code for handling the NRRD file and canvas display can be found below:
... (additional code snippet here) ...
Furthermore, I noticed that the example points are created with a larger size of 0.05 and the camera is positioned further away from them for visibility.
Here are the links to the relevant examples for reference:
Interactive Raycasting Points Example
If you have any thoughts on this issue, please feel free to share them. Thank you!