Class RandomHemisphereTest

java.lang.Object
com.marginallyclever.ro3.node.Node
com.marginallyclever.ro3.node.nodes.tests.RandomHemisphereTest

public class RandomHemisphereTest extends Node
A procedural mesh that generates random points on a hemisphere using different sampling methods. This is used to visualize different sampling techniques for path tracing and confirm their correctness. The type of sampling can be changed by setting the 'type' variable:
  • 0: Uniformly random points on the unit sphere
  • 1: Uniformly random points on the hemisphere oriented along the Z-axis
  • 2: Cosine-weighted random points on the hemisphere oriented along the Z-axis