albertpumarola / D-NeRF

MIT License
523 stars 67 forks source link

"Time" values in the transforms_train.json #16

Open around-star opened 1 year ago

around-star commented 1 year ago

Hi, Thanks for the amazing work. I was wondering how to get the time values ranging from [0,1]? Suppose I have n (1 to n) number of frames. Is the time for the i-th frame be (frame_i -1) / (n-1) (considering the time between consecutive frames is constant/same)?

azzarelli commented 1 year ago

If you look at the transform json files it will help.

The tansform json files list time values from 0.0 to 1.0, where the first and last values are 0.0 and 1.0 so your equation is seems correct if frames are consecutively spaced.