ThreeDScene.move_camera() results in NotImplementedError
See original GitHub issueCommit 62050bbb04a1f8e481972e1db36f2634dfbae425 changes the pass statements of some methods in Mobject() into NotImplementedError .
This causes the move_camera method in a ThreeDScene or SpecialThreeDScene to fail, throwing a NotImplementedError, as it uses the interpolate_color method of Mobject.
from manim import *
class TestScene(SpecialThreeDScene):
def construct(self):
self.move_camera(
**self.default_angled_camera_position,
run_time=1,
)
The snippet above triggers the NotImplementedError in the interpolate_color method of Mobject()
This could be fixed by reverting the NotImplementedError of the interpolate_color method back into the pass statement that it originally was.
I think it would also prove fruitful if the methods become_partial and pointwise_become_partial also just had pass statements as they could also result in another method somewhere else not working properly.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
ThreeDScene - Manim Community v0.17.1 - Docs
This method creates a 3D camera rotation illusion around the current camera orientation. begin_ambient_camera_rotation. This method begins an ambient rotation ...
Read more >manim - ThreeDScene.move_camera () menghasilkan ...
Manim: ThreeDScene.move_camera () menghasilkan NotImplementedError. Dibuat pada 2 Jun 2020 · 9Komentar · Sumber: ManimCommunity/manim ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Yes,
become_partialis really useless because its function may be the same aspointwise_become_partial, and the latter is implemented by subclass.Oh, I see what you mean. That’s a better way.
Also, this is slightly unrelated, but I found that the method
become_partialis not mentioned anywhere in the code other than as its definition in Mobject. Should it be removed outright?