Yet another WebGL-based renderer? - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html) +--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html) +--- Thread: Yet another WebGL-based renderer? (/thread-12741.html) |
Yet another WebGL-based renderer? - Sebastian Wahl - 2014-03-16 So why you might ask, to be honest I'm not quite sure. Nevertheless, it happened and you can find a very early version here: http://webldraw.spillerrec.dk/ (Source on Github: https://github.com/spillerrec/WebLDraw ) I have only spend a week on this so far and this is the first time I done something more advanced than a triangle with OpenGL, so this is very rough implementation. This is also written in Dart, which again I have never messed around with before. Quick overview:
Issues:
I intend to look into network performance as having to do a 100 requests to get all the parts used in a model is just bad. Not surprisingly, I want them to appear as quick as possible on my website. Actually, I think the best solution is just to embed all the parts into one MPD file and configure the server to send it GZIPed. Another thing that could be fun would be to make a browser extension to show .ldr and .mpd files in 3D, instead of just text. Don't really know how much you can do with extensions, but I would be surprised if that is not possible. |