Blender
V3.3
|
#include <OSL/genclosure.h>
#include <OSL/oslclosure.h>
#include "kernel/osl/closures.h"
#include "kernel/osl/shader.h"
#include "util/math.h"
#include "util/param.h"
#include "kernel/device/cpu/compat.h"
#include "kernel/device/cpu/globals.h"
#include "kernel/types.h"
#include "kernel/closure/alloc.h"
#include "kernel/closure/bsdf_util.h"
#include "kernel/closure/bsdf_ashikhmin_velvet.h"
#include "kernel/closure/bsdf_diffuse.h"
#include "kernel/closure/bsdf_microfacet.h"
#include "kernel/closure/bsdf_microfacet_multi.h"
#include "kernel/closure/bsdf_oren_nayar.h"
#include "kernel/closure/bsdf_reflection.h"
#include "kernel/closure/bsdf_refraction.h"
#include "kernel/closure/bsdf_transparent.h"
#include "kernel/closure/bsdf_ashikhmin_shirley.h"
#include "kernel/closure/bsdf_toon.h"
#include "kernel/closure/bsdf_hair.h"
#include "kernel/closure/bsdf_hair_principled.h"
#include "kernel/closure/bsdf_principled_diffuse.h"
#include "kernel/closure/bsdf_principled_sheen.h"
#include "kernel/closure/volume.h"
Go to the source code of this file.
Classes | |
class | PrincipledSheenClosure |
class | PrincipledHairClosure |
class | PrincipledClearcoatClosure |
class | MicrofacetClosure |
class | MicrofacetFresnelClosure |
class | MicrofacetGGXFresnelClosure |
class | MicrofacetGGXAnisoFresnelClosure |
class | MicrofacetMultiClosure |
class | MicrofacetMultiGGXClosure |
class | MicrofacetMultiGGXAnisoClosure |
class | MicrofacetMultiGGXGlassClosure |
class | MicrofacetMultiFresnelClosure |
class | MicrofacetMultiGGXFresnelClosure |
class | MicrofacetMultiGGXAnisoFresnelClosure |
class | MicrofacetMultiGGXGlassFresnelClosure |
class | TransparentClosure |
class | VolumeAbsorptionClosure |
class | VolumeHenyeyGreensteinClosure |
BSDF_CLOSURE_CLASS_BEGIN | ( | AshikhminShirley | , |
ashikhmin_shirley | , | ||
MicrofacetBsdf | , | ||
LABEL_GLOSSY| | LABEL_REFLECT | ||
) |
LABEL_GLOSSY LABEL_REFLECT LABEL_GLOSSY LABEL_REFLECT BSDF_CLOSURE_CLASS_BEGIN | ( | MicrofacetBeckmann | , |
microfacet_beckmann | , | ||
MicrofacetBsdf | , | ||
LABEL_GLOSSY| | LABEL_REFLECT | ||
) |
LABEL_GLOSSY LABEL_REFLECT LABEL_GLOSSY LABEL_REFLECT LABEL_GLOSSY LABEL_TRANSMIT BSDF_CLOSURE_CLASS_BEGIN | ( | MicrofacetBeckmannRefraction | , |
microfacet_beckmann_refraction | , | ||
MicrofacetBsdf | , | ||
LABEL_GLOSSY| | LABEL_TRANSMIT | ||
) |
LABEL_GLOSSY LABEL_REFLECT BSDF_CLOSURE_CLASS_BEGIN | ( | MicrofacetGGX | , |
microfacet_ggx | , | ||
MicrofacetBsdf | , | ||
LABEL_GLOSSY| | LABEL_REFLECT | ||
) |
|
static |
Definition at line 192 of file closures.cpp.
References CLOSURE_FLOAT3_PARAM, label, and params.
CCLOSURE_PREPARE | ( | closure_bsdf_microfacet_ggx_aniso_fresnel_prepare | , |
MicrofacetGGXAnisoFresnelClosure | |||
) |
CCLOSURE_PREPARE | ( | closure_bsdf_microfacet_ggx_fresnel_prepare | , |
MicrofacetGGXFresnelClosure | |||
) |
CCLOSURE_PREPARE | ( | closure_bsdf_microfacet_multi_ggx_aniso_fresnel_prepare | , |
MicrofacetMultiGGXAnisoFresnelClosure | |||
) |
CCLOSURE_PREPARE | ( | closure_bsdf_microfacet_multi_ggx_aniso_prepare | , |
MicrofacetMultiGGXAnisoClosure | |||
) |
CCLOSURE_PREPARE | ( | closure_bsdf_microfacet_multi_ggx_fresnel_prepare | , |
MicrofacetMultiGGXFresnelClosure | |||
) |
CCLOSURE_PREPARE | ( | closure_bsdf_microfacet_multi_ggx_glass_fresnel_prepare | , |
MicrofacetMultiGGXGlassFresnelClosure | |||
) |
CCLOSURE_PREPARE | ( | closure_bsdf_microfacet_multi_ggx_glass_prepare | , |
MicrofacetMultiGGXGlassClosure | |||
) |
CCLOSURE_PREPARE | ( | closure_bsdf_microfacet_multi_ggx_prepare | , |
MicrofacetMultiGGXClosure | |||
) |
ClosureParam* closure_absorption_params | ( | ) |
Definition at line 967 of file closures.cpp.
ClosureParam* closure_bsdf_microfacet_ggx_aniso_fresnel_params | ( | ) |
Definition at line 653 of file closures.cpp.
References CLOSURE_FLOAT3_PARAM, color, label, and params.
ClosureParam* closure_bsdf_microfacet_ggx_fresnel_params | ( | ) |
Definition at line 624 of file closures.cpp.
References CLOSURE_FLOAT3_PARAM, color, label, and params.
ClosureParam* closure_bsdf_microfacet_multi_ggx_aniso_fresnel_params | ( | ) |
Definition at line 882 of file closures.cpp.
References CLOSURE_FLOAT3_PARAM, color, label, and params.
ClosureParam* closure_bsdf_microfacet_multi_ggx_aniso_params | ( | ) |
Definition at line 751 of file closures.cpp.
References CLOSURE_FLOAT3_PARAM, color, label, and params.
ClosureParam* closure_bsdf_microfacet_multi_ggx_fresnel_params | ( | ) |
Definition at line 852 of file closures.cpp.
References CLOSURE_FLOAT3_PARAM, color, label, and params.
ClosureParam* closure_bsdf_microfacet_multi_ggx_glass_fresnel_params | ( | ) |
Definition at line 920 of file closures.cpp.
References CLOSURE_FLOAT3_PARAM, color, label, and params.
ClosureParam* closure_bsdf_microfacet_multi_ggx_glass_params | ( | ) |
Definition at line 786 of file closures.cpp.
References CLOSURE_FLOAT3_PARAM, color, label, and params.
ClosureParam* closure_bsdf_microfacet_multi_ggx_params | ( | ) |
Definition at line 723 of file closures.cpp.
References CLOSURE_FLOAT3_PARAM, color, label, and params.
ClosureParam* closure_bsdf_microfacet_params | ( | ) |
Definition at line 555 of file closures.cpp.
References CLOSURE_FLOAT3_PARAM, label, params, and refract().
ClosureParam* closure_bsdf_principled_clearcoat_params | ( | ) |
Definition at line 299 of file closures.cpp.
References usdtokens::clearcoat(), CLOSURE_FLOAT3_PARAM, label, and params.
|
static |
Definition at line 240 of file closures.cpp.
References CLOSURE_FLOAT3_PARAM, label, and params.
ClosureParam* closure_bsdf_transparent_params | ( | ) |
Definition at line 948 of file closures.cpp.
ClosureParam* closure_henyey_greenstein_params | ( | ) |
Definition at line 994 of file closures.cpp.
|
static |
Definition at line 313 of file closures.cpp.
LABEL_GLOSSY LABEL_REFLECT microfacet_beckmann_isotropic |
Definition at line 117 of file closures.cpp.
microfacet_ggx_isotropic |
Definition at line 99 of file closures.cpp.
LABEL_GLOSSY LABEL_REFLECT LABEL_GLOSSY LABEL_REFLECT microfacet_ggx_refraction |
Definition at line 135 of file closures.cpp.
Definition at line 100 of file closures.cpp.
LABEL_GLOSSY LABEL_REFLECT LABEL_GLOSSY LABEL_REFLECT LABEL_GLOSSY LABEL_TRANSMIT principled_diffuse |
Definition at line 169 of file closures.cpp.
LABEL_GLOSSY LABEL_REFLECT LABEL_GLOSSY LABEL_REFLECT LABEL_GLOSSY LABEL_TRANSMIT PrincipledDiffuseBsdf |
Definition at line 170 of file closures.cpp.