jasonyzhang / RayDiffusion

Code for "Cameras as Rays"
MIT License
483 stars 23 forks source link

About formula derivation #13

Closed yuyu0927 closed 4 months ago

yuyu0927 commented 5 months ago

Hi,

Amazing work! Could you breifly introduce how to get equation (3) in your paper? Or You can just tell me what references I can look up. Thanks!!!

jasonyzhang commented 4 months ago

In equation 3, d is the unprojected ray through each u. The moment can be computed using o x d. We use the camera center as our o since every ray will pass through the camera center (-R.T @ t).

These notes are very helpful for understanding plucker coordinates: https://faculty.sites.iastate.edu/jia/files/inline-files/plucker-coordinates.pdf