Skip to content

Commit 9ae97ff

Browse files
committed
Remove GafferAppleseed
1 parent 22d9093 commit 9ae97ff

File tree

66 files changed

+10
-8470
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+10
-8470
lines changed

.github/workflows/main/sconsOptions

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,4 @@ if sys.platform == "win32" :
6262
GLEW_LIB_SUFFIX = "32"
6363
INKSCAPE = "C:\\Program Files\\Inkscape\\bin\\inkscape.exe"
6464
WARNINGS_AS_ERRORS = False
65-
APPLESEED_ROOT = None
6665
SPHINX = "noSphinxYet"

Changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ API
3636
Breaking Changes
3737
----------------
3838

39+
- Appleseed : Removed Appleseed support. We suggest Cycles as an actively maintained open-source alternative.
3940
- GLWidget :
4041
- A GL context is no longer available in `_resize()`.
4142
- Removed `BufferOptions.Double`.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ With any luck, you now have a functioning version of Gaffer.
9696

9797
### Building with third-party renderer support
9898

99-
Gaffer dependencies ships with Appleseed, but to build the modules for one of the other supported third-party renderers, you will need to set appropriate `scons` options pointing to your installation. The options are:
99+
Gaffer dependencies ships with Cycles, but to build the modules for one of the other supported third-party renderers, you will need to set appropriate `scons` options pointing to your installation. The options are:
100100

101101
- Arnold: `ARNOLD_ROOT`
102102
- 3Delight: `DELIGHT_ROOT`

