Home
last modified time | relevance | path

Searched refs:sun_dir (Results 1 – 21 of 21) sorted by relevance

/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/cl/onl/
H A Dphongs_model.cl35 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 Dbrad_phongs_model_est.cxx27 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 Dbrad_illum_util.cxx785 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 Dbrad_illum_util.h116 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 Dsky_nishita.cpp192 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 Dupdate_phongs_functors.cl4 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 Dweather.h47 float sun_dir[2]; member
H A Dweather.inc201 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 Dsvm_sky.h148 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 Dnode_sky_texture.osl146 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 Dstarfield.cpp1156 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 Dstarfield.cpp1012 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 Dboxm2_ocl_update_alpha_naa_process.cxx210 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 Dboxm2_ocl_render_expected_image_function.cxx639 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 Dxmerl_std_SUITE.erl33 -define(sun_dir,"sun"). macro
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/xmerl/test/
H A Dxmerl_std_SUITE.erl33 -define(sun_dir,"sun"). macro
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/xmerl/test/
H A Dxmerl_std_SUITE.erl33 -define(sun_dir,"sun"). macro
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/xmerl/test/
H A Dxmerl_std_SUITE.erl33 -define(sun_dir,"sun"). macro
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/xmerl/test/
H A Dxmerl_std_SUITE.erl33 -define(sun_dir,"sun"). macro
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/xmerl/test/
H A Dxmerl_std_SUITE.erl33 -define(sun_dir,"sun"). macro
/dports/lang/erlang/otp-OTP-24.1.7/lib/xmerl/test/
H A Dxmerl_std_SUITE.erl33 -define(sun_dir,"sun"). macro