Class CSGDemo
java.lang.Object
eu.svjatoslav.sixth.e3d.examples.essentials.CSGDemo
Demo showcasing Constructive Solid Geometry (CSG) boolean operations.
This demo displays three CSG operations side by side:
- Subtract: A cube with a spherical cavity carved out
- Union: A cube merged with a sphere
- Intersect: The volume shared by a cube and sphere
All operations use a consistent color scheme: red for the first argument (cube) and blue for the second argument (sphere). This makes it easy to see which parts of the result came from which input shape.
Run this demo:
java -cp target/sixth-3d-demos.jar eu.svjatoslav.sixth.e3d.examples.essentials.CSGDemo
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CSGDemo
public CSGDemo()
-
-
Method Details
-
main
Entry point for the CSG demo.- Parameters:
args- command line arguments (ignored)
-