Skip to content

Conversation

@jnhwkim
Copy link

@jnhwkim jnhwkim commented Jun 16, 2023

This pull request addresses two issues that were identified in the RayMarcher and Volume Rendering code:

  1. Random Order Aggregation in RayMarcher: Previously, the samples were aggregated in random order during the forward pass. To ensure correct calculations of dL_drays_o and dL_drays_d using rays_a, I have introduced a sorting mechanism to organize the aggregation process appropriately. Although this fix can be improved using CUDA implementation, it still performs well with reasonable speed.

  2. Incorrect Gradient from Opacity: There was a problem with the gradient calculation from Opacity, which has now been rectified. The changes align the gradient calculation with the forward pass, ensuring accurate results. These fixes enhance the functionality and accuracy of the RayMarcher implementation.

This pull request addresses two issues that were identified in the RayMarcher code:

1. Random Order Aggregation in RayMarcher: Previously, the samples were being aggregated in a random order during the forward pass. To ensure correct calculations of dL_drays_o and dL_drays_d using rays_a, I have introduced a sorting mechanism to organize the aggregation process appropriately. Although this fix can be improved using CUDA implementation, it still perform well with reasonable speed.

2. Incorrect Gradient from Opacity: There was a problem with the gradient calculation from opacity, which has now been rectified. The changes made align the gradient calculation with the forward pass, ensuring accurate results.
These fixes enhance the functionality and accuracy of the RayMarcher implementation.
@jnhwkim jnhwkim mentioned this pull request Jun 16, 2023
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

Successfully merging this pull request may close these issues.

1 participant