Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Latest commit

 

History

History
45 lines (30 loc) · 1.01 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.01 KB

Texture generator

Generates textures for polygon scenes from a point cloud.

A texture is generated for each polygon in the polygon scene by using k-nearest-neighbor search in the point cloud for each texel.

Build requirements

Compiling

cd texture-generator
cmake .
make

Running

texturegen [options] <point cloud file> <polygon scene file> <output file>

Point cloud file and polygon scene file can be in any format supported by Point Cloud Library. Output file will be in X3D format. Textures are generated as PNG files in the current directory. Output file should have no path, or links to textures will be broken.

Run texturegen --help to see the options.