hbb1 / torch-splatting

A pure pytorch implementation of 3D gaussian Splatting
296 stars 25 forks source link

How is the training data generated from pointcloud? #5

Closed XLY43 closed 10 months ago

XLY43 commented 10 months ago

Hi are there any plans to release the code for generating the training images from point cloud? Thanks!

Edit: Did you by any chance use this Blender tool? https://blendermarket.com/products/blendernerf

hbb1 commented 10 months ago

Hi, I actually use the script from here https://github.com/openai/point-e/blob/main/point_e/evals/scripts/blender_script.py.
I will update the files in this commit https://github.com/hbb1/torch-splatting/commit/e2d78419edca7847cc937376ed893e939f76a572 You should run blender_script.py followed by another file to convert the outputs to the json formats.

XLY43 commented 10 months ago

I see. Thanks a lot for sharing!

XLY43 commented 10 months ago

Just following up as a quick question, are the poses generated from this compatible with the original nerf's synthetic data? ie: https://drive.google.com/drive/folders/13kQggMKvKDvB6v9amHZfjENyZRIdHF1L

hbb1 commented 10 months ago

I am not sure. You can check the Camera class. I guess it gives all you need to convert to nerf's synthetic data (focal, pose, ...).

XLY43 commented 10 months ago

Okay I'll do some digging from there. Thanks a lot!