Hi guys,
I am very new to three.js and also to Javascript.
What I am trying to do?
I am actually loading a 3d text with TextBufferGeometry and it works fine. But, I want to fill that geometry with points, probably using points material. I think the points material only gets applied to vertices. So, when I create a mesh using TextBufferGeometry and Points Material, I only see points on vertices. But I want to fill the whole geometry with points.
I came across some jsfiddles where somebody was using GeometryUtils.randomPointsInGeometry(). I am unable to use that function, probably it is not being bundled or something. As I said I am very new to this.
If somebody could please tell me how to import or use that function, that would be really appreciated. If what I am trying to achieve is not possible in this way, please point me in the right direction. Let me know if you need more clarification.
Thanks for your reply.
I am not using module version. I am doing "import * as THREE from “three” " in my project. I am still not sure how can I import and use this function.