CGTools

 
Hardware
Mouses
Glasses
Data gloves
Head mounted displays
Acquisition
Printing

Data
Formats
  - 3D
  - Image
  - Vector
Meshes
Generation
  - Points
  - Edges
  - Meshes
Viewers
Modelisation
Reconstruction

Treatments
Denoising
Holes filling
Simplification
Subdivision
Compression
Convex hull
Clipper
Geometric texturing

Analysis
Differential Geometry
Geodesics
Segmentation
Normalization
Shape descriptors
Vectorization
Visibility
NPR
  - Stylised Lighting
  - Silhouettes and edges
  - Pen & ink, hatching,...
  - Volume illustration
Cutaways
Matching
Symmetry

Clipper


Description

Here is a class in C++ taking a 3D model (an array of vertices and an array of faces) and a plane and computing the polygon(s) resulting from the intersection of the model and the plane.

To illustrate its use, you can find a program computing the intersection between a plane and a simple model representing a rabbit (453 vertices and 902 faces).

This class is inspired by the tutorial "Clipping a mesh against a plane" written by David Eberly and available on his website www.magic-software.com.

Download

  • source code C++
  • binary win32

Programming
3D mesh libraries
Graphics libraries
Data structures
Partitioning
Quaternion
Pluecker
Triangulation

References
Library
Publications
Bookmark

News
OpenGL
Devmaster
Geeks3D
Web3d
oZone[3D].Net
3dvf

Mondes persistants
gamekult
jeuxvideo.fr
NoFrag
TDT 3D


Copyright CGTools 2008