Home
last modified time | relevance | path

Searched refs:dpdv (Results 1 – 25 of 32) sorted by relevance

12

/dports/graphics/rayshade/rayshade.4.0/libray/libtext/
H A Dtexture.c124 TextToUV(mapping, prim, pos, norm, u, v, dpdu, dpdv) in TextToUV() argument
127 Vector *pos, *norm, *dpdu, *dpdv;
148 ApplyMapping(mapping, prim, &ptmp, norm, &uv, dpdu, dpdv);
164 if (dpdu == (Vector *)NULL || dpdv == (Vector *)NULL)
171 dpdv->x, dpdv->y, dpdv->z,
184 dpdv->x = t.matrix[1][0];
185 dpdv->y = t.matrix[1][1];
186 dpdv->z = t.matrix[1][2];
188 (void)VecNormalize(dpdv);
H A Dmapping.c151 UVMapping(map, obj, pos, norm, uv, dpdu, dpdv) in UVMapping() argument
155 Vector *pos, *norm, *dpdu, *dpdv;
157 PrimUV(obj, pos, norm, uv, dpdu, dpdv);
161 SphereMapping(map, obj, pos, norm, uv, dpdu, dpdv) in SphereMapping() argument
165 Vector *pos, *norm, *dpdu, *dpdv;
219 Vector *pos, *norm, *dpdu, *dpdv;
246 if (dpdv)
247 *dpdv = map->norm;
257 Vector *pos, *norm, *dpdu, *dpdv;
268 if (dpdv) {
[all …]
H A Dstripe.c49 Vector dpdu, dpdv; local
52 TextToUV(stripe->mapping, prim, pos, gnorm, &u, &v, &dpdu, &dpdv);
128 MakeBump(norm, &dpdu, &dpdv, fu, fv);
H A Dimagetext.c108 Vector dpdu, dpdv, ntmp; local
117 &dpdu, &dpdv);
218 MakeBump(norm, &dpdu, &dpdv,
/dports/graphics/rayshade/rayshade.4.0/libray/libobj/
H A Dcylinder.c169 CylinderUV(cyl, pos, norm, uv, dpdu, dpdv) in CylinderUV() argument
171 Vector *pos, *norm, *dpdu, *dpdv;
193 dpdv->x = dpdv->y = 0.;
194 dpdv->z = 1.;
199 VecTransform(dpdv, &cyl->trans.trans);
201 (void)VecNormalize(dpdv);
H A Dtriangle.c127 triangle->dpdu, triangle->dpdv);
289 TriangleUV(tri, pos, norm, uv, dpdu, dpdv) in TriangleUV() argument
291 Vector *pos, *norm, *dpdu, *dpdv;
309 VecSub(tri->p[0], *pos, dpdv);
310 (void)VecNormalize(dpdv);
313 *dpdv = *tri->dpdv;
378 TriangleSetdPdUV(p, t, dpdu, dpdv) in TriangleSetdPdUV() argument
407 dpdv->x = dpdv->y = dpdv->z = 0.;
421 VecSub(base, p[mid], dpdv);
423 VecSub(p[mid], base, dpdv);
[all …]
H A Dgeom.c326 PrimUV(prim, pos, norm, uv, dpdu, dpdv) in PrimUV() argument
328 Vector *pos, *norm, *dpdu, *dpdv;
340 if (dpdv) {
341 dpdv->x = dpdv->z = 0.;
342 dpdv->y = 1.;
345 (*prim->methods->uv)(prim->obj,pos,norm,uv,dpdu,dpdv);
H A Dplane.c107 PlaneUV(plane, pos, norm, uv, dpdu, dpdv) in PlaneUV() argument
109 Vector *pos, *norm, *dpdu, *dpdv;
122 if (dpdv)
123 *dpdv = dv;
H A Dtorus.c257 TorusUV(torus, pos, norm, uv, dpdu, dpdv) in TorusUV() argument
259 Vector *pos, *norm, *dpdu, *dpdv;
306 if (dpdv) {
307 VecCross(norm, dpdu, dpdv);
308 VecTransform(dpdv, &torus->trans.trans);
309 (void)VecNormalize(dpdv);
H A Ddisc.c136 DiscUV(disc, pos, norm, uv, dpdu, dpdv) in DiscUV() argument
138 Vector *pos, *norm, *dpdu, *dpdv;
166 VecSub(*pos, disc->pos, dpdv);
168 VecCross(dpdv, norm, dpdu);
H A Dpoly.c270 PolygonUV(poly, pos, norm, uv, dpdu, dpdv) in PolygonUV() argument
272 Vector *pos, *norm, *dpdu, *dpdv;
288 dpdv->x = dpdv->z = 0.;
289 dpdv->y = 1.;
H A Dcone.c237 ConeUV(cone, pos, norm, uv, dpdu, dpdv) in ConeUV() argument
239 Vector *pos, *norm, *dpdu, *dpdv;
271 *dpdv = npos;
278 (void)VecNormalize(dpdv);
H A Dsphere.c163 SphereUV(sphere, pos, norm, uv, dpdu, dpdv) in SphereUV() argument
165 Vector *pos, *norm, *dpdu, *dpdv;
205 (void)VecNormCross(&realnorm, dpdu, dpdv);
H A Dtriangle.h40 *dpdu, *dpdv; /* U and V direction vectors */ member
H A Dhf.c569 HfUV(hf, pos, norm, uv, dpdu, dpdv) in HfUV() argument
571 Vector *pos, *norm, *dpdu, *dpdv;
578 dpdu->y = dpdv->z = 0.;
579 dpdv->x = dpdv->z = 0.;
580 dpdv->y = 1.;
/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/geom/
H A Dgeom_subd_triangle.h113 float2 dpdv = uv[1] - uv[2]; in subd_triangle_attribute_float() local
125 float dsdv = dpdv.x; in subd_triangle_attribute_float()
126 float dtdv = dpdv.y; in subd_triangle_attribute_float()
252 float2 dpdv = uv[1] - uv[2]; in subd_triangle_attribute_float2() local
265 float dsdv = dpdv.x; in subd_triangle_attribute_float2()
266 float dtdv = dpdv.y; in subd_triangle_attribute_float2()
395 float2 dpdv = uv[1] - uv[2]; in subd_triangle_attribute_float3() local
407 float dsdv = dpdv.x; in subd_triangle_attribute_float3()
408 float dtdv = dpdv.y; in subd_triangle_attribute_float3()
550 float dsdv = dpdv.x; in subd_triangle_attribute_float4()
[all …]
/dports/graphics/rayshade/rayshade.4.0/libray/libcommon/
H A Dvecmath.c148 MakeBump(norm, dpdu, dpdv, fu, fv) in MakeBump() argument
149 Vector *norm, *dpdu, *dpdv; /* normal, surface derivatives */ in MakeBump()
154 VecCross(norm, dpdv, &tmp1);
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/modeling/material/
H A Dbumpmappingmodifier.cpp78 const Vector3d& dpdv = shading_point.get_dpdv(UVSet); in modify() local
118 const Vector3d displaced_dpdv = dpdv + m_amplitude * (dhdv * n); in modify()
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/src/tpx/
H A DSub.cpp773 double dpdv = (Pmax - Pmin)/(Vmax - Vmin); in BracketSlope() local
776 dv = dvbf*(Pressure - P_here)/dpdv; in BracketSlope()
808 double dpdv = (Pp() - P_here)/dv; in set_TPp() local
809 if (dpdv > 0.0) { in set_TPp()
829 if (dpdv == 0.0) { in set_TPp()
833 dv = (Pressure - P_here)/dpdv; in set_TPp()
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/kernel/intersection/
H A Dintersector.cpp398 const Vector3d& dpdv) const in make_procedural_surface_shading_point()
429 normalize(dpdv)); in make_procedural_surface_shading_point()
436 shading_point.m_dpdu = dpdv; in make_procedural_surface_shading_point()
H A Dintersector.h133 const foundation::Vector3d& dpdv) const;
/dports/graphics/embree/embree-3.13.2/kernels/subdiv/
H A Dlinear_bezier_patch.h209 __forceinline void eval(const float u, const float v, V& p, V& dpdu, V& dpdv) const
215 dpdv = p1-p0;
359 … __forceinline void eval(const float u, const float v, Vec2fa& p, Vec2fa& dpdu, Vec2fa& dpdv) const
364 dpdv = Vec2fa(shuffle<2,3,2,3>(p0)-shuffle<0,1,0,1>(p0));
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/kernel/lighting/
H A Dlighttypes.cpp388 const Vector3d dpdv = cross(dpdu, n); in make_shading_point() local
401 dpdv); in make_shading_point()
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/kernel/shading/
H A Dshadingpoint.cpp643 const Vector3d& dpdv = get_dpdv(0); in compute_screen_space_partial_derivatives() local
649 static_cast<float>(dpdv[axis0]), in compute_screen_space_partial_derivatives()
650 static_cast<float>(dpdv[axis1])); in compute_screen_space_partial_derivatives()
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/src/thermo/
H A DMixtureFugacityTP.cpp548 double dpdv = dpdVCalc(t, molarVol, presCalc); in phaseState() local
549 if (dpdv < 0.0) { in phaseState()

12