/dports/cad/opencascade/opencascade-7.6.0/src/Graphic3d/ |
H A D | Graphic3d_MaterialAspect.cxx | 27 Graphic3d_BSDF BSDF; member 100 BSDF.Kd = Graphic3d_Vec3 (0.2f); in RawMaterial() 102 BSDF.Normalize(); in RawMaterial() 114 BSDF.Kd = Graphic3d_Vec3 (0.2f); in RawMaterial() 116 BSDF.Normalize(); in RawMaterial() 127 BSDF.Kd = Graphic3d_Vec3 (0.2f); in RawMaterial() 128 BSDF.Ks = Graphic3d_Vec4 (0.6f); in RawMaterial() 140 BSDF.Kd = Graphic3d_Vec3 (0.0f); in RawMaterial() 303 BSDF.Kd = Graphic3d_Vec3 (0.0f); in RawMaterial() 426 PBRMaterial.SetBSDF (BSDF); in RawMaterial() [all …]
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/modeling/bsdf/ |
H A D | oslbsdf.cpp | 83 : public BSDF 130 if (BSDF* bsdf = m_all_bsdfs[i]) in on_frame_begin() 370 auto_release_ptr<BSDF> m_blinn_brdf; 372 auto_release_ptr<BSDF> m_disney_brdf; 373 auto_release_ptr<BSDF> m_glass_bsdf; 374 auto_release_ptr<BSDF> m_glossy_brdf; 375 auto_release_ptr<BSDF> m_metal_brdf; 378 auto_release_ptr<BSDF> m_sheen_brdf; 385 auto_release_ptr<BSDF> bsdf = in create_and_register_bsdf() 395 const BSDF* bsdf = m_all_bsdfs[cid]; in bsdf_from_closure_id() [all …]
|
H A D | bsdf.cpp | 56 UniqueID BSDF::get_class_uid() in get_class_uid() 61 const float BSDF::DiracDelta = -1.0f; 63 BSDF::BSDF( in BSDF() function in renderer::BSDF 75 size_t BSDF::compute_input_data_size() const in compute_input_data_size() 80 void* BSDF::evaluate_inputs( in evaluate_inputs() 99 void BSDF::prepare_inputs( in prepare_inputs() 106 float BSDF::sample_ior( in sample_ior() 113 void BSDF::compute_absorption( in compute_absorption()
|
H A D | bsdf.h | 82 class APPLESEED_DLLSYMBOL BSDF 102 BSDF( 209 inline BSDF::Type BSDF::get_type() const in get_type() 214 inline int BSDF::get_modes() const in get_modes() 219 inline bool BSDF::is_purely_diffuse() const in is_purely_diffuse() 224 inline bool BSDF::is_purely_glossy() const in is_purely_glossy() 229 inline bool BSDF::is_purely_specular() const in is_purely_specular() 234 inline bool BSDF::is_purely_diffuse_or_glossy() const in is_purely_diffuse_or_glossy() 239 inline bool BSDF::is_purely_glossy_or_specular() const in is_purely_glossy_or_specular() 244 inline bool BSDF::force_above_surface( in force_above_surface()
|
H A D | bsdfblend.cpp | 78 : public BSDF 84 : BSDF(name, Reflective, ScatteringMode::All, params) in BSDFBlendImpl() 107 if (!BSDF::on_frame_begin(project, parent, recorder, abort_switch)) in on_frame_begin() 111 m_bsdf[0] = dynamic_cast<const BSDF*>(m_inputs.get_entity("bsdf0")); in on_frame_begin() 112 m_bsdf[1] = dynamic_cast<const BSDF*>(m_inputs.get_entity("bsdf1")); in on_frame_begin() 142 BSDF::evaluate_inputs(shading_context, shading_point)); in evaluate_inputs() 301 const BSDF* m_bsdf[2]; 365 auto_release_ptr<BSDF> BSDFBlendFactory::create( in create() 369 return auto_release_ptr<BSDF>(new BSDFBlend(name, params)); in create()
|
H A D | bsdfmix.cpp | 78 : public BSDF 84 : BSDF(name, Reflective, ScatteringMode::All, params) in BSDFMixImpl() 108 if (!BSDF::on_frame_begin(project, parent, recorder, abort_switch)) in on_frame_begin() 112 m_bsdf[0] = dynamic_cast<const BSDF*>(m_inputs.get_entity("bsdf0")); in on_frame_begin() 113 m_bsdf[1] = dynamic_cast<const BSDF*>(m_inputs.get_entity("bsdf1")); in on_frame_begin() 143 BSDF::evaluate_inputs(shading_context, shading_point)); in evaluate_inputs() 327 const BSDF* m_bsdf[2]; 401 auto_release_ptr<BSDF> BSDFMixFactory::create( in create() 405 return auto_release_ptr<BSDF>(new BSDFMix(name, params)); in create()
|
H A D | bsdftraits.h | 52 struct EntityTraits<BSDF> 64 static foundation::Dictionary get_entity_values(const BSDF* entity) 71 foundation::auto_release_ptr<BSDF> entity, 79 BSDF* entity,
|
/dports/graphics/ospray/ospray-2.8.0/ospray/render/bsdfs/ |
H A D | MultiBSDF.ih | 6 #include "BSDF.ih" 12 BSDF super; 14 const varying BSDF *uniform 22 /*! Adds a new BSDF to the list of BSDFs */ 24 const varying BSDF *uniform bsdf, 49 const varying BSDF *varying bsdf, 57 /*! Evaluates all BSDF components. */ 80 /*! Sample the multi-BSDF. */ 100 // choose which BSDF to sample 115 // sample chosen BSDF [all …]
|
H A D | Reflection.ih | 6 #include "BSDF.ih" 9 const varying BSDF *uniform self, const vec3f &wo, const vec3f &wi) 15 const varying BSDF *uniform self, const vec3f &wo, const vec2f &s, float ss) 26 inline varying BSDF *uniform Reflection_create( 31 varying BSDF *uniform self = 32 (varying BSDF * uniform) ShadingContext_alloc(ctx, sizeof(BSDF));
|
H A D | Transmission.ih | 6 #include "BSDF.ih" 9 const varying BSDF *uniform self, const vec3f &wo, const vec3f &wi) 15 const varying BSDF *uniform self, const vec3f &wo, const vec2f &s, float ss) 26 inline varying BSDF *uniform Transmission_create( 31 varying BSDF *uniform self = 32 (varying BSDF * uniform) ShadingContext_alloc(ctx, sizeof(BSDF));
|
H A D | Scale.ih | 6 #include "BSDF.ih" 10 BSDF super; 12 const varying BSDF *uniform base; 17 const varying BSDF *uniform super, const vec3f &wo, const vec3f &wi) 27 inline BSDF_SampleRes Scale_sample(const varying BSDF *uniform super, 42 const varying BSDF *uniform base, 55 inline varying BSDF *uniform Scale_create(uniform ShadingContext *uniform ctx, 56 const varying BSDF *uniform base,
|
H A D | Lambert.ih | 6 #include "BSDF.ih" 9 const varying BSDF *uniform self, const vec3f &wo, const vec3f &wi) 19 const varying BSDF *uniform self, const vec3f &wo, const vec2f &s, float ss) 30 inline varying BSDF *uniform Lambert_create(uniform ShadingContext *uniform ctx, 34 varying BSDF *uniform self = 35 (varying BSDF * uniform) ShadingContext_alloc(ctx, sizeof(BSDF));
|
H A D | LambertTransmission.ih | 6 #include "BSDF.ih" 9 const varying BSDF *uniform self, const vec3f &wo, const vec3f &wi) 19 const varying BSDF *uniform self, const vec3f &wo, const vec2f &s, float ss) 30 inline varying BSDF *uniform LambertTransmission_create( 35 varying BSDF *uniform self = 36 (varying BSDF * uniform) ShadingContext_alloc(ctx, sizeof(BSDF));
|
H A D | BSDF.ih | 34 struct BSDF; 52 const varying BSDF *uniform self, const vec3f &wo, const vec3f &wi); 54 typedef BSDF_SampleRes (*BSDF_SampleFunc)(const varying BSDF *uniform self, 59 struct BSDF 68 inline void BSDF_Constructor(varying BSDF *uniform self, 82 inline vec3f getN(const varying BSDF *uniform bsdf) 87 inline linear3f getFrame(const varying BSDF *uniform bsdf)
|
H A D | Conductor.ih | 6 #include "BSDF.ih" 11 BSDF super; 17 const varying BSDF *uniform super, const vec3f &wo, const vec3f &wi) 22 inline BSDF_SampleRes Conductor_sample(const varying BSDF *uniform super, 50 inline varying BSDF *uniform Conductor_create(
|
H A D | Velvety.ih | 6 #include "BSDF.ih" 10 BSDF super; 18 const varying BSDF *uniform super, const vec3f &wo, const vec3f &wi) 32 inline BSDF_SampleRes Velvety_sample(const varying BSDF *uniform super, 64 inline varying BSDF *uniform Velvety_create(uniform ShadingContext *uniform ctx,
|
H A D | Minneart.ih | 6 #include "BSDF.ih" 11 BSDF super; 18 const varying BSDF *uniform super, const vec3f &wo, const vec3f &wi) 30 inline BSDF_SampleRes Minneart_sample(const varying BSDF *uniform super, 62 inline varying BSDF *uniform Minneart_create(
|
H A D | Dielectric.ih | 6 #include "BSDF.ih" 12 BSDF super; 18 const varying BSDF *uniform super, const vec3f &wo, const vec3f &wi) 23 inline BSDF_SampleRes Dielectric_sample(const varying BSDF *uniform super, 70 inline varying BSDF *uniform Dielectric_create(
|
H A D | OrenNayar.ih | 6 #include "BSDF.ih" 13 BSDF super; 19 const varying BSDF *uniform super, const vec3f &wo, const vec3f &wi) 37 inline BSDF_SampleRes OrenNayar_sample(const varying BSDF *uniform super, 69 inline varying BSDF *uniform OrenNayar_create(
|
/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/shaders/ |
H A D | node_principled_bsdf.osl | 42 output closure color BSDF = 0) 63 BSDF = mixed_ss_base_color * bssrdf("principled", 71 BSDF = mixed_ss_base_color * bssrdf("principled_random_walk", 80 BSDF = BaseColor * principled_diffuse(Normal, Roughness); 86 BSDF = BSDF + sheen_color * Sheen * principled_sheen(Normal); 89 BSDF = BSDF * diffuse_weight; 104 BSDF = BSDF + specular_weight * 114 BSDF = BSDF + specular_weight * microfacet_multi_ggx_aniso_fresnel( 141 BSDF = BSDF + 150 BSDF = BSDF + [all …]
|
H A D | node_glossy_bsdf.osl | 24 output closure color BSDF = 0) 29 BSDF = Color * reflection(Normal); 31 BSDF = Color * microfacet_beckmann(Normal, roughness); 33 BSDF = Color * microfacet_ggx(Normal, roughness); 35 BSDF = Color * microfacet_multi_ggx(Normal, roughness, Color); 37 BSDF = Color * ashikhmin_shirley(Normal, vector(0, 0, 0), roughness, roughness);
|
H A D | node_anisotropic_bsdf.osl | 25 output closure color BSDF = 0) 48 BSDF = Color * reflection(Normal); 50 BSDF = Color * microfacet_beckmann_aniso(Normal, T, roughness_u, roughness_v); 52 BSDF = Color * microfacet_ggx_aniso(Normal, T, roughness_u, roughness_v); 54 BSDF = Color * microfacet_multi_ggx_aniso(Normal, T, roughness_u, roughness_v, Color); 56 BSDF = Color * ashikhmin_shirley(Normal, T, roughness_u, roughness_v);
|
H A D | node_glass_bsdf.osl | 25 output closure color BSDF = 0) 34 BSDF = Color * (Fr * reflection(Normal) + (1.0 - Fr) * refraction(Normal, eta)); 36 BSDF = Color * (Fr * microfacet_beckmann(Normal, roughness) + 39 BSDF = Color * microfacet_multi_ggx_glass(Normal, roughness, eta, Color); 41 BSDF = Color * (Fr * microfacet_ggx(Normal, roughness) +
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed.python/ |
H A D | bindbsdf.cpp | 53 …template <> BSDF const volatile* get_pointer<BSDF const volatile>(BSDF const volatile* p) { return… in get_pointer() 61 auto_release_ptr<BSDF> create_bsdf( in create_bsdf() 77 return auto_release_ptr<BSDF>(); in create_bsdf() 80 auto_release_ptr<BSDF> factory_create_bsdf( in factory_create_bsdf() 91 …bpy::class_<BSDF, auto_release_ptr<BSDF>, bpy::bases<ConnectableEntity>, boost::noncopyable>("BSDF… in bind_bsdf() 95 .def("get_model", &BSDF::get_model); in bind_bsdf() 97 bind_typed_entity_vector<BSDF>("BSDFContainer"); in bind_bsdf()
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/sandbox/tests/test scenes/osl/_shaders/ |
H A D | as_emission_surface.oso | 9 oparam closure color BSDF %read{2147483647,-1} %write{8,9} 35 # BSDF = E * emission(); 37 mul BSDF $tmp4 ___340_E %argrw{"wrr"} 39 # BSDF = BSDF1; 40 assign BSDF BSDF1 %line{55} %argrw{"wr"}
|