| | Simple LDraw viewer code for Processing.org Andy Lynch
|
| | Well, in the interests of sharing, as this community does so well, here's the basics of a simple LDraw viewer that I wrote in the Processing language about a year and a half ago. It is by no means complete, but it will display small models (if you (...) (15 years ago, 12-Jan-10, to lugnet.cad)
|
| | |
| | | | Re: Simple LDraw viewer code for Processing.org Jim DeVona
|
| | | | (...) The neat thing about Processing is that since it is based on Java it is possible to export Processing programs (excluding some functions) as cross-platform applets that can be embedded in web pages. So, what Andy has created is the basis for (...) (15 years ago, 12-Jan-10, to lugnet.cad)
|
| | | | |
| | | | | | Re: Simple LDraw viewer code for Processing.org Michael Heidemann
|
| | | | | | (...) Here it looks very promising. But what will be the loading time if I have larger models? I would be very interested in this kind of app as it will make things much more easy to display models to the webside visitor (see my "personal OMR" at (...) (15 years ago, 12-Jan-10, to lugnet.cad)
|
| | | | | | |
| | | | | | | | Re: Simple LDraw viewer code for Processing.org Jim DeVona
|
| | | | | | | (...) That is the key question. I have not tried a larger model yet (it takes some preparation first to inline the model). I think I first may try to address the question of how to efficiently enable part library access for the embedded viewer. (...) (15 years ago, 12-Jan-10, to lugnet.cad)
|
| | | | | | | |
| | | | | | Re: Simple LDraw viewer code for Processing.org Jaco van der Molen
|
| | | | | (...) download and upgrade the Java plugin. Will one be able to display this in another browser Chrome or on another platform like MacOS? (...) Me too. This looks very exciting! Jaco (15 years ago, 13-Jan-10, to lugnet.cad)
|
| | | | | |
| | | | | | | Re: Simple LDraw viewer code for Processing.org Jim DeVona
|
| | | | | (...) Yep, I tested it in Safari and Firefox on my Mac and in Firefox on XP before posting it. I already had Java in both cases, but if I understand correctly it does prompt you to download the plugin if you need it, right? Jim (15 years ago, 13-Jan-10, to lugnet.cad)
|
| | | | | |
| | | | | | | Re: Simple LDraw viewer code for Processing.org Michael Heidemann
|
| | | | | (...) On my XP with already installed (and current) Java I did not have to download anything more. cu mikeheide (15 years ago, 13-Jan-10, to lugnet.cad)
|
| | | | | |
| | | | Re: Simple LDraw viewer code for Processing.org Michael Heidemann
|
| | | | (...) That looks very good. I have also made an attempt to build a viewer, but it is also very limited in what it can do (very little files if you do not wait an hour, no optional lines, but it could read subfiles). As I discovered that it is quite (...) (15 years ago, 12-Jan-10, to lugnet.cad)
|
| | | | |
| | | | | | Re: Simple LDraw viewer code for Processing.org Santeri Piippo
|
| | | | (...) I tried to write a viewer once too (as a series of experimentation of maybe having done a CAD program for parts authors!) using Tcl and OpenGL, but it turned out to be *REALLY* slow, most probably due to bad subfile handling. While the Animal (...) (15 years ago, 12-Jan-10, to lugnet.cad)
|
| | | | |
| | | | | | Re: Simple LDraw viewer code for Processing.org Jim DeVona
|
| | | | (...) Incidentally, Processing does have an OpenGL renderer (JOGL), although I haven't done any sort of testing to see how significant the performance benefit is. I used the software renderer for the web viewer I posted just because the support (...) (15 years ago, 12-Jan-10, to lugnet.cad)
|
| | | | |