Skip to content

Off-screen Volume Rendering on macos 14.7 #148

@HealthyPear

Description

@HealthyPear
  • interactive volume rendering for yt version:
  • Python version:
  • Operating System:

Description

Off-screen Volume Rendering example on macos 14.7

What I Did

just ran the example then got

Traceback (most recent call last):
  File "/Users/michele/Software/3D_rendering_radio_data/yt-idv_examples/two.py", line 8, in <module>
    rc = yt_idv.render_context("egl", width=1024, height=1024)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/michele/Software/miniforge3/envs/radio_3d_renderer/lib/python3.12/site-packages/yt_idv/rendering_contexts/__init__.py", line 44, in render_context
    from .egl_context import EGLRenderingContext
  File "/Users/michele/Software/miniforge3/envs/radio_3d_renderer/lib/python3.12/site-packages/yt_idv/rendering_contexts/egl_context.py", line 4, in <module>
    from OpenGL import EGL, GL
  File "/Users/michele/Software/miniforge3/envs/radio_3d_renderer/lib/python3.12/site-packages/OpenGL/EGL/__init__.py", line 2, in <module>
    from OpenGL.raw.EGL._types import *
  File "/Users/michele/Software/miniforge3/envs/radio_3d_renderer/lib/python3.12/site-packages/OpenGL/raw/EGL/_types.py", line 77, in <module>
    CALLBACK_TYPE = _p.PLATFORM.functionTypeFor( _p.PLATFORM.EGL )
                                                 ^^^^^^^^^^^^^^^
AttributeError: 'DarwinPlatform' object has no attribute 'EGL'. Did you mean: 'CGL'?

same with "cgl"

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions