I’ve got a small problem with the PointParticleRenderer.
It seems to ignore the pointSize in all available panda versions.
I’ve tried the particlePanel sample in 1.7.2, 1.8.0 and the dev-version but the particles are always one pixel of size. (also tried it under linux and windows on different machines)
Am I missing something? The documentation is missing any docstrings and the manual says “Width and height of points, in pixels”.
Hmm, you’re right–looking at the code, it doesn’t actually do anything with the point size parameter. This might be an old parameter that’s been deprecated and never removed for some reason; or maybe it was never implemented in the first place? I don’t remember ever using it.
In any case, you can set the point size using the NodePath interface: use renderParent.setRenderModeThickness(pointSize).
Sadly that didn’t change the size of the points.
I’ve tried to set it on the renderParent as suggested, then on the effect node itself, with values of 1 and 100 but nothing changes.
I’ve tried the SpriteParticleRenderer there as an alternative, but I’d rather use the PointParticleRenderer as I guess it’s less resource intensive and fully sufficient for my desired effect.
The last answer on this topic was about 9 years ago. Unfortunately, it seems that despite the passage of years, PointParticleRenderer still ignores pointSize. I also tried to increase the point size with setRenderModeThickness but that doesn’t work either.
Do any of you know any solution to this problem? Of course, except for (workaround) using sprites.
This has always worked, the problem is that in the code itself it needs to be placed before a certain moment of initialization of the `PointParticleRenderer’ class.