04-17-2024, 08:53 PM
04-22-2024, 03:08 PM
If creating a "cross section" means slicing a 3D model by a plane, then the v1.0 has the Ab4d.SharpEngine.Utilities.MeshUtils.SliceMesh method that can slice the mesh with a plane into two meshes.
It was not yet possible to simply slice any SceneNode. To show how to do that, I have created a new SliceModelsSample that also contains the missing methods to slice any SceneNode object.
The source for the new sample is here:
https://github.com/ab4d/Ab4d.SharpEngine...sSample.cs
The methods from the ModelUtils class from this file will be added to the Ab4d.SharpEngine v1.1 versions, so this sample will be simpler.
It was not yet possible to simply slice any SceneNode. To show how to do that, I have created a new SliceModelsSample that also contains the missing methods to slice any SceneNode object.
The source for the new sample is here:
https://github.com/ab4d/Ab4d.SharpEngine...sSample.cs
The methods from the ModelUtils class from this file will be added to the Ab4d.SharpEngine v1.1 versions, so this sample will be simpler.