XChenZ / havatar

[TOG 2023] HAvatar: High-fidelity Head Avatar via Facial Model ConditionedNeural Radiance Field
https://www.liuyebin.com/havatar/
Other
123 stars 10 forks source link

Changing Rendering Viewing Angle #7

Closed KaneLindsay closed 7 months ago

KaneLindsay commented 8 months ago

How can I modify the viewing angle from front-center for rendering?

XChenZ commented 8 months ago

You can change the view_num for free-view rendering. https://github.com/XChenZ/havatar/blob/98b3fe53b6191a643da085d46e7c1cf9429934d2/data_preprocessing/fit_video.py#L421C5-L421C29

If you want to render with a fixed viewpoint, you could fix the angle here (https://github.com/XChenZ/havatar/blob/98b3fe53b6191a643da085d46e7c1cf9429934d2/data_preprocessing/fit_video.py#L457)