基于 BSP 的 CSG (构造实体几何)的 Java 实现
Java implementation of BSP based CSG (Constructive Solid Geometry). It is the only simple and free Java implementation I am aware of. This implementation uses an optimized CSG algorithm based on csg.js (see CSG and Node classes). Thanks to the author for creating the csg.js library.
There's also the related VCSG library, a plugin for VRL-Studio and two extension libraries: JCSG-MeshExtension and JCSG-PathExtension.
In addition to CSG this library provides the following features:
difference() and union() operations (many thanks to Sebastian Reiter)JavaFX 3D nodesJCSG on stackoverflow.
To see what's possible with JCSG try JFXScad.
Open the JCSG Gradle project in your favourite IDE (tested with NetBeans 7.4) and build it
by calling the assemble task.
Navigate to the Gradle project (e.g., path/to/JCSG) and enter the following command
bash gradlew assemblegradlew assemble…JetBrains for their IntelliJ IDEA license(s)
Evan Wallace for creating the JavaScript library csg.js
暂无开放 Issues,或尚未同步最近议题。