Page MenuHome

BackgroundImages: use camera shift

Authored by Jeroen Bakker (jbakker) on Jul 11 2019, 2:29 PM.



Seems I forgot to implement the camera shift settings.

Diff Detail

rB Blender
T66705 (branched from master)
Build Status
Buildable 4026
Build 4026: arc lint + arc unit

Event Timeline

Why multiply bgpic->offset[0] by 2? Was the offset also wrong without camera shift?

Yes. Now the translation is more inline with 279. There is one difference I saw and that was that translation over the Y axis now uses the aspect of the image. In 279 this was ignored.

This revision is now accepted and ready to land.Jul 11 2019, 6:10 PM

Current master already supports camera background images with shifted camera.