Skip to content

tom-uchida/Depth_Peeling

Repository files navigation

Depth_Peeling

Original Repository

Usage

Usage: ./DepthPeeling [options]

Options:
-h          : Output help message.
-width      : Screen width. (defulat: 512)
-height     : Screen height. (defulat: 512)
-nrepeats   : Number of repetitions for IPBR. (defulat: 1)
-npeels     : Number of peels for DP. (defulat: 1)
-npolygons  : Number of polygons. (defulat: 10)
-opacity    : Opacity value for polygon object. (default: 0.5)
-color      : Color value for polygon object. (default: 0, 0, 0)
-background : Background color. (default: 255, 255, 255)
-offscreen  : Offscreen rendering [0:disable, 1:enable]. (default: 0)

Example

$ make rebuild
$ ./DepthPeeling -npeels 1

Visualization Results

Point Cloud Data

Bunny

Layer1 Layer2
Layer3 Layer4
Layer5 Layer6
Layer7 Layer8
Layer9 Layer10

Dragon

Layer1 Layer2
Layer3 Layer4
Layer5 Layer6
Layer7 Layer8
Layer9 Layer10

Polygon Data

Bunny

Layer1 Layer2 Layer3
Layer4 Layer5 Layer6

Dragon

Layer1 Layer2 Layer3
Layer4 Layer5 Layer6

Polygon

Layer1 Layer2 Layer3
Layer4 Layer5 Layer6

About

It's just a test program for depth peeling.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published