/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/cl/onl/ |
H A D | phongs_model.cl | 35 float4 sun_dir = {sin(sun_theta)*cos(sun_phi), sin(sun_theta)*sin(sun_phi), cos(sun_theta), 0}; 36 float4 sun_reflected_dir = sun_dir - 2*normal*dot(normal,sun_dir); 38 float diffuse = (kd)* fabs(dot(normal,sun_dir)); 71 float4 sun_dir = {sin(sun_theta)*cos(sun_phi), sin(sun_theta)*sin(sun_phi), cos(sun_theta), 0}; 72 float4 sun_reflected_dir = sun_dir - 2*normal*dot(normal,sun_dir); 74 float diffuse = fabs(kd)* fabs(dot(normal,sun_dir)); 81 J[i*n+0] = fabs(dot(normal,sun_dir))*w; 84 J[i*n+3] = kd*dot(dndtheta,sun_dir) *w 85 …+gamma*ks*w*pow(specular,gamma-1)*(-2)*(dot(sun_dir,dndtheta)*dot(normal,view_dir) +dot(sun_dir,no… 86 J[i*n+4] = kd*dot(dndphi,sun_dir) *w [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/brad/ |
H A D | brad_phongs_model_est.cxx | 27 vnl_double_3 sun_dir; in val() local 28 sun_dir[0]=std::sin(sun_elev)*std::cos(sun_azim); in val() 30 sun_dir[2]=std::cos(sun_elev); in val() 41 vnl_double_3 half_vector = sun_dir + view_dir; in val() 54 vnl_double_3 sun_dir; in val() local 57 sun_dir[2]=std::cos(sun_elev); in val() 65 vnl_double_3 half_vector = sun_dir + view_dir; in val() 87 vnl_double_3 sun_dir; in val() local 90 sun_dir[2]=std::cos(sun_elev); in val() 115 vnl_double_3 sun_dir; in val() local [all …]
|
H A D | brad_illum_util.cxx | 785 vgl_vector_3d<double> sun_dir(std::sin(sun_az)*std::cos(sun_el), in brad_expected_radiance_chavez() local 789 double T_sun = std::exp(-atm.optical_depth_ / sun_dir.z()); in brad_expected_radiance_chavez() 797 vgl_vector_3d<double> const& sun_dir, in brad_expected_radiance_chavez() argument 804 double sun_dot_norm = dot_product(sun_dir, normal); in brad_expected_radiance_chavez() 822 vgl_vector_3d<double> sun_dir(std::sin(sun_az)*std::cos(sun_el), in brad_expected_reflectance_chavez() local 826 double T_sun = std::exp(-atm.optical_depth_ / sun_dir.z()); in brad_expected_reflectance_chavez() 834 vgl_vector_3d<double> const& sun_dir, in brad_expected_reflectance_chavez() argument 841 double sun_dot_norm = dot_product(sun_dir, normal); in brad_expected_reflectance_chavez() 888 vgl_vector_3d<double> sun_dir(std::sin(sun_az)*std::cos(sun_el), in brad_radiance_variance_chavez() local 892 double T_sun = std::exp(-atm.optical_depth_ / sun_dir.z()); in brad_radiance_variance_chavez() [all …]
|
H A D | brad_illum_util.h | 116 vgl_vector_3d<double> const& sun_dir, 130 vgl_vector_3d<double> const& sun_dir,
|
/dports/graphics/blender/blender-2.91.0/intern/sky/source/ |
H A D | sky_nishita.cpp | 192 float3 sun_dir, in single_scattering() argument 220 float mu = dot(ray_dir, sun_dir); in single_scattering() 238 if (!surface_intersection(P, sun_dir)) { in single_scattering() 239 float3 light_optical_depth = density_scale * ray_optical_depth(P, sun_dir); in single_scattering() 290 float3 sun_dir = geographical_to_direction(sun_elevation, 0.0f); in SKY_nishita_skymodel_precompute_texture() local 305 single_scattering(dir, sun_dir, cam_pos, air_density, dust_density, ozone_density, spectrum); in SKY_nishita_skymodel_precompute_texture() 357 float3 pix_bottom, pix_top, sun_dir; in SKY_nishita_skymodel_precompute_sun() local 362 sun_dir = geographical_to_direction(elevation_bottom, 0.0f); in SKY_nishita_skymodel_precompute_sun() 363 sun_radiation(sun_dir, altitude, air_density, dust_density, solid_angle, spectrum); in SKY_nishita_skymodel_precompute_sun() 365 sun_dir = geographical_to_direction(elevation_top, 0.0f); in SKY_nishita_skymodel_precompute_sun() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/cl/ |
H A D | update_phongs_functors.cl | 4 float4 sun_dir ={sin(0.325398)*cos(-3.69),sin(0.325398)*sin(-3.69),cos(0.325398),0}; 6 float4 sun_reflected_dir = sun_dir - 2*normal*dot(normal,sun_dir); 7 float diffuse = kd* fabs(dot(normal,sun_dir));
|
/dports/games/xray_re-tools/xray_re-tools-52721d2/sources/utils/weather_adjuster/ |
H A D | weather.h | 47 float sun_dir[2]; member
|
H A D | weather.inc | 201 M_GET_VAL_OR_RETERR(sect_p, val, key = "sun_dir"); 202 if (sscanf(val, "%f, %f", &ph_p->sun_dir[0], &ph_p->sun_dir[1]) != 2)
|
/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/svm/ |
H A D | svm_sky.h | 148 float3 sun_dir = geographical_to_direction(sun_elevation, sun_rotation + M_PI_2_F); in sky_radiance_nishita() local 149 float sun_dir_angle = precise_angle(dir, sun_dir); in sky_radiance_nishita()
|
/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/shaders/ |
H A D | node_sky_texture.osl | 146 vector sun_dir = geographical_to_direction(sun_elevation, sun_rotation + M_PI_2); 147 float sun_dir_angle = precise_angle(dir, sun_dir);
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/starfield/ |
H A D | starfield.cpp | 1156 vec3d sun_dir; in stars_draw_sun() local 1190 sun_dir = sun_pos; in stars_draw_sun() 1191 vm_vec_normalize(&sun_dir); in stars_draw_sun() 1195 …light_add_directional(&sun_dir, bm->i, bm->r, bm->g, bm->b, bm->spec_r, bm->spec_g, bm->spec_b, tr… in stars_draw_sun() 1293 vec3d sun_pos, sun_dir; in stars_draw_sun_glow() local 1323 sun_dir = sun_pos; in stars_draw_sun_glow() 1324 vm_vec_normalize(&sun_dir); in stars_draw_sun_glow()
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/starfield/ |
H A D | starfield.cpp | 1012 vec3d sun_dir; in stars_draw_sun() local 1046 sun_dir = sun_pos; in stars_draw_sun() 1047 vm_vec_normalize(&sun_dir); in stars_draw_sun() 1051 …light_add_directional(&sun_dir, bm->i, bm->r, bm->g, bm->b, bm->spec_r, bm->spec_g, bm->spec_b, tr… in stars_draw_sun() 1127 vec3d sun_pos, sun_dir; in stars_draw_sun_glow() local 1157 sun_dir = sun_pos; in stars_draw_sun_glow() 1158 vm_vec_normalize(&sun_dir); in stars_draw_sun_glow()
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/pro/processes/ |
H A D | boxm2_ocl_update_alpha_naa_process.cxx | 210 vgl_vector_3d<double> sun_dir(std::sin(sun_az)*std::cos(sun_el), in boxm2_ocl_update_alpha_naa_process() local
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/algo/ |
H A D | boxm2_ocl_render_expected_image_function.cxx | 639 vgl_vector_3d<double> sun_dir(std::sin(sun_az)*std::cos(sun_el), in render_expected_image_naa() local
|
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/xmerl/test/ |
H A D | xmerl_std_SUITE.erl | 33 -define(sun_dir,"sun"). macro
|
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/xmerl/test/ |
H A D | xmerl_std_SUITE.erl | 33 -define(sun_dir,"sun"). macro
|
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/xmerl/test/ |
H A D | xmerl_std_SUITE.erl | 33 -define(sun_dir,"sun"). macro
|
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/xmerl/test/ |
H A D | xmerl_std_SUITE.erl | 33 -define(sun_dir,"sun"). macro
|
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/xmerl/test/ |
H A D | xmerl_std_SUITE.erl | 33 -define(sun_dir,"sun"). macro
|
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/xmerl/test/ |
H A D | xmerl_std_SUITE.erl | 33 -define(sun_dir,"sun"). macro
|
/dports/lang/erlang/otp-OTP-24.1.7/lib/xmerl/test/ |
H A D | xmerl_std_SUITE.erl | 33 -define(sun_dir,"sun"). macro
|