SConstruct

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,6 @@ options.Add(
180180
# installed in some central location, rather than using the precompiled dependencies
181181
# provided by the GafferHQ/dependencies project.
182182

183-
options.Add(
184-
"APPLESEED_ROOT",
185-
"The directory in which Appleseed is installed. Used to build Gafferseed",
186-
os.path.join( "$BUILD_DIR", "appleseed" ),
187-
)
188-
189183
options.Add(
190184
"CYCLES_ROOT",
191185
"The directory in which Cycles is installed. Used to build GafferCycles",
@@ -234,12 +228,6 @@ options.Add(
234228
"",
235229
)
236230

237-
options.Add(
238-
"LOCATE_DEPENDENCY_APPLESEED_SEARCHPATH",
239-
"The paths in which Appleseed resources are installed.",
240-
"",
241-
)
242-
243231
options.Add(
244232
"IMATH_LIB_SUFFIX",
245233
"The suffix used when locating the Imath library.",
@@ -1263,30 +1251,6 @@ libraries = {
12631251

12641252
"GafferDelightUITest" : {},
12651253

1266-
"GafferAppleseed" : {
1267-
"envAppends" : {
1268-
"CXXFLAGS" : [ systemIncludeArgument, "$APPLESEED_ROOT/include", "-DAPPLESEED_ENABLE_IMATH_INTEROP" ],
1269-
"LIBPATH" : [ "$APPLESEED_ROOT/lib" ],
1270-
"LIBS" : [ "Gaffer", "GafferDispatch", "GafferScene", "appleseed", "IECoreScene$CORTEX_LIB_SUFFIX", "IECoreAppleseed$CORTEX_LIB_SUFFIX", "OpenImageIO$OIIO_LIB_SUFFIX", "OpenImageIO_Util$OIIO_LIB_SUFFIX", "oslquery$OSL_LIB_SUFFIX", "boost_thread$BOOST_LIB_SUFFIX" ],
1271-
"CPPDEFINES" : [ "APPLESEED_USE_SSE" ] if platform.machine() != "arm64" else [],
1272-
},
1273-
"pythonEnvAppends" : {
1274-
"CXXFLAGS" : [ systemIncludeArgument, "$APPLESEED_ROOT/include", "-DAPPLESEED_ENABLE_IMATH_INTEROP" ],
1275-
"LIBPATH" : [ "$APPLESEED_ROOT/lib" ],
1276-
"LIBS" : [ "Gaffer", "GafferDispatch", "GafferScene", "GafferBindings", "GafferAppleseed" ],
1277-
"CPPDEFINES" : [ "APPLESEED_USE_SSE" ] if platform.machine() != "arm64" else [],
1278-
},
1279-
"requiredOptions" : [ "APPLESEED_ROOT" ],
1280-
},
1281-
1282-
"GafferAppleseedTest" : {
1283-
"additionalFiles" : glob.glob( "python/GafferAppleseedTest/*/*" ),
1284-
},
1285-
1286-
"GafferAppleseedUI" : {},
1287-
1288-
"GafferAppleseedUITest" : {},
1289-
12901254
"GafferCycles" : {
12911255
"envAppends" : {
12921256
"LIBPATH" : [ "$CYCLES_ROOT/lib" ],
@@ -2095,7 +2059,7 @@ if haveSphinx and haveInkscape :
20952059
docCommandEnv["ENV"]["GAFFER_REFERENCE_PATHS"] = os.path.abspath( "doc/references" )
20962060
docCommandEnv["ENV"]["GAFFER_STARTUP_PATHS"] = os.path.abspath( "doc/startup" )
20972061

2098-
# Ensure that Arnold, Appleseed and 3delight are available in the documentation
2062+
# Ensure that Arnold and 3delight are available in the documentation
20992063
# environment.
21002064

21012065
libraryPathEnvVar = "DYLD_LIBRARY_PATH" if docEnv["PLATFORM"]=="darwin" else "LD_LIBRARY_PATH"
@@ -2105,13 +2069,6 @@ if haveSphinx and haveInkscape :
21052069
docCommandEnv["ENV"]["PYTHONPATH"] += ":" + docCommandEnv.subst( "$ARNOLD_ROOT/python" )
21062070
docCommandEnv["ENV"][libraryPathEnvVar] = docCommandEnv["ENV"].get( libraryPathEnvVar, "" ) + ":" + docCommandEnv.subst( "$ARNOLD_ROOT/bin" )
21072071

2108-
if docCommandEnv.subst( "$APPLESEED_ROOT" ) and docCommandEnv["APPLESEED_ROOT"] != "$BUILD_DIR/appleseed" :
2109-
docCommandEnv["ENV"]["PATH"] += ":" + docCommandEnv.subst( "$APPLESEED_ROOT/bin" )
2110-
docCommandEnv["ENV"][libraryPathEnvVar] = docCommandEnv["ENV"].get( libraryPathEnvVar, "" ) + ":" + docCommandEnv.subst( "$APPLESEED_ROOT/lib" )
2111-
docCommandEnv["ENV"]["OSLHOME"] = docCommandEnv.subst( "$OSLHOME" )
2112-
docCommandEnv["ENV"]["OSL_SHADER_PATHS"] = docCommandEnv.subst( "$APPLESEED_ROOT/shaders/appleseed" )
2113-
docCommandEnv["ENV"]["APPLESEED_SEARCHPATH"] = docCommandEnv.subst( "$APPLESEED_ROOT/shaders/appleseed:$LOCATE_DEPENDENCY_APPLESEED_SEARCHPATH" )
2114-
21152072
# Docs graphics generation
21162073
docGraphicsCommands = graphicsCommands( docEnv, "resources/docGraphics.svg", "$BUILD_DIR/doc/gaffer/graphics" )
21172074
docEnv.Alias( "docs", docGraphicsCommands )

bin/gaffer

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -198,36 +198,6 @@ export QT_XCB_TABLET_LEGACY_COORDINATES=1
198198

199199
prependToPath "$GAFFER_ROOT/bin" PATH
200200

201-
# Set up Appleseed
202-
##########################################################################
203-
204-
if [[ -z $APPLESEED && -d $GAFFER_ROOT/appleseed ]] ; then
205-
206-
export APPLESEED="$GAFFER_ROOT/appleseed"
207-
208-
fi
209-
210-
if [[ $APPLESEED ]] ; then
211-
212-
if [[ `uname` = "Linux" ]] ; then
213-
prependToPath "$APPLESEED/lib" LD_LIBRARY_PATH
214-
else
215-
prependToPath "$APPLESEED/lib" DYLD_LIBRARY_PATH
216-
fi
217-
218-
# Using a glob to keep the wrapper agnostic of python version.
219-
for appleseedPython in "$APPLESEED"/lib/python* ; do
220-
prependToPath "$appleseedPython" PYTHONPATH
221-
done
222-
223-
prependToPath "$APPLESEED/shaders/appleseed" OSL_SHADER_PATHS
224-
prependToPath "$GAFFER_ROOT/appleseedDisplays" APPLESEED_SEARCHPATH
225-
prependToPath "$OSL_SHADER_PATHS" APPLESEED_SEARCHPATH
226-
227-
prependToPath "$APPLESEED/bin" PATH
228-
229-
fi
230-
231201
# Set up Cycles
232202
##########################################################################
233203

bin/gaffer.cmd

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,6 @@ if "%OCIO%" EQU "" (
5252
set OCIO=%GAFFER_ROOT%\openColorIO\config.ocio
5353
)
5454

55-
rem Appleseed
56-
rem if "%APPLESEED%" == "" (
57-
rem if EXIST "%GAFFER_ROOT%"\appleseed (
58-
rem set APPLESEED=%GAFFER_ROOT%\appleseed
59-
rem )
60-
rem )
61-
62-
rem if "%APPLESEED%" NEQ "" (
63-
rem call :prependToPath "%APPLESEED%\shaders\gaffer" OSL_SHADER_PATHS
64-
rem call :prependToPath "%APPLESEED%\shaders\appleseed" OSL_SHADER_PATHS
65-
rem )
66-
67-
rem if "%APPLESEED%" NEQ "" (
68-
rem call :prependToPath "%APPLESEED%\bin;%APPLESEED%\lib" PATH
69-
rem call :prependToPath "%APPLESEED%\lib\python2.7" PYTHONPATH
70-
rem call :prependToPath "%OSL_SHADER_PATHS%;%GAFFER_ROOT%\appleseedDisplays" APPLESEED_SEARCHPATH
71-
rem )
72-
7355
rem Arnold
7456
if "%ARNOLD_ROOT%" NEQ "" (
7557
call :appendToPath "%ARNOLD_ROOT%\bin" PATH

config/validateRelease.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@
8989
requiredPaths.append( os.path.join( "python", module ) )
9090
requiredPaths.append( os.path.join( "python", "%sUI" % module ) )
9191

92-
if os.name != "nt" :
93-
requiredPaths.append( os.path.join( "python", "GafferAppleseed" ) )
94-
requiredPaths.append( os.path.join( "python", "%sUI" % "GafferAppleseed" ) )
95-
9692
rawMembers = []
9793

9894
if args.archive.endswith( ".tar.gz" ) :

include/GafferAppleseed/AppleseedAttributes.h

Lines changed: 0 additions & 61 deletions
This file was deleted.

include/GafferAppleseed/AppleseedLight.h

Lines changed: 0 additions & 79 deletions
This file was deleted.

include/GafferAppleseed/AppleseedOptions.h

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)