Update docs

This commit is contained in:
Matt Tancik authored and Matthew Tancik committed 2022-06-07 10:06:46 -07:00
1 parent 4234762b4b
commit 8582238322
3 files changed
+43 -18

No files matched your search

+11
View File
@@ -1,5 +1,16 @@
"""
Collection of renderers
Example:
.. code-block:: python
field_outputs = field(ray_sampler.to_point_samples())
weights = ray_sampler.get_weights(field_outputs[FieldHeadNames.DENSITY])
rgb_renderer = RGBRenderer()
rgb = rgb_renderer(rgb=field_outputs[FieldHeadNames.RGB], weights=weights)
"""
import math
from typing import Optional