Landscape
This example is a randomly generated landscape that was converted into a VoxelGrid. The resulting model is used as the mountainous region in the picture on the front page.
Source Model
The source model can be found in the git project folder /examples/landscape/silhouettes/model.blend. The landscape was generated randomly with Blender and the included Add-On Add Mesh: A.N.T.Landscape:
Silhouettes
See here: /examples/landscape/silhouettes/*.png
The silhouette pictures were taken in Blender in 12 rotations at 30°-steps around the y-axis (in Blender: z-axis). The positions of the camera were adjusted manually so that no significant floating point errors occur.
Parameters
See here: /examples/landscape/parameters_full.json
The positions and rotations for the camera settings were recorded manually. Unlike the Blender meter units, I chose to use decimeters (10 dm = 1 m).
The field-of-view (fov) of 40° was preset in the Blender project and added to the parameters.
The cube size was set to 0.5, the smaller the number, the more details can be captured. Keep in mind that a higher voxel count means longer computing time.
Result
After running the VisualHull code with the given parameters json-file, the resulting model got created:
- Previous
- Next