🚧 This project is in active beta development. This means the API is unstable, features may be added or removed, and breaking changes are likely to occur frequently and without notice as the design is refined.
Efficient Renderer for Natural and Interplanetary Environments (Ernie)
Ernie is a physically-based, real-time, spectral renderer for planetary robotics and sensing.
It is cross-platform and designed with portability in mind, supporting Linux, Windows, and macOS with C++ and Python APIs, and both hardware and software ray tracing support across NVIDIA and AMD GPUs and Apple Metal.
A brief overview of its features:
- Configiurable fidelity: built-in rendering modes ranging from low-fidelity RL high-throughput cases to predictive spectral path tracing
- Zero-copy tensors: render outputs and scene data (transforms, vertices, lights) are shared via DLPack with PyTorch, JAX, Warp and Numpy
- Batched rendering: many cameras and worlds rendered in one step for RL
For a more detailed overview of the features, see our documentation.
Quick Start
We recommend installing Ernie from PyPi. We also ship a GUI application that provides interactive viewing and editing of scenes. The following commands install Ernie, check it was installed sucessfully, and opens the GUI.
pip install ernie-renderer
python -c "import ernie; print(ernie.__version__)"
ernie
In Python, basic API usage involves creating a Scene with some objects. Then creating a Renderer with that Scene and calling Renderer.step with the desired render products. See below for an example.
import ernie
scene = ernie.Scene()
ernie.Plane.define(
scene,
"/Ground",
width=20,
length=20,
checkerboard=True,
)
ernie.Cube.define(
scene,
"/Box",
translate=(-1.5, 0, 0.75),
size=1.5,
display_color=(0.8, 0.2, 0.2),
)
ernie.Cylinder.define(
scene,
"/Post",
translate=(1.5, 1, 1),
radius=0.4,
height=2,
display_color=(0.2, 0.4, 0.8),
)
ball = ernie.Sphere.define(
scene,
"/Ball",
radius=0.5,
display_color=(0.9, 0.8, 0.2),
semantics_labels={"class": ["ball"]},
)
ernie.DistantLight.define(
scene,
"/Sun",
orient=ernie.from_azimuth_elevation(135, 45),
intensity=50000,
)
ernie.Camera.define(
scene,
"/Front",
translate=(0, -9, 5),
orient=ernie.look_at((0, -9, 5), (0, 0, 0.5)),
focal_length=35,
)
ernie.Camera.define(
scene,
"/Top",
translate=(0, 0, 14),
orient=ernie.look_at((0, 0, 14), (0, 0, 0), up=(0, 1, 0)),
focal_length=24,
)
ernie.GradientBackground.define(scene, "/Sky")
ernie.Scope.define(scene, "/Render")
ernie.RenderVar.define(scene, "/Render/Color", source_name="LdrColor")
ernie.RenderVar.define(scene, "/Render/Depth", source_name="DistanceToCamera")
ernie.RenderVar.define(scene, "/Render/Normal", source_name="Normal")
ernie.RenderVar.define(scene, "/Render/Semantic", source_name="SemanticSegmentation")
ernie.RenderProduct.define(
scene,
"/Render/Views",
camera=["/Front", "/Top"],
resolution=(640, 480),
ordered_vars=["/Render/Color", "/Render/Depth", "/Render/Normal", "/Render/Semantic"],
render_mode="RealTime",
background="/Sky",
)
renderer = ernie.Renderer(scene)
for step in range(4):
ball.translate = (step - 1.5, -1.5, 0.5)
output = renderer.step(["/Render/Views"], dt=1 / 30)
output.wait()
[frame] = output["/Render/Views"].frames
for var in frame.render_vars:
aov = frame.render_var(var)
for camera, name in enumerate(["front", "top"]):
ernie.write_render_var(f"{name}_{aov.source_name}_{step}", aov, camera)
| Color | Depth | Normal | Semantic | |
|---|---|---|---|---|
| Front | ||||
| Top |
For more advanced code snippets and API usage such as zero-copy interop, batched rendering, and cloning, see our guides.
For more information about Ernie's requirements, C++ installation, or other installation methods such as Docker and building from source, see our installation guide.
Citation
If you use Ernie in your research, please cite it. GitHub's "Cite this repository" button gives the same citation from CITATION.cff.
@software{maietta2026ernie,
author = {Maietta, Alex},
title = {Ernie: Efficient Renderer for Natural and Interplanetary Environments},
year = {2026},
version = {0.1.0},
url = {https://github.com/alexmaietta/ernie},
license = {BSD-3-Clause}
}
License
Ernie is licensed under the BSD 3-Clause License.
Acknowledgements
Ernie is built on these open-source projects.
- Vulkan Headers, volk and Vulkan Memory Allocator for the GPU layer
- Slang for shaders
- DLPack for sharing tensors with PyTorch, JAX, Warp and NumPy
- nanobind for the Python bindings
- OpenEXR and Imath, stb, Basis Universal and bc7enc_rdo for images and textures
- NanoVDB for volumes
- nlohmann/json for JSON
- tinyobjloader for OBJ import
- MikkTSpace for tangents
- NVTX for profiling
- OpenUSD for scene interchange
- Dear ImGui and GLFW for the viewer
- GoogleTest for tests
- Google Benchmark for benchmarks
Ernie also leverages ideas from these renderers and projects:
- Madrona for batch rendering across many worlds
- Chrono::Sensor for sensor simulation inside Chrono
- Cycles, Mitsuba 3 and PBRT for physically based and spectral rendering
- OpenUSD and Omniverse Fabric for the schema-based scene
- ovrtx for zero-copy interops and USD-based rendering
- nvpro-samples for Vulkan ray tracing and cluster LOD
- PANGU for planetary and asteroid surface simulation
- IRIS for real-time, closed-loop rendering of space sensors
- CosmoScout VR for planet-scale scenes and solar-system visualization
- three-geospatial for atmospheres and clouds
- Isaac Lab and Newton for tiled cameras in robot learning
Metadata
Release files for ernie-renderer 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ernie_renderer-0.1.0.tar.gz | 1.0 MB | With provenance | Details for ernie_renderer-0.1.0.tar.gz |
Built distributions (wheels)
Total release size: 344.4 MB
Release files / ernie_renderer-0.1.0.tar.gz
| Download URL | ernie_renderer-0.1.0.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1517c28dd56cdcbfc5ce87c0cafb9e6e9f2381314584015b3f7d9a6f12f2ed34
|
|
BLAKE2b-256 checksum How to use checksums |
9c190ee309e65c2ef164ad1858d35b77b6aebdbdb9defa39665ab336e40d80d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / ernie_renderer-0.1.0-cp312-abi3-win_arm64.whl
| Download URL | ernie_renderer-0.1.0-cp312-abi3-win_arm64.whl |
|---|---|
| Size | 19.1 MB |
| Tags | CPython 3.12 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
c129fbc7bfb21e6d5f9b2fa1384a8baa371b8ca4a9f56364935a78e883e46678
|
|
BLAKE2b-256 checksum How to use checksums |
173dd73e48958b9538ebc842e6f80e2d2007d5ad8f9f76c9b0a50b5f5fc46b36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / ernie_renderer-0.1.0-cp312-abi3-win_amd64.whl
| Download URL | ernie_renderer-0.1.0-cp312-abi3-win_amd64.whl |
|---|---|
| Size | 19.6 MB |
| Tags | CPython 3.12 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
665932023e598616a8a1e22c4ebf80499bf9898e7745bba57ab4a58d02315685
|
|
BLAKE2b-256 checksum How to use checksums |
2962297c00c812c543e0882bff65c355f63bb611898a1cd05b25ef456dc5952f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / ernie_renderer-0.1.0-cp312-abi3-manylinux_2_34_x86_64.whl
| Download URL | ernie_renderer-0.1.0-cp312-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 25.1 MB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
7a8ec20c137f0910f4b77520533274721b288b3271c8a4dae5f90fa4e6733637
|
|
BLAKE2b-256 checksum How to use checksums |
917db746d2aec8d5f4193c2eff1e5cf1a279df06134d3df214748de0314f333e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / ernie_renderer-0.1.0-cp312-abi3-manylinux_2_34_aarch64.whl
| Download URL | ernie_renderer-0.1.0-cp312-abi3-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 23.9 MB |
| Tags | CPython 3.12 Linux glibc 2.34+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
fa591e6a6eed6c1834cbb8060db1a42de0ccc96ca13dc775d7a17ed12e1a3a34
|
|
BLAKE2b-256 checksum How to use checksums |
6d52dc0f925d32656d0f956b441462abbbd13cc57216221d813a888b203a81a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / ernie_renderer-0.1.0-cp312-abi3-macosx_26_0_arm64.whl
| Download URL | ernie_renderer-0.1.0-cp312-abi3-macosx_26_0_arm64.whl |
|---|---|
| Size | 33.0 MB |
| Tags | CPython 3.12 abi3 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e059ce9cc27a122104e485d491890ffcdc549745b8ef963875bc8fe1d319f4f1
|
|
BLAKE2b-256 checksum How to use checksums |
c3459c559e20b055e69c523394c53fbd7e11a9a8ffeed78c14cefaf9a3a7d664
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / ernie_renderer-0.1.0-cp311-cp311-win_arm64.whl
| Download URL | ernie_renderer-0.1.0-cp311-cp311-win_arm64.whl |
|---|---|
| Size | 19.1 MB |
| Tags | CPython 3.11 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
df22477c2597d5b7b95c0b8eb0aafbbf36c44f6d72c8be84bc6207ee5d30f60c
|
|
BLAKE2b-256 checksum How to use checksums |
ad76354ae040b4f536bdafe42350c6c297b39e3dc19ceb29530df94808b707a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / ernie_renderer-0.1.0-cp311-cp311-win_amd64.whl
| Download URL | ernie_renderer-0.1.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 19.6 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9264cfad7b7be263ae05d0ca133cbee9c96bc9d7beac716ccaf9600fdd546858
|
|
BLAKE2b-256 checksum How to use checksums |
172da503efad98793955766395d13cb0c2c1db74ed46dd83dfed381e1b2be9d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / ernie_renderer-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | ernie_renderer-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 25.2 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
8426ca798740aa5eeb52d47ef03f821f849ce33556ee09126c32c2a3bd12e057
|
|
BLAKE2b-256 checksum How to use checksums |
da7612da2af2eb8f6044a593f815ccb5368624870e0c221d3bf6c4c112b86483
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / ernie_renderer-0.1.0-cp311-cp311-manylinux_2_34_aarch64.whl
| Download URL | ernie_renderer-0.1.0-cp311-cp311-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 23.9 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ ARM64 |
|
SHA-256 checksum How to use checksums |
f78abe7998e55c966dd3de4051b68fa23515a9c1ed59aa4ed1df7b9d60a03d72
|
|
BLAKE2b-256 checksum How to use checksums |
4eb670d2433185f936851e4fed7923b02d50fa60a057c7789f0e5280895c4a62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / ernie_renderer-0.1.0-cp311-cp311-macosx_26_0_arm64.whl
| Download URL | ernie_renderer-0.1.0-cp311-cp311-macosx_26_0_arm64.whl |
|---|---|
| Size | 33.0 MB |
| Tags | CPython 3.11 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ea7f58a190f660576d812d69f3fd92345fe2bf488507bbb422a2dea2dc7a79dd
|
|
BLAKE2b-256 checksum How to use checksums |
0315266318f0dd6c4d9949047e7c40a32cbc8bca7753b23806ccfea4e39e1974
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / ernie_renderer-0.1.0-cp310-cp310-win_amd64.whl
| Download URL | ernie_renderer-0.1.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 19.6 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
50e1a8e9d2fbafadde565879739ca8c278fe4b3d7a036d1e56652fe960e5a164
|
|
BLAKE2b-256 checksum How to use checksums |
a27ac1480586e971157148c23d7a7b6eaef327806619064e4fe108c28c1ac735
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / ernie_renderer-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl
| Download URL | ernie_renderer-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 25.1 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
71bc40a8e524687dd37e96c1035997a1ba1acfc88743e0a364aeb319475ee042
|
|
BLAKE2b-256 checksum How to use checksums |
d3ea31d420dcaeaea1fa058be4d0e65669aff426ae1352bb392b3b760ffdbfc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / ernie_renderer-0.1.0-cp310-cp310-manylinux_2_34_aarch64.whl
| Download URL | ernie_renderer-0.1.0-cp310-cp310-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 23.9 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ ARM64 |
|
SHA-256 checksum How to use checksums |
3e6a85304afdb85fa996db228b42d0734f2b96bf83a02ea05a3a431d1cab3874
|
|
BLAKE2b-256 checksum How to use checksums |
38295652662739181690294402914dc25c9556affdf52f67a7892c32194da03b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logRelease files / ernie_renderer-0.1.0-cp310-cp310-macosx_26_0_arm64.whl
| Download URL | ernie_renderer-0.1.0-cp310-cp310-macosx_26_0_arm64.whl |
|---|---|
| Size | 33.0 MB |
| Tags | CPython 3.10 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b8b2cb1c2d32c94325d05fc105b3c6dabd25811f2e8d2311203bb356b1654ba2
|
|
BLAKE2b-256 checksum How to use checksums |
625f84f6a02d90cd2ca167bc9a57987e40ab03e79c01f4ac0efc6306ee1923b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logSecurity for ernie-renderer 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 15 files in this release have been uploaded with provenance metadata.
Attestation for ernie_renderer-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.