Closed qhanson closed 1 year ago
Thank you Hanson! And sorry for the late reply!! This is very insightful observation! I was using a fixed phone, Pixel 3 during the toolkit writing and completely ignores other phone models. Will fix it in future variation of Depth Lab and thank you for your thoughtful comments (feel free to create a pull request to fix it!)
hi, I observe that your implementation ignore the camera intricsic parameters at https://github.com/googlesamples/arcore-depth-lab/blob/53b103ea1f39221f95b89e1c675ed11debc72ca4/Assets/ARRealismDemos/Relighting/Shaders/PointsRelightingCore.cginc#L115-L131
How much is the relighting results related to this calculation. As the pinhole camera is one approximation of world imaging and the vertical and horizitional focal length most equal,
calculating
W
to perform raymarching may be not neccseary at all.