Searched refs:shootingDirection (Results 1 – 8 of 8) sorted by relevance
/dports/graphics/povray37/povray-3.7.0.10/source/backend/lighting/ |
H A D | photonshootingtask.cpp | 210 ShootingDirection shootingDirection(combo.light,combo.target); in ShootPhotonsAtObject() local 211 shootingDirection.compute(); in ShootPhotonsAtObject() 247 shootingDirection.recomputeForAreaLight(ray,area_x,area_y); in ShootPhotonsAtObject() 263 VDot(a,ray.Direction, shootingDirection.toctr); in ShootPhotonsAtObject() 266 VAdd(ray.Origin, shootingDirection.ctr, v); in ShootPhotonsAtObject() 269 VScale(v,shootingDirection.left,jittheta); in ShootPhotonsAtObject() 293 shootingDirection.v[X] = -st*shootingDirection.left[X] + ct*shootingDirection.toctr[X]; in ShootPhotonsAtObject() 294 shootingDirection.v[Y] = -st*shootingDirection.left[Y] + ct*shootingDirection.toctr[Y]; in ShootPhotonsAtObject() 295 shootingDirection.v[Z] = -st*shootingDirection.left[Z] + ct*shootingDirection.toctr[Z]; in ShootPhotonsAtObject() 299 Compute_Axis_Rotation_Transform(&Trans,shootingDirection.toctr,jitphi); in ShootPhotonsAtObject() [all …]
|
H A D | photonestimationtask.cpp | 174 ShootingDirection shootingDirection(Light,Object); in EstimatePhotonsForObjectAndLight() local 175 shootingDirection.compute(); in EstimatePhotonsForObjectAndLight() 183 renderDataPtr->photonSpread /= shootingDirection.dist; in EstimatePhotonsForObjectAndLight() 187 …DBL x=shootingDirection.rad / (combo.target->Ph_Density*GetSceneData()->photonSettings.surfaceSepa… in EstimatePhotonsForObjectAndLight()
|
H A D | photons.cpp | 2753 shootingDirection.compute(); in computeAnglesAndDeltas() 2761 photonSpread /= shootingDirection.dist; in computeAnglesAndDeltas() 2791 maxtheta = shootingDirection.rad; in computeAnglesAndDeltas() 2793 else if (shootingDirection.dist>=shootingDirection.rad) in computeAnglesAndDeltas() 2795 maxtheta = asin(shootingDirection.rad/shootingDirection.dist); in computeAnglesAndDeltas() 2800 if (fabs(shootingDirection.dist)<EPSILON) in computeAnglesAndDeltas() 2802 Make_Vector(shootingDirection.up, 1,0,0); in computeAnglesAndDeltas() 2803 Make_Vector(shootingDirection.left, 0,1,0); in computeAnglesAndDeltas() 2804 Make_Vector(shootingDirection.toctr, 0,0,1); in computeAnglesAndDeltas() 2806 shootingDirection.dist = shootingDirection.rad; in computeAnglesAndDeltas()
|
H A D | photons.h | 355 …o(LightSource *light, ObjectPtr target):light(light),target(target),shootingDirection(light,target… in LightTargetCombo() 363 ShootingDirection shootingDirection; variable
|
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/backend/lighting/ |
H A D | photonshootingtask.cpp | 218 ShootingDirection shootingDirection(combo.light,combo.target); in ShootPhotonsAtObject() local 219 shootingDirection.compute(); in ShootPhotonsAtObject() 256 shootingDirection.recomputeForAreaLight(ray,area_x,area_y); in ShootPhotonsAtObject() 272 a = dot(ray.Direction, shootingDirection.toctr); in ShootPhotonsAtObject() 273 … v = ray.Direction * (-a*shootingDirection.dist); /* MAYBE NEEDS TO BE NEGATIVE! */ in ShootPhotonsAtObject() 275 ray.Origin = shootingDirection.ctr + v; in ShootPhotonsAtObject() 278 v = shootingDirection.left * jittheta; in ShootPhotonsAtObject() 302 Vector3d v = -st * shootingDirection.left + ct * shootingDirection.toctr; in ShootPhotonsAtObject() 306 Compute_Axis_Rotation_Transform(&Trans,shootingDirection.toctr,jitphi); in ShootPhotonsAtObject()
|
H A D | photonestimationtask.cpp | 183 ShootingDirection shootingDirection(Light,Object); in EstimatePhotonsForObjectAndLight() local 184 shootingDirection.compute(); in EstimatePhotonsForObjectAndLight() 192 renderDataPtr->photonSpread /= shootingDirection.dist; in EstimatePhotonsForObjectAndLight() 196 …DBL x=shootingDirection.rad / (combo.target->Ph_Density*GetSceneData()->photonSettings.surfaceSepa… in EstimatePhotonsForObjectAndLight()
|
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/core/lighting/ |
H A D | photons.cpp | 2631 shootingDirection.compute(); in computeAnglesAndDeltas() 2639 photonSpread /= shootingDirection.dist; in computeAnglesAndDeltas() 2669 maxtheta = shootingDirection.rad; in computeAnglesAndDeltas() 2671 else if (shootingDirection.dist>=shootingDirection.rad) in computeAnglesAndDeltas() 2673 maxtheta = asin(shootingDirection.rad/shootingDirection.dist); in computeAnglesAndDeltas() 2678 if (fabs(shootingDirection.dist)<EPSILON) in computeAnglesAndDeltas() 2680 shootingDirection.up = Vector3d(1.0, 0.0, 0.0); in computeAnglesAndDeltas() 2681 shootingDirection.left = Vector3d(0.0, 1.0, 0.0); in computeAnglesAndDeltas() 2682 shootingDirection.toctr = Vector3d(0.0, 0.0, 1.0); in computeAnglesAndDeltas() 2684 shootingDirection.dist = shootingDirection.rad; in computeAnglesAndDeltas()
|
H A D | photons.h | 365 …o(LightSource *light, ObjectPtr target):light(light),target(target),shootingDirection(light,target… in LightTargetCombo() 373 ShootingDirection shootingDirection; variable
|