Class GlowingPoint
java.lang.Object
eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractShape
eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractCoordinateShape
eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.Billboard
eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.GlowingPoint
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:
-
Field Summary
Fields inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractCoordinateShape
onScreenZ, shapeId, verticesFields inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractShape
cachedBoundingBox, mouseInteractionController -
Constructor Summary
ConstructorsConstructorDescriptionGlowingPoint(Point3D point, double pointSize, Color color) Creates a glowing point at the specified position with the given size and color. -
Method Summary
Methods inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.Billboard
getLocation, paint, setScaleMethods inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractCoordinateShape
getBoundingBox, getZ, transform, translateMethods inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractShape
invalidateBounds, setMouseInteractionController
-
Constructor Details
-
GlowingPoint
Creates a glowing point at the specified position with the given size and color.- Parameters:
point- the 3D position of the pointpointSize- the visible size of the pointcolor- the color of the glow
-