Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi there, I've been wondering whether CopperLicht will eventually have its own 2D overlays. Currently, the only way to create a 2D overlay is by moving other HTML elements (for example divs) over the canvas, but this isn't always an optimal solution, as it isn't possible to draw lines for example. Will CopperLicht support proper "internal" 2D overlays in the future? Another question I have is about what I would call "3D overlays". These would be objects that are created within the context of the 3D scene, but are rendered differently than a normal scene node. The most basic example I can think of is a 3D line: - Defined by a Vect3D start point, a Vect3D end point, a "thickness" and a color. - Optional setting "occludable", defining whether or not it should be occluded by objects that are rendered in front of it. - If it is in view, the line should always be visible, no matter how far away it is - unlike a normal 3D object, which would eventually disappear. This method could be used to draw 3D wireframes, for example, Or in the context of the game I'm developing, to draw planet orbits. Is this kind of thing possible? |
||||
|
yes, drawing 2d primitives like lines, rectangles and images is already planned. Also 3d lines are planned. |
||||
|
Excellent. |
||||
|
|