We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello !
I would like to move triangles in 3D-space contained inside one single call of "beginShape" as if it was "sub-PShape", with it's own motion and properties. I know exactly how to do it but I need to access to the indexBuffer because z-sorting only work with fixed-mesh and I need to z-sort the triangles by myself and send the buffer to the GPU at each frame to get my stuff work.
Is there a "hint" or something that allow me to update the indexBuffer ?
Answers
Don't think so, see Javadocs & Source Code. But if you know how to do it, perhaps you can help / send a PR for Issue #90: implement depth sorting for triangles to fix rendering issues with transparent objects in 3D, so that depth sorting may be implemented in Processing. I think it would be useful to many.
ahah that's actually what I would like to do because I have some issue with very basic mesh and I'm a bit disappointed
I know how to implements z-sorting from scratch but I'm not a java killer. Actually, I only use Java with Processing, but I will look at it
Thank you for you message.
I didn't realize that Processing was open-source, I really will look at it !