Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc/{,py-}openvdb: update 10.0.1 → 11.0.0
- Loading branch information
Showing
13 changed files
with
77 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1669923457 | ||
SHA256 (AcademySoftwareFoundation-openvdb-v10.0.1_GH0.tar.gz) = 887a3391fbd96b20c77914f4fb3ab4b33d26e5fc479aa036d395def5523c622f | ||
SIZE (AcademySoftwareFoundation-openvdb-v10.0.1_GH0.tar.gz) = 3461352 | ||
TIMESTAMP = 1712016698 | ||
SHA256 (AcademySoftwareFoundation-openvdb-v11.0.0_GH0.tar.gz) = 6314ff1db057ea90050763e7b7d7ed86d8224fcd42a82cdbb9c515e001b96c74 | ||
SIZE (AcademySoftwareFoundation-openvdb-v11.0.0_GH0.tar.gz) = 4620858 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1687582442 | ||
SHA256 (AcademySoftwareFoundation-openvdb-v10.0.1_GH0.tar.gz) = 887a3391fbd96b20c77914f4fb3ab4b33d26e5fc479aa036d395def5523c622f | ||
SIZE (AcademySoftwareFoundation-openvdb-v10.0.1_GH0.tar.gz) = 3461352 | ||
TIMESTAMP = 1712017184 | ||
SHA256 (AcademySoftwareFoundation-openvdb-v11.0.0_GH0.tar.gz) = 6314ff1db057ea90050763e7b7d7ed86d8224fcd42a82cdbb9c515e001b96c74 | ||
SIZE (AcademySoftwareFoundation-openvdb-v11.0.0_GH0.tar.gz) = 4620858 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# example from https://www.openvdb.org/documentation/doxygen/python.html | ||
|
||
import pyopenvdb as vdb | ||
|
||
# A grid comprises a sparse tree representation of voxel data, | ||
# user-supplied metadata and a voxel space to world space transform, | ||
# which defaults to the identity transform. | ||
# A FloatGrid stores one single-precision floating point value per voxel. | ||
# Other grid types include BoolGrid and Vec3SGrid. The module-level | ||
# attribute pyopenvdb.GridTypes gives the complete list. | ||
cube = vdb.FloatGrid() | ||
cube.fill(min=(100, 100, 100), max=(199, 199, 199), value=1.0) | ||
|
||
# Name the grid "cube". | ||
cube.name = 'cube' | ||
|
||
# Populate another FloatGrid with a sparse, narrow-band level set | ||
# representation of a sphere with radius 50 voxels, located at | ||
# (1.5, 2, 3) in index space. | ||
sphere = vdb.createLevelSetSphere(radius=50, center=(1.5, 2, 3)) | ||
|
||
# Associate some metadata with the grid. | ||
sphere['radius'] = 50.0 | ||
|
||
# Associate a scaling transform with the grid that sets the voxel size | ||
# to 0.5 units in world space. | ||
sphere.transform = vdb.createLinearTransform(voxelSize=0.5) | ||
|
||
# Name the grid "sphere". | ||
sphere.name = 'sphere' | ||
|
||
# Write both grids to a VDB file. | ||
vdb.write('mygrids.vdb', grids=[cube, sphere]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters