yxuhan / AdaMPI

[SIGGRAPH 2022] Single-View View Synthesis in the Wild with Learned Adaptive Multiplane Images
218 stars 24 forks source link

Basic zoom without circle effect #22

Closed C00reNUT closed 9 months ago

C00reNUT commented 9 months ago

Hello,

may I ask you how and which parameters need to be changes to achieve simple zoom?

yxuhan commented 9 months ago

Hi, you can comment out the camera translation on the x and y axis, while only keeping the z-axis translation.

C00reNUT commented 9 months ago

Thank you! Would you be so kind to reference the file and code line?

yxuhan commented 9 months ago

https://github.com/yxuhan/AdaMPI/blob/125f7c23315afe8f33f7b799d7bfcc66a9990ab4/utils/utils.py#L36-L37

You can try to comment out these lines. I have not checked carefully; hope it should work.