Open hohserg1 opened 3 years ago
Floating Text was replaced by https://github.com/Starchasers/OCGlasses/wiki/Widget_Text3D and line got dropped in favor of https://github.com/Starchasers/OCGlasses/wiki/Widget_Custom3D (which can be used to archive a line by writing a lua wrapper which adds the necessary vertices)
Ok, but Custom3D#setGLMODE support TRIANGLES and TRIANGLE_STRIP only, how to draw regular lines?
by creating a cube from point a to point b for a 3D line segment you would draw 6 faces where each face has 2 triangles, best bet is to wrap it in a lua function, feel free to share it and i'll add it to the wiki
Uh, it so unoptimized. Large amount of triangles may reduce fps and too many of triangles may give extreme lags. I tested it
@hohserg1 sorry for necro post, but is this feature request obsolete with your addition of the Wavefront OBJ line support?
Such widgets exists In OpengGlasses1. Can you add it to openGlasses2 also? https://minecraft.bymarcin.com/OpenGlasses/doku.php?id=lineworld https://minecraft.bymarcin.com/OpenGlasses/doku.php?id=floatingtextworld