Skip to content
/ shs Public

Solid Height-map Sets: modeling and visualization

License

Notifications You must be signed in to change notification settings

potato3d/shs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shs

Source code for the article Solid Height-map Sets: modeling and visualization

Height maps are a very efficient surface representation, initially developed for terrain modeling and visualization. They are also present in other applications, such as mesostructure rendering. However, height maps are incapable of representing overhangs or self-folding surfaces, as well as several occluding objects. In this paper we propose a novel representation to overcome these limitations. A Solid Height-map Set is used to represent arbitrary solid geometry. We also describe a procedure to convert polygonal meshes into our scheme. In addition, we develop a visualization algorithm capable of efficiently rendering this novel representation and implement it using GPU programming. Results achieve an order of magnitude in memory savings as well as high performance independent of the original mesh size.

Description

SHS construction is implemented in src/LayerGenerator.* together with the shaders directory.

SHS rendering is implemented in src/Canvas.* together with the shaders directory.

Please check the paper reference above for further implementation details.

Results

These are some images generated using our algorithm:

fig3 fig2 fig1

Build

Visual Studio project files included in visualstudio directory.

Releases

No releases published

Packages

No packages published