tinyusdz icon indicating copy to clipboard operation
tinyusdz copied to clipboard

[Proposal] Support PhysicalCamera(LensSystem)

Open syoyo opened this issue 1 year ago • 3 comments

To support Physical Camera(Realistic Camera in PBRT-v3 https://pbr-book.org/3ed-2018/Camera_Models/Realistic_Cameras), we at least want to support describing lensing system data in GeomCamera.

To support lens system, spectral color support is required: https://github.com/syoyo/tinyusdz/issues/57

Lens system

  • [ ] Surface definition
    • Includes Aspherical lens surface
  • [ ] Glass material
    • [ ] Spectral IOR
    • [ ] Refractive index equation(e.g. Sellmeier).
  • [ ] Coating
    • Spectral transmittance
    • Angle dependency?
  • [ ] Aperture
    • [ ] Analytical blade shape ?
    • [ ] Image or polygon shape(e.g. for coded aperture).
  • [ ] Barrel
    • [ ] Polygon shape?

Bonus

  • [ ] Support reading lens system data from (legacy) ZEMAX format
  • [ ] Support reading lens system data from CodeV format?

References

  • OpTaliX's manual has good info about lens surface data https://www.optenso.com/download/download.html

syoyo avatar Feb 17 '24 16:02 syoyo

Please see also the usd-wg-camera proposal: https://github.com/PixarAnimationStudios/OpenUSD-proposals/pull/41

meshula avatar Apr 05 '24 02:04 meshula

👀

@meshula Is float2[] array(pair of [wavelength, value]) getting common representation for spectral value in USD?

syoyo avatar Apr 05 '24 19:04 syoyo

It's the simplest idea. I was wondering also if there should be something more sophisticated there.

meshula avatar Apr 09 '24 03:04 meshula