mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
Update docs
This commit is contained in:
1 parent
4234762b4b
commit
8582238322
3 files changed
+43
-18
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user