/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/kernel/intersection/ |
H A D | intersector.cpp | 255 shading_point.m_ray = ray; in trace() 272 shading_point, in trace() 286 shading_point.m_ray, in trace() 366 debug_poison(shading_point); in make_triangle_shading_point() 375 shading_point.m_bary = bary; in make_triangle_shading_point() 384 shading_point.m_members = 0; in make_triangle_shading_point() 402 debug_poison(shading_point); in make_procedural_surface_shading_point() 412 shading_point.m_bary = uv; in make_procedural_surface_shading_point() 423 shading_point.m_geometric_normal = shading_point.m_original_shading_normal = normal; in make_procedural_surface_shading_point() 432 shading_point.m_uv = uv; in make_procedural_surface_shading_point() [all …]
|
H A D | embreescene.cpp | 412 void EmbreeScene::intersect(ShadingPoint& shading_point) const in intersect() 418 shading_ray_to_embree_ray(shading_point.get_ray(), rayhit.ray); in intersect() 431 shading_point.m_bary[0] = rayhit.hit.u; in intersect() 432 shading_point.m_bary[1] = rayhit.hit.v; in intersect() 434 shading_point.m_object_instance_index = geometry_data->m_object_instance_idx; in intersect() 436 shading_point.m_primitive_index = rayhit.hit.primID; in intersect() 437 shading_point.m_primitive_type = ShadingPoint::PrimitiveTriangle; in intersect() 438 shading_point.m_ray.m_tmax = rayhit.ray.tfar; in intersect() 473 shading_point.m_triangle_support_plane.initialize(triangle); in intersect() 482 shading_point.m_triangle_support_plane.initialize(triangle); in intersect()
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/kernel/shading/ |
H A D | oslshadergroupexec.cpp | 75 shading_point, in execute_shading() 76 shading_point.get_ray().m_flags); in execute_shading() 85 shading_point, in execute_subsurface() 96 shading_point, in execute_transparency() 108 shading_point, in execute_transparency_and_matte() 119 shading_point, in execute_shadow() 131 shading_point, in execute_emission() 145 shading_point, in execute_bump() 165 shading_point, in execute_bump() 178 shading_point, in execute_npr() [all …]
|
H A D | shadingcontext.cpp | 90 const ShadingPoint& shading_point) const in execute_osl_shading() 94 shading_point); in execute_osl_shading() 103 shading_point); in execute_osl_subsurface() 108 const ShadingPoint& shading_point, in execute_osl_transparency() argument 113 shading_point, in execute_osl_transparency() 123 shading_point); in execute_osl_emission() 128 const ShadingPoint& shading_point, in execute_osl_bump() argument 133 shading_point, in execute_osl_bump() 156 shading_point); in execute_osl_npr() 165 shading_point); in execute_osl_transparency_and_matte() [all …]
|
H A D | oslshadergroupexec.h | 82 const ShadingPoint& shading_point) const; 86 const ShadingPoint& shading_point) const; 90 const ShadingPoint& shading_point, 95 const ShadingPoint& shading_point) const; 99 const ShadingPoint& shading_point, 104 const ShadingPoint& shading_point) const; 108 const ShadingPoint& shading_point, 113 const ShadingPoint& shading_point) const; 121 const ShadingPoint& shading_point, 125 const ShadingPoint& shading_point,
|
H A D | shadingengine.cpp | 114 const ShadingPoint& shading_point, in shade_hit_point() argument 119 shading_result.m_main.a = shading_point.get_alpha()[0]; in shade_hit_point() 122 const Material* material = shading_point.get_material(); in shade_hit_point() 132 shading_context.execute_osl_transparency_and_matte(*sg, shading_point); in shade_hit_point() 139 shading_point.get_osl_shader_globals().Ci, in shade_hit_point() 192 shading_point, in shade_hit_point() 200 shading_point, in shade_hit_point() 216 const ShadingPoint& shading_point, in shade_environment() argument 222 shading_point.get_scene().get_environment()->get_environment_shader(); in shade_environment() 232 normalize(shading_point.get_ray().m_dir), in shade_environment() [all …]
|
H A D | ambientocclusion.h | 61 const ShadingPoint& shading_point, in compute_ambient_occlusion() argument 65 const foundation::Vector3d& geometric_normal = shading_point.get_geometric_normal(); in compute_ambient_occlusion() 66 const foundation::Basis3d& shading_basis = shading_point.get_shading_basis(); in compute_ambient_occlusion() 75 ray.m_time = shading_point.get_time(); in compute_ambient_occlusion() 77 ray.m_depth = shading_point.get_ray().m_depth + 1; in compute_ambient_occlusion() 95 ray.m_org = shading_point.get_biased_point(ray.m_dir); in compute_ambient_occlusion() 101 if (intersector.trace_probe(ray, &shading_point)) in compute_ambient_occlusion()
|
H A D | shadingcontext.h | 102 const ShadingPoint& shading_point) const; 106 const ShadingPoint& shading_point) const; 110 const ShadingPoint& shading_point, 115 const ShadingPoint& shading_point) const; 121 const ShadingPoint& shading_point, 131 const ShadingPoint& shading_point) const; 135 const ShadingPoint& shading_point) const; 139 const ShadingPoint& shading_point,
|
H A D | shadingengine.h | 84 const ShadingPoint& shading_point, 97 const ShadingPoint& shading_point, 105 const ShadingPoint& shading_point, 119 const ShadingPoint& shading_point, in shade() argument 123 if (shading_point.hit_surface()) in shade() 129 shading_point, in shade() 139 shading_point, in shade()
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/kernel/rendering/ |
H A D | scenepicker.cpp | 146 ShadingPoint shading_point; in pick() local 149 result.m_hit = shading_point.hit_surface(); in pick() 157 result.m_bary = shading_point.get_bary(); in pick() 158 result.m_uv = shading_point.get_uv(0); in pick() 162 result.m_dpdu = shading_point.get_dpdu(0); in pick() 163 result.m_dpdv = shading_point.get_dpdv(0); in pick() 164 result.m_dndu = shading_point.get_dndu(0); in pick() 165 result.m_dndv = shading_point.get_dndv(0); in pick() 166 result.m_dpdx = shading_point.get_dpdx(); in pick() 167 result.m_dpdy = shading_point.get_dpdy(); in pick() [all …]
|
H A D | rendererservices.cpp | 488 ShadingPoint shading_point; in trace() local 491 shading_point, in trace() 499 if (shading_point.hit_surface()) in trace() 627 const ShadingPoint* shading_point = in IMPLEMENT_ATTR_GETTER() local 645 const ShadingPoint* shading_point = in IMPLEMENT_ATTR_GETTER() local 663 const ShadingPoint* shading_point = in IMPLEMENT_ATTR_GETTER() local 681 const ShadingPoint* shading_point = in IMPLEMENT_ATTR_GETTER() local 703 const ShadingPoint* shading_point = in IMPLEMENT_ATTR_GETTER() local 725 const ShadingPoint* shading_point = in IMPLEMENT_ATTR_GETTER() local 747 const ShadingPoint* shading_point = in IMPLEMENT_ATTR_GETTER() local [all …]
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/modeling/surfaceshader/ |
H A D | diagnosticsurfaceshader.cpp | 284 const ShadingPoint& shading_point, in evaluate() argument 298 const Vector3d& view = shading_point.get_ray().m_dir; in evaluate() 320 shading_point); in evaluate() 348 const Vector2f& bary = shading_point.get_bary(); in evaluate() 358 const Vector2f& uv = shading_point.get_uv(0); in evaluate() 380 shading_point, in evaluate() 459 switch (shading_point.get_primitive_type()) in evaluate() 509 switch (shading_point.get_primitive_type()) in evaluate() 573 shading_point, in evaluate() 628 const ShadingRay& ray = shading_point.get_ray(); in evaluate() [all …]
|
H A D | nprsurfaceshaderhelper.cpp | 60 const ShadingPoint& shading_point, in evaluate() argument 74 shading_point.m_surface_shader_diffuse = Color3f( in evaluate() 79 shading_point.m_surface_shader_diffuse += Color3f( in evaluate() 84 shading_point.m_surface_shader_glossy = Color3f( in evaluate() 89 shading_point.m_surface_shader_glossy += Color3f( in evaluate() 139 shading_point, in evaluate() 164 const ShadingPoint& shading_point, in evaluate_npr_contour() argument 170 const Vector3d& p = shading_point.get_point(); in evaluate_npr_contour() 191 const Vector3d& dpdx = shading_point.get_dpdx(); in evaluate_npr_contour() 192 const Vector3d& dpdy = shading_point.get_dpdy(); in evaluate_npr_contour() [all …]
|
H A D | physicalsurfaceshader.cpp | 110 const ShadingPoint& shading_point, in evaluate() argument 120 const Basis3d basis = shading_point.get_shading_basis(); in evaluate() 125 shading_point, in evaluate() 133 shading_point.set_shading_basis(basis); in evaluate() 138 shading_point, in evaluate() 147 if (const Material* material = shading_point.get_material()) in evaluate() 156 shading_point, in evaluate()
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/meta/tests/ |
H A D | test_tracer.cpp | 278 const ShadingPoint& shading_point = in TEST_SUITE() local 308 const ShadingPoint& shading_point = in TEST_SUITE() local 350 const ShadingPoint& shading_point = in TEST_SUITE() local 380 const ShadingPoint& shading_point = in TEST_SUITE() local 430 const ShadingPoint& shading_point = in TEST_SUITE() local 461 const ShadingPoint& shading_point = in TEST_SUITE() local 504 const ShadingPoint& shading_point = in TEST_SUITE() local 535 const ShadingPoint& shading_point = in TEST_SUITE() local 587 const ShadingPoint& shading_point = in TEST_SUITE() local 617 const ShadingPoint& shading_point = in TEST_SUITE() local [all …]
|
H A D | test_intersector.cpp | 127 ShadingPoint shading_point; in TEST_SUITE() local 128 const bool hit = m_intersector.trace(ray, shading_point); in TEST_SUITE() 162 ShadingPoint shading_point; in TEST_SUITE() local 163 const bool hit = m_intersector.trace(ray, shading_point); in TEST_SUITE()
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/modeling/bssrdf/ |
H A D | bssrdf.cpp | 77 const ShadingPoint& shading_point) const in evaluate_inputs() 83 SourceInputs(shading_point.get_uv(0)), in evaluate_inputs() 88 shading_point, in evaluate_inputs() 96 const ShadingPoint& shading_point, in prepare_inputs() argument 102 const ShadingPoint& shading_point, in compute_eta() argument 106 shading_point.is_entering() in compute_eta() 107 ? shading_point.get_ray().get_current_ior() in compute_eta() 108 : shading_point.get_ray().get_previous_ior(); in compute_eta()
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/modeling/aov/ |
H A D | screenspacevelocityaov.cpp | 59 const ShadingPoint& shading_point, in compute_screen_space_velocity_color() argument 64 const Camera* camera = shading_point.get_scene().get_active_camera(); in compute_screen_space_velocity_color() 67 const Vector3d& p = shading_point.get_point(); in compute_screen_space_velocity_color() 68 const Vector3d& v = shading_point.get_world_space_point_velocity(); in compute_screen_space_velocity_color() 71 if (camera->project_segment(shading_point.get_time().m_absolute, p, p + v, a_ndc, b_ndc)) in compute_screen_space_velocity_color() 122 const ShadingPoint& shading_point, in write() argument 139 if (shading_point.hit_surface()) in write() 141 … const Color3f c = compute_screen_space_velocity_color(shading_point, m_max_displace); in write()
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/kernel/lighting/ |
H A D | materialsamplers.cpp | 55 const ShadingPoint& shading_point) in BSDFSampler() argument 59 , m_shading_basis(shading_point.get_shading_basis()) in BSDFSampler() 60 , m_geometric_normal(shading_point.get_geometric_normal()) in BSDFSampler() 61 , m_shading_point(shading_point) in BSDFSampler() 94 const ShadingPoint& shading_point = in trace_full() local 101 return shading_point; in trace_full() 194 const ShadingPoint& shading_point) in VolumeSampler() argument 199 , m_shading_point(shading_point) in VolumeSampler() 232 const ShadingPoint& shading_point = in trace_full() local 238 return shading_point; in trace_full()
|
H A D | lighttree.cpp | 240 const ShadingPoint& shading_point, in sample() argument 256 child_node_probabilites(node, shading_point, p1, p2); in sample() 279 const ShadingPoint& shading_point, in evaluate_node_pdf() argument 290 child_node_probabilites(node, shading_point, p1, p2); in evaluate_node_pdf() 356 const ShadingPoint& shading_point) const in compute_node_probability() 373 const Vector3d& surface_point = shading_point.get_point(); in compute_node_probability() 398 ? shading_point.get_shading_normal() in compute_node_probability() 399 : -shading_point.get_shading_normal(); in compute_node_probability() 410 const ShadingPoint& shading_point, in child_node_probabilites() argument 423 p1 = compute_node_probability(child1, bbox_left, shading_point); in child_node_probabilites() [all …]
|
H A D | tracer.h | 207 const ShadingPoint& shading_point = in trace_simple() local 213 if (shading_point.hit_surface()) in trace_simple() 228 const ShadingPoint& shading_point = in trace_simple() local 235 if (shading_point.hit_surface()) in trace_simple() 265 const ShadingPoint& shading_point = in trace_between_simple() local 273 if (shading_point.hit_surface()) in trace_between_simple() 304 const ShadingPoint& shading_point = in trace_between_simple() local 313 if (shading_point.hit_surface()) in trace_between_simple() 344 const ShadingPoint& shading_point = in trace_between_simple() local 353 if (shading_point.hit_surface()) in trace_between_simple() [all …]
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/modeling/material/ |
H A D | bumpmappingmodifier.cpp | 73 const ShadingPoint& shading_point) const in modify() 76 const Vector2f& uv = shading_point.get_uv(UVSet); in modify() 77 const Vector3d& dpdu = shading_point.get_dpdu(UVSet); in modify() 78 const Vector3d& dpdv = shading_point.get_dpdv(UVSet); in modify() 82 const Vector2f& duvdx = shading_point.get_duvdx(UVSet); in modify() 83 const Vector2f& duvdy = shading_point.get_duvdy(UVSet); in modify()
|
H A D | disneymaterial.cpp | 164 const ShadingPoint& shading_point, in evaluate() argument 172 const Vector2f& uv = shading_point.get_uv(0); in evaluate() 206 shading_point, in evaluate() 330 const ShadingPoint& shading_point, in evaluate_expressions() argument 343 impl->m_base_color.evaluate(shading_point, texture_system), in evaluate_expressions() 349 saturate(impl->m_subsurface.evaluate(shading_point, texture_system)[0]), in evaluate_expressions() 355 saturate(impl->m_metallic.evaluate(shading_point, texture_system)[0]), in evaluate_expressions() 361 max(impl->m_specular.evaluate(shading_point, texture_system)[0], 0.0f), in evaluate_expressions() 385 impl->m_sheen.evaluate(shading_point, texture_system)[0], in evaluate_expressions() 391 saturate(impl->m_sheen_tint.evaluate(shading_point, texture_system)[0]), in evaluate_expressions() [all …]
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/modeling/bsdf/ |
H A D | bsdfsample.h | 69 const ShadingPoint* shading_point, 100 const ShadingPoint* shading_point, in BSDFSample() argument 102 : m_shading_point(shading_point) in BSDFSample() 103 , m_geometric_normal(shading_point->get_geometric_normal()) in BSDFSample() 104 , m_shading_basis(shading_point->get_shading_basis()) in BSDFSample()
|
H A D | bsdf.cpp | 82 const ShadingPoint& shading_point) const in evaluate_inputs() 88 SourceInputs(shading_point.get_uv(0)), in evaluate_inputs() 93 shading_point, in evaluate_inputs() 101 const ShadingPoint& shading_point, in prepare_inputs() argument
|