Caoang327 / HexPlane

Official code for CVPR 2023 Paper, HexPlane: A Fast Representation for Dynamic Scenes
MIT License
242 stars 24 forks source link

How to calculate scene_bbox_min/max in my own data #2

Closed Ben-chen-alt closed 1 year ago

Ben-chen-alt commented 1 year ago

How to calculate scene_bbox_min/max in my own data?

Caoang327 commented 1 year ago

Hi. The scene bbox_min/max could be calculated based on near/far values for each input view. See this function about how to compute it based on near/far values https://github.com/Caoang327/HexPlane/blob/35efe64f7fdcba48c432eb0b5d58a5cb5b05ab4c/hexplane/dataloader/dnerf_dataset.py#L132.