|
|
if u changed ydeg to zdeg,
auto tilt-correction for left-side display,
might look something like this.
#macro drwtext()
#local pnt = rotation(radians(camang/2.04),camup,cameye)*10+campos;
#local rowh = camang * 0.0036;
#declare FontSize = .8;
#local s = array[4] {
concat("Azimuth ",str(360-rascension(cameye),0,2)),
concat("Declination ",str(declination(cameye),0,2)),
concat("CamAng ",str(camang,0,1)),
concat("Time ",date("%H:%M:%S"))
}
#local strtn = 1; // start negative
#local i = -strtn;
#while (i < 3)
#local d = (i*-0.5 - 0.5)*(camang/80);
label(s[i+strtn],pnt,rowh * i,0,0,0,d)
#local i = i+1;
#end
#end
Post a reply to this message
|
|