diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2022-02-17 18:21:06 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-02-20 21:04:38 +0000 |
commit | f8cd82d8e60c40715be21687e920191423db9d32 (patch) | |
tree | 7171c0dea0dfae18b090393b9a37583886901376 /media-gfx/blender | |
parent | media-gfx/openvdb: Add nanovdb useflag (diff) | |
download | gentoo-f8cd82d8e60c40715be21687e920191423db9d32.tar.gz gentoo-f8cd82d8e60c40715be21687e920191423db9d32.tar.bz2 gentoo-f8cd82d8e60c40715be21687e920191423db9d32.zip |
media-gfx/blender: Add nanovdb useflag
The nanovdb header only library is used to reduce memory usage when
rendering volumes in Cycles.
Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/blender')
-rw-r--r-- | media-gfx/blender/blender-9999.ebuild | 6 | ||||
-rw-r--r-- | media-gfx/blender/metadata.xml | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/media-gfx/blender/blender-9999.ebuild b/media-gfx/blender/blender-9999.ebuild index 349a113d757b..fe00904ee09a 100644 --- a/media-gfx/blender/blender-9999.ebuild +++ b/media-gfx/blender/blender-9999.ebuild @@ -27,7 +27,7 @@ LICENSE="|| ( GPL-3 BL )" IUSE="+bullet +dds +fluid +openexr +system-python +system-numpy +tbb \ alembic collada +color-management cuda +cycles \ debug doc +embree +ffmpeg +fftw +gmp headless jack jemalloc jpeg2k \ - man ndof nls openal +oidn +openimageio +openmp +opensubdiv \ + man +nanovdb ndof nls openal +oidn +openimageio +openmp +opensubdiv \ +openvdb +osl +pdf +potrace +pugixml pulseaudio sdl +sndfile standalone test +tiff valgrind" RESTRICT="!test? ( test )" @@ -90,7 +90,7 @@ RDEPEND="${PYTHON_DEPS} ) opensubdiv? ( >=media-libs/opensubdiv-3.4.0[cuda=] ) openvdb? ( - >=media-gfx/openvdb-8.2.0-r2:= + >=media-gfx/openvdb-9.0.0:=[nanovdb?] dev-libs/c-blosc:= ) osl? ( >=media-libs/osl-1.11.16.0-r3:= ) @@ -239,7 +239,7 @@ src_configure() { -DWITH_MEM_VALGRIND=$(usex valgrind) -DWITH_MOD_FLUID=$(usex fluid) -DWITH_MOD_OCEANSIM=$(usex fftw) - -DWITH_NANOVDB=OFF + -DWITH_NANOVDB=$(usex nanovdb) -DWITH_OPENAL=$(usex openal) -DWITH_OPENCOLLADA=$(usex collada) -DWITH_OPENCOLORIO=$(usex color-management) diff --git a/media-gfx/blender/metadata.xml b/media-gfx/blender/metadata.xml index 94f27ece6871..2fbad4b1909d 100644 --- a/media-gfx/blender/metadata.xml +++ b/media-gfx/blender/metadata.xml @@ -49,6 +49,9 @@ <flag name="headless"> Build without graphical support (renderfarm, server mode only). </flag> + <flag name="nanovdb"> + Enable nanoVDB support in Cycles. Uses less memory than regular openVDB when rendering. + </flag> <flag name="ndof"> Enable NDOF input devices (SpaceNavigator and friends). </flag> |