Sounds like you want constructive solid geometry.
Carve might do what you want. If you just want run-time rendering OpenCSG will work.
More Related Contents:
- Convert floating-point numbers to decimal digits in GLSL
- Algorithm to detect intersection of two rectangles?
- Millions of 3D points: How to find the 10 of them closest to a given point?
- Algorithm to fill triangle
- Precise subpixel line drawing algorithm (rasterization algorithm)
- How to Compute OBB of Multiple Curves?
- Sort Four Points in Clockwise Order
- An algorithm to space out overlapping rectangles?
- How do you find a point at a given perpendicular distance from a line?
- Find if a point is inside a convex hull for a set of points without computing the hull itself
- how do I create a line of arbitrary thickness using Bresenham?
- Edges on polygon outlines not always correct
- What Are High-Pass and Low-Pass Filters?
- Best algorithm for matching colours.
- What is tail call optimization?
- How does the Google “Did you mean?” Algorithm work? [closed]
- Algorithm for Determining Tic Tac Toe Game Over
- How to find all combinations of coins when given some dollar value [closed]
- How to make rounded percentages add up to 100%
- How do I efficiently determine if a polygon is convex, non-convex or complex?
- Generating permutations lazily
- Compute the minimal number of swaps to order a sequence
- OpenGL – Mouse coordinates to Space coordinates
- Find the missing and duplicate elements in an array in linear time and constant space
- How to find the smallest number with just 0 and 1 which is divided by a given number?
- Count the number of set bits in a 32-bit integer
- Image Segmentation using Mean Shift explained
- Compute the area of intersection between a circle and a triangle?
- Unbiased random number generator using a biased one
- CUDA stream compaction algorithm