| | | | |
| |
| In lugnet.cad, Andy Lynch wrote:
> 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 edit the source to load the model, right near the beginning of
> the main code... no way to pick from a listing) Processing is so friendly that
> I was able to build this basic viewer in just a week or two, then life jumped in
> and took over all my time again, as usual.
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 an online LDraw viewer! One possible
application of this is to allow people without LDraw installations to
nevertheless view models in 3d using their browsers. To illustrate the
feasibility of this I made a quick hack online version of the code that displays
a fully-inlined model (so no part library is required):
http://anoved.net/files/alvlite-test/
I look forward to seeing how this progresses.
Jim
| | | | | | | | | | | | |
| |
| In lugnet.cad, Jim DeVona wrote:
> In lugnet.cad, Andy Lynch wrote:
> > 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 edit the source to load the model, right near the beginning of
> > the main code... no way to pick from a listing) Processing is so friendly that
> > I was able to build this basic viewer in just a week or two, then life jumped in
> > and took over all my time again, as usual.
>
> 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 an online LDraw viewer! One possible
> application of this is to allow people without LDraw installations to
> nevertheless view models in 3d using their browsers. To illustrate the
> feasibility of this I made a quick hack online version of the code that displays
> a fully-inlined model (so no part library is required):
>
> http://anoved.net/files/alvlite-test/
>
> I look forward to seeing how this progresses.
>
> Jim
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
http://mikeheide.kilu.de).
No more create pictures and put them in the webpage. Only this tiny little
thing.
cu
mikeheide
| | | | | | | | | | | | | | | | | | In lugnet.cad, Michael Heidemann wrote:
> In lugnet.cad, Jim DeVona wrote:
> > I look forward to seeing how this progresses.
> >
> > Jim
>
> Here it looks very promising.
> But what will be the loading time if I have larger models?
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.
> 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
> http://mikeheide.kilu.de).
> No more create pictures and put them in the webpage. Only this tiny little
> thing.
I agree - the idea of an online gallery is partly what motivated me to try this.
Jim
| | | | | | | | | | | | | | | | In lugnet.cad, Jim DeVona wrote:
> In lugnet.cad, Andy Lynch wrote:
> 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 an online LDraw viewer! One possible
> application of this is to allow people without LDraw installations to
> nevertheless view models in 3d using their browsers. To illustrate the
> feasibility of this I made a quick hack online version of the code that displays
> a fully-inlined model (so no part library is required):
>
> http://anoved.net/files/alvlite-test/
Very nice. I only took a look in IE and on a Windows XP PC and required me to
download and upgrade the Java plugin.
Will one be able to display this in another browser Chrome or on another
platform like MacOS?
> I look forward to seeing how this progresses.
Me too.
This looks very exciting!
Jaco
| | | | | | | | | | | | | | | | |
| |
| In lugnet.cad, Jaco van der Molen wrote:
> In lugnet.cad, Jim DeVona wrote:
> > In lugnet.cad, Andy Lynch wrote:
> > 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 an online LDraw viewer! One possible
> > application of this is to allow people without LDraw installations to
> > nevertheless view models in 3d using their browsers. To illustrate the
> > feasibility of this I made a quick hack online version of the code that displays
> > a fully-inlined model (so no part library is required):
> >
> > http://anoved.net/files/alvlite-test/
>
> Very nice. I only took a look in IE and on a Windows XP PC and required me to
> download and upgrade the Java plugin.
> Will one be able to display this in another browser Chrome or on another
> platform like MacOS?
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
| | | | | | | | | | | | | | | | |
| |
| In lugnet.cad, Jim DeVona wrote:
> In lugnet.cad, Jaco van der Molen wrote:
> > In lugnet.cad, Jim DeVona wrote:
> > > In lugnet.cad, Andy Lynch wrote:
> > > 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 an online LDraw viewer! One possible
> > > application of this is to allow people without LDraw installations to
> > > nevertheless view models in 3d using their browsers. To illustrate the
> > > feasibility of this I made a quick hack online version of the code that displays
> > > a fully-inlined model (so no part library is required):
> > >
> > > http://anoved.net/files/alvlite-test/
> >
> > Very nice. I only took a look in IE and on a Windows XP PC and required me to
> > download and upgrade the Java plugin.
> > Will one be able to display this in another browser Chrome or on another
> > platform like MacOS?
>
> 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
On my XP with already installed (and current) Java I did not have to download
anything more.
cu
mikeheide
| | | | | | |