Module: tfg.math.spherical_harmonics
Stay organized with collections
Save and categorize content based on your preferences.
This module implements routines required for spherical harmonics lighting.
Functions
evaluate_legendre_polynomial(...)
: Evaluates the Legendre polynomial of degree l and order m at x.
evaluate_spherical_harmonics(...)
: Evaluates a point sample of a Spherical Harmonic basis function.
generate_l_m_permutations(...)
: Generates permutations of degree l and order m for spherical harmonics.
generate_l_m_zonal(...)
: Generates l and m coefficients for zonal harmonics.
integration_product(...)
: Computes the integral of harmonics1.harmonics2 over the sphere.
rotate_zonal_harmonics(...)
: Rotates zonal harmonics.
tile_zonal_coefficients(...)
: Tiles zonal coefficients.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-08-09 UTC.
[null,null,["Last updated 2021-08-09 UTC."],[],[],null,["# Module: tfg.math.spherical_harmonics\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/math/spherical_harmonics.py) |\n\nThis module implements routines required for spherical harmonics lighting.\n\nFunctions\n---------\n\n[`evaluate_legendre_polynomial(...)`](../../tfg/math/spherical_harmonics/evaluate_legendre_polynomial): Evaluates the Legendre polynomial of degree l and order m at x.\n\n[`evaluate_spherical_harmonics(...)`](../../tfg/math/spherical_harmonics/evaluate_spherical_harmonics): Evaluates a point sample of a Spherical Harmonic basis function.\n\n[`generate_l_m_permutations(...)`](../../tfg/math/spherical_harmonics/generate_l_m_permutations): Generates permutations of degree l and order m for spherical harmonics.\n\n[`generate_l_m_zonal(...)`](../../tfg/math/spherical_harmonics/generate_l_m_zonal): Generates l and m coefficients for zonal harmonics.\n\n[`integration_product(...)`](../../tfg/math/spherical_harmonics/integration_product): Computes the integral of harmonics1.harmonics2 over the sphere.\n\n[`rotate_zonal_harmonics(...)`](../../tfg/math/spherical_harmonics/rotate_zonal_harmonics): Rotates zonal harmonics.\n\n[`tile_zonal_coefficients(...)`](../../tfg/math/spherical_harmonics/tile_zonal_coefficients): Tiles zonal coefficients."]]