Skip to content
BSDF plotting scripts
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example_data Initial commit Apr 21, 2019
README.md
latlong.pdf
latlong.py
polar.pdf
polar.py

README.md

bsdfplot

This repository contains simple Python scripts to create nice looking BSDF plots.

Details

Plots are designed to visualize the outgoing domain of a BSDF, parameterized via spherical coordinates (theta from 0 - 180˚ and phi from 0 - 360˚), for a fixed incident direction. The expected data format is a 2d NumPy array of shape [theta_res, phi_res].

Some example data for microfacet conductors and dielectrics at various incident directions is provided as well.

All plotting is handled by matplotlib.

Polar plots

A clear and intuitive visualization type is the polar plot which focuses on either the upper or lower hemisphere for displaying BRDF or BTDF data respectively. There is additional support to mark incident direction or azimuthal rotation around the surface normal to help with anisotropic materials.

polar

Latlong plots

The underlying data can also be directly visualized in a latlong plot over spherical coordinates.

polar

You can’t perform that action at this time.