Have you even had a complex shape you needed to be turned into a mesh for use in a 3d project? This code shows you how to generate the triangles (DeLaunay Triangulation) based on 'outline' geometry.
Implemented in this project is the ability to draw geometry and generate a mesh and a 3D extrusion of the mesh. Supports 'holes' in the mesh as well (auto calculated right-hand,left hand). This method is used for triangulating non-uniform meshes.
Included (but NOT fully implemented in THIS project) is a VB-CAD library I designed for a company that makes 3d models from 2D Autocad drawings. This powerful library has all of the math functions to calculate intersection points between all geometry (line,arc,ellipse,spline) It also has an updated DXF import as well as funtions for scaling, flipping, rotating, non-linear arrays, trimming, cornering, relimiting chamfering and rounding.
Requires DX7 library for 3d views.
Submitted On | 2002-06-14 16:10:14 |
By | Dave Andrews |
Level | Advanced |
User Rating | 4.8 (222 globes from 46 users) |
Compatibility | VB 5.0, VB 6.0 |
Category | Graphics |
World | Visual Basic |
Archive File | Delaunay_T945726142002.zip |