Closed MichaelUIBK closed 1 year ago
In the current form of OpenGL in Exudyn, this is not possible. The only way is to draw first background objects and hereafter foreground objects. The drawing is processed in the order in which you add objects to the system (object number). In your case, you may use a graphics user function for your surface, which is added after all other objects have been added. In addition to that, if you use graphicsDataUserFunction, these objects are not at all transparent, as they are drawn first. A workaround is, to use a second mbs, containing the graphics object with the user function.
In the GraphicsDataFromPointsAndTrigs(), I used a color with an alpha-transparency of 0.2, but the bodies behind the surface are not visible. Is there a workaround?