dPdS and dPdt in the Shading context are the tangents
of a point on a surface relative to the parametric s and t coordinates.
And the global variable N can also be represented
as a cross(dPdS and dPdt) ?????
It would be nice to have global variables dPds and dPdt
in the VEX SOP context, they would be very useful while
working with NURBS curve/surface.
Currently to calculate them I use “AttribCreate SOP” with “primduv” expression:
for dPds:
x: primduv(“../” + opinput(“.”, 0),$PR,“P”,0,$MAPU,$MAPV,1,0)
y: primduv(“../” + opinput(“.”, 0),$PR,“P”,1,$MAPU,$MAPV,1,0)
z: primduv(“../” + opinput(“.”, 0),$PR,“P”,2,$MAPU,$MAPV,1,0)
for dPdt:
x: primduv(“../” + opinput(“.”, 0),$PR,“P”,0,$MAPU,$MAPV,0,1)
y: primduv(“../” + opinput(“.”, 0),$PR,“P”,1,$MAPU,$MAPV,0,1)
z: primduv(“../” + opinput(“.”, 0),$PR,“P”,2,$MAPU,$MAPV,0,1)
However, the object has to have uv coordinates.

Which ones should I use?
(Texture SOP with a “uniform spline” texture type?)
Is there some direct way to access the parametric s and t directly
in the expressions…
S and t are the “build in” surface property, right?