Files
cnx_vinyl/docs
grabowski ed987b4375 Fix render camera orientation so world up is up in frame
setViewDirection leaves camera roll unconstrained, so the aerials came
out with a tilted horizon. The camera orientation is now built explicitly
with world +Z projected as the frame up-vector.

Two FreeCAD quirks had to be worked around. setCameraOrientation() goes
through an animated setter (UseAnimation defaults on), so saveImage fired
mid-transition and the roll drifted; setting the Coin camera node
directly avoids the animation entirely. The first call after a standard
view also needs a second application to take, so each render now verifies
up.z equals cos(elevation) before saving and retries if not.

Also tightened framing 20%, since fitAll was zooming out to include the
road strip that runs well past the parcel.
2026-07-30 01:12:28 +07:00
..
2026-07-17 15:54:53 +07:00