Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cross sections
#1
Is there a way to make a cross section of the scene in SharpEngine?
#2
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.
Andrej Benedik
  


Forum Jump:


Users browsing this thread:
1 Guest(s)