nerf_pl icon indicating copy to clipboard operation
nerf_pl copied to clipboard

render_path_spiral

Open hengfei-wang opened this issue 2 years ago • 1 comments

Hi,

I saw there are some differences between your code and orignal nerf code in render_path_spirial.

original: c = np.dot(c2w[:3,:4], np.array([np.cos(theta), -np.sin(theta), -np.sin(theta*zrate), 1.]) * rads)

your code: center = np.array([np.cos(t), -np.sin(t), -np.sin(0.5*t)]) * radii

Can you explain why they do np.dot between c2w[:3,:4] and np.array([np.cos(theta), -np.sin(theta), -np.sin(theta*zrate), 1.]) * rads) ?

Thanks

hengfei-wang avatar Jan 17 '22 11:01 hengfei-wang

@hengfei-wang Have you solved it? I have the same question

xxmy7 avatar Aug 08 '22 14:08 xxmy7