Class CPUGalGenFallback

java.lang.Object
gaiasky.scene.record.CPUGalGenFallback

public class CPUGalGenFallback extends Object
CPU equivalent of the GLSL compute shader for procedural billboard particle generation. Produces a List where each ParticleVector contains: [x, y, z, size, r, g, b]

This is not bit-for-bit identical to the GPU shader, but replicates distributions, RNG style (uint state), gaussian/fbm approximations and the main logic.

  • Field Details

    • logger

      protected static final Logger.Log logger
  • Constructor Details

    • CPUGalGenFallback

      public CPUGalGenFallback(double bodySize)
  • Method Details