public class GlowingPoint extends Billboard
A glowing 3D point rendered with a circular gradient texture.

This class creates and reuses textures for glowing points of the same color. The texture is a circle with an alpha gradient from center to edge, ensuring a consistent visual appearance regardless of viewing angle.

Texture sharing: Glowing points of the same color share textures to reduce memory usage. Textures are garbage collected via WeakHashMap when no longer referenced.

See Also:
  • Constructor Details

    • GlowingPoint

      public GlowingPoint(Point3D point, double pointSize, Color color)
      Creates a glowing point at the specified position with the given size and color.
      Parameters:
      point - the 3D position of the point
      pointSize - the visible size of the point
      color - the color of the glow