Home
last modified time | relevance | path

Searched refs:dpdu (Results 1 – 25 of 28) 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)
170 ArbitraryMatrix(dpdu->x, dpdu->y, dpdu->z,
181 dpdu->x = t.matrix[0][0];
182 dpdu->y = t.matrix[0][1];
183 dpdu->z = t.matrix[0][2];
187 (void)VecNormalize(dpdu);
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;
248 if (dpdu)
249 (void)VecNormCross(&map->norm, pos, dpdu);
257 Vector *pos, *norm, *dpdu, *dpdv;
265 if (dpdu) {
[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;
192 if (dpdu) {
195 dpdu->x = -npos.y;
196 dpdu->y = npos.x;
197 dpdu->z = 0.;
198 VecTransform(dpdu, &cyl->trans.trans);
200 (void)VecNormalize(dpdu);
H A Dtorus.c257 TorusUV(torus, pos, norm, uv, dpdu, dpdv) in TorusUV() argument
259 Vector *pos, *norm, *dpdu, *dpdv;
281 if (dpdu) {
282 dpdu->x = -npos.y;
283 dpdu->y = npos.x;
284 dpdu->z = 0.;
285 VecTransform(dpdu, &torus->trans.trans);
286 (void)VecNormalize(dpdu);
307 VecCross(norm, dpdu, dpdv);
H A Dsphere.c163 SphereUV(sphere, pos, norm, uv, dpdu, dpdv) in SphereUV() argument
165 Vector *pos, *norm, *dpdu, *dpdv;
200 if (dpdu != (Vector *)0) {
201 dpdu->x = -realnorm.y;
202 dpdu->y = realnorm.x;
203 dpdu->z = 0.;
204 (void)VecNormalize(dpdu);
205 (void)VecNormCross(&realnorm, dpdu, dpdv);
H A Dcone.c237 ConeUV(cone, pos, norm, uv, dpdu, dpdv) in ConeUV() argument
239 Vector *pos, *norm, *dpdu, *dpdv;
270 if (dpdu) {
272 dpdu->x = -npos.y;
273 dpdu->y = npos.x;
274 dpdu->z = 0.;
275 VecTransform(dpdu, &cone->trans.trans);
276 VecTransform(dpdu, &cone->trans.trans);
277 (void)VecNormalize(dpdu);
H A Dtriangle.c127 triangle->dpdu, triangle->dpdv);
291 Vector *pos, *norm, *dpdu, *dpdv;
305 if (dpdu) {
307 *dpdu = tri->e[0];
308 (void)VecNormalize(dpdu);
312 *dpdu = *tri->dpdu;
378 TriangleSetdPdUV(p, t, dpdu, dpdv) in TriangleSetdPdUV() argument
447 dpdu->x = dpdu->y = dpdu->z = 0.;
461 VecSub(base, p[mid], dpdu);
463 VecSub(p[mid], base, dpdu);
[all …]
H A Dgeom.c326 PrimUV(prim, pos, norm, uv, dpdu, dpdv) in PrimUV() argument
328 Vector *pos, *norm, *dpdu, *dpdv;
336 if (dpdu) {
337 dpdu->y = dpdu->z = 0.;
338 dpdu->x = 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;
120 if (dpdu)
121 *dpdu = du;
H A Dpoly.c270 PolygonUV(poly, pos, norm, uv, dpdu, dpdv) in PolygonUV() argument
272 Vector *pos, *norm, *dpdu, *dpdv;
285 if (dpdu) {
286 dpdu->x = 1.;
287 dpdu->y = dpdu->z = 0.;
H A Ddisc.c136 DiscUV(disc, pos, norm, uv, dpdu, dpdv) in DiscUV() argument
138 Vector *pos, *norm, *dpdu, *dpdv;
165 if (dpdu) {
168 VecCross(dpdv, norm, dpdu);
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;
576 if (dpdu) {
577 dpdu->x = 1.;
578 dpdu->y = dpdv->z = 0.;
/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/geom/
H A Dgeom_subd_triangle.h112 float2 dpdu = uv[0] - uv[2]; in subd_triangle_attribute_float() local
123 float dsdu = dpdu.x; in subd_triangle_attribute_float()
124 float dtdu = dpdu.y; in subd_triangle_attribute_float()
251 float2 dpdu = uv[0] - uv[2]; in subd_triangle_attribute_float2() local
263 float dsdu = dpdu.x; in subd_triangle_attribute_float2()
264 float dtdu = dpdu.y; in subd_triangle_attribute_float2()
394 float2 dpdu = uv[0] - uv[2]; in subd_triangle_attribute_float3() local
405 float dsdu = dpdu.x; in subd_triangle_attribute_float3()
406 float dtdu = dpdu.y; in subd_triangle_attribute_float3()
548 float dsdu = dpdu.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()
156 VecCross(norm, dpdu, &tmp2);
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/modeling/material/
H A Dbumpmappingmodifier.cpp77 const Vector3d& dpdu = shading_point.get_dpdu(UVSet); in modify() local
117 const Vector3d displaced_dpdu = dpdu + m_amplitude * (dhdu * n); in modify()
/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
214 dpdu = lerp(dp0du,dp1du,v);
349 const vfloat4 dpdu = LR.eval_dt(u);
350 return Vec2fa(lerp(shuffle<0,1,0,1>(dpdu),shuffle<2,3,2,3>(dpdu),v));
359 … __forceinline void eval(const float u, const float v, Vec2fa& p, Vec2fa& dpdu, Vec2fa& dpdv) const
363 dpdu = Vec2fa(lerp(shuffle<0,1,0,1>(dp0du),shuffle<2,3,2,3>(dp0du),v));
/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/core/physics/
H A DEos.cpp95 Float dpdu = a * rho + b * rho / sqr(denom); in evaluate() local
97 const Float csc = dpdrho + dpdu * pc / (rho * rho); in evaluate()
105 dpdu = a * rho + alphaExp * b * rho / sqr(denom); in evaluate()
109 Float cse = dpdrho + dpdu * pe / (rho * rho); in evaluate()
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/kernel/lighting/
H A Dlighttypes.cpp387 const Vector3d dpdu(-TwoPi<double>() * n.y, TwoPi<double>() + n.x, 0.0); in make_shading_point() local
388 const Vector3d dpdv = cross(dpdu, n); in make_shading_point()
400 dpdu, in make_shading_point()
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/renderer/kernel/intersection/
H A Dintersector.cpp397 const Vector3d& dpdu, in make_procedural_surface_shading_point() argument
428 normalize(dpdu), in make_procedural_surface_shading_point()
435 shading_point.m_dpdu = dpdu; in make_procedural_surface_shading_point()
H A Dintersector.h132 const foundation::Vector3d& dpdu,
/dports/net-mgmt/librenms/librenms-21.5.1/mibs/socomec/
H A DSOCOMECPDU-MIB.mib36 -- dpdu Ident group
98 -- dpdu Output group
164 -- dpdu Alarm group
333 -- dpdu Environment group
538 -- dpdu Trap group
/dports/net-mgmt/observium/observium/mibs/socomec/
H A DSOCOMECPDU-MIB36 -- dpdu Ident group
98 -- dpdu Output group
164 -- dpdu Alarm group
333 -- dpdu Environment group
538 -- dpdu Trap group

12