mitsuba/src/bsdfs/SConscript

36 lines
1.6 KiB
Python
Raw Normal View History

Import('env', 'plugins')
# Basic library of smooth and rough materials
plugins += env.SharedLibrary('diffuse', ['diffuse.cpp'])
plugins += env.SharedLibrary('dielectric', ['dielectric.cpp'])
plugins += env.SharedLibrary('conductor', ['conductor.cpp'])
plugins += env.SharedLibrary('plastic', ['plastic.cpp'])
2011-07-08 20:36:16 +08:00
plugins += env.SharedLibrary('roughdiffuse', ['roughdiffuse.cpp'])
plugins += env.SharedLibrary('roughdielectric', ['roughdielectric.cpp'])
2011-07-08 03:34:39 +08:00
plugins += env.SharedLibrary('roughconductor', ['roughconductor.cpp'])
plugins += env.SharedLibrary('roughplastic', ['roughplastic.cpp'])
2011-07-05 02:13:36 +08:00
# Materials that act as modifiers
2011-07-12 08:57:49 +08:00
plugins += env.SharedLibrary('twosided', ['twosided.cpp'])
2011-07-13 05:16:27 +08:00
plugins += env.SharedLibrary('mask', ['mask.cpp'])
plugins += env.SharedLibrary('mixturebsdf', ['mixturebsdf.cpp'])
plugins += env.SharedLibrary('coating', ['coating.cpp'])
2011-08-22 12:17:55 +08:00
plugins += env.SharedLibrary('roughcoating', ['roughcoating.cpp'])
plugins += env.SharedLibrary('bump', ['bump.cpp'])
# Other materials
2011-07-12 19:54:05 +08:00
plugins += env.SharedLibrary('ward', ['ward.cpp'])
plugins += env.SharedLibrary('phong', ['phong.cpp'])
2011-07-12 19:54:05 +08:00
plugins += env.SharedLibrary('difftrans', ['difftrans.cpp'])
plugins += env.SharedLibrary('hk', ['hk.cpp'])
2011-08-11 15:23:20 +08:00
plugins += env.SharedLibrary('dipolebrdf', ['dipolebrdf.cpp'])
plugins += env.SharedLibrary('rmbrdf', ['rmbrdf.cpp'])
2011-08-17 02:17:11 +08:00
# The Irawan-Marschner plugin uses a Boost::Spirit parser, which makes it
# pretty heavy stuff to compile. Go easy on the compiler flags:
irawanEnv = env.Clone()
irawanEnv.RelaxCompilerSettings()
plugins += irawanEnv.SharedLibrary('irawan', ['irawan.cpp'])
Export('plugins')