Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A question about ray-casting triangulation. #9

Open
ShilangChen1011 opened this issue Sep 3, 2023 · 1 comment
Open

A question about ray-casting triangulation. #9

ShilangChen1011 opened this issue Sep 3, 2023 · 1 comment

Comments

@ShilangChen1011
Copy link

This is a very good work. I am currently looking at the ray casting triangulation part in the code, can you tell me which part of the original Instant-NGP code you modified, and be specific? Thanks!

@MarvinChung
Copy link
Owner

Many modifications have been made to the code, and I'd like to highlight some specific ones.

In the train section, there are two key processes:

Training Preparation for Nerf (training_prep_nerf): This process involves preparing the density grid and handling the density_grid_sample_ct, which stores the sample count for each voxel.

Nerf Training (train_nerf): This step includes both sampling and training. When a ray traverses a voxel that is not considered empty, we perform point sampling on the ray's position and store this information for later loss computation. During the loss computation, we examine the sampled points. If the weight exceeds a certain threshold, we classify the point as part of the surface. Subsequently, we increment the voxel count for ray casting triangulation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants