You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing this problem where I want to add some strokes to the 3D objects that manim provides, more precisely Cubes and Prisms. The idea would be to outline the sides of the faces that form the shape.
I've dived deep into Manim's guts and found that 3D Shapes are constructed from SGroups (i.e Surfaces Groups), which are then composed of Surfaces.
Is there any way I can re-implement the Surface, SGroup and ultimately the Prism/Cube classes so I can add a stroke? Do you know how to approach it correctly? I am asking since Surfaces work on shaders and I am a bit far from that realm. I am comfortable re-implementing Vectorized Objects and Animations, but Surfaces just happen to fall out of my scope.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone!
I am facing this problem where I want to add some strokes to the 3D objects that manim provides, more precisely Cubes and Prisms. The idea would be to outline the sides of the faces that form the shape.
I've dived deep into Manim's guts and found that 3D Shapes are constructed from SGroups (i.e Surfaces Groups), which are then composed of Surfaces.
Is there any way I can re-implement the Surface, SGroup and ultimately the Prism/Cube classes so I can add a stroke? Do you know how to approach it correctly? I am asking since Surfaces work on shaders and I am a bit far from that realm. I am comfortable re-implementing Vectorized Objects and Animations, but Surfaces just happen to fall out of my scope.
Any help would be much appreciated.
Thanks a lot for your precious time beforehand.
Beta Was this translation helpful? Give feedback.
All reactions