autonomousvision / gaussian-opacity-fields

Gaussian Opacity Fields: Efficient and Compact Surface Reconstruction in Unbounded Scenes
https://niujinshuchong.github.io/gaussian-opacity-fields/
Other
559 stars 26 forks source link

Question about min_value #43

Closed YanhaoZhang closed 1 month ago

YanhaoZhang commented 1 month ago

Thanks a lot for releasing the code. I have two quick questions about the following lines in forward.cu:

double min_value = -(BB/AA) * (BB/4.) + CC;
float power = -0.5f * min_value;  
if (power > 0.0f){
    power = 0.0f;
}

My understanding is that min_value is that G(t) = alpha_k exp(power ). Why power is set to zero if it is positive? power > 0 means -(BB/AA) * (BB/4.) + CC<0, i.e., BB^2-4AA*CC>0. Then why the effect of power is ignored in this case?

Thanks a lot.