ManimCommunity / ManimCommunity/manim

Support for volumetric data when using OpenGL rendering

Open
#4,203 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new feature
Dominant language
Python
Stars
40.9k
Forks
3.1k
Avg merge
3d 12h
Merged PRs (30d)
25

Description

## Description of proposed feature

I'm currently working on a project where displaying volumetric data would be a real plus! I'm currently rendering Manim animations using OpenGL and considering that I use the OpenGL-based pyqtgraph package to perform such data visualisation, I'm wondering how hard it would be to implement such a feature in Manim.

## How can the new feature be used?

A VolumeMobject would be implemented in a similar fashion as [pyqtgraph's glvolumeitem](https://pyqtgraph.readthedocs.io/en/latest/api_reference/3dgraphics/glvolumeitem.html).
For those not familiar with pyqtgraph, glvolumeitem allows to render such 3D fields:

Image

## Additional comments

I started looking into reimplementing glvolumeitem using pyglet, but my ignorance of OpenGL is not of a great help. If anyone of you wants to give it a try let me know!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files, tests, or entry points. Start by reviewing pyqtgraph's glvolumeitem reference and the attempted pyglet reimplementation context, then determine the rendering scope and acceptance criteria for a VolumeMobject supporting volumetric data.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.