LDraw.org Discussion Forums
Another WebGL 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: Another WebGL Renderer (/thread-7692.html)



Another WebGL Renderer - Daniel B - 2013-01-13

So i'm also having a go at a WebGL LDraw editor.
Which you can try out here www.mr-bucket.co.uk/TestWebGL.aspx

I was going to update the LDraw editor i last worked on way back in 2004 www.mr-bucket.co.uk/GLIDE/ The old discussion on GLIDE can be found here if you are curious.

Then i discovered WebGL. I figure the best way to make a multi-platform app these days is to make a web app.

Mine is a bit behind the renderer made by Nicola but im putting my rainy weekends into it.

Any feedback please let me know on the LDraw forums.


Re: Another WebGL Renderer - Michael Heidemann - 2013-01-13

Looks also very promising ! Thanks for your hard work so far.

I tried an mpd content file, but only the first model is drawn, and the rest as "shadowed parts" (only the lines are build.)

I got a system error on that file first, because it containted a '<email@address.de>' (it has been mine real address of course).

I hope this helps in further developing.

keep on.

cu
mikeheide


Re: Another WebGL Renderer - Daniel B - 2013-01-14

I'm struggling to think of a reason why my code would load lines and nothing else. A colour i don't handle might do it...

Could you post the content of an mpd file that causes that problem here please?


Re: Another WebGL Renderer - Michael Heidemann - 2013-01-14

It occured at the file attached.

Please note that I have corrected the entry of the emailaddress already.


Re: Another WebGL Renderer - Steffen - 2013-01-22

Yeah, this looks very good already, keep up the good work.
I think the WebGL approach is the most promising one in getting LDRAW parts or models
visualized on the various platforms. I still strongly prefer this solution over
writing OS-specific Android and iOS apps.