To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 16846
16845  |  16847
Subject: 
Re: Simple LDraw viewer code for Processing.org
Newsgroups: 
lugnet.cad
Date: 
Tue, 12 Jan 2010 07:14:00 GMT
Viewed: 
12971 times
  
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



Message has 1 Reply:
  Re: Simple LDraw viewer code for Processing.org
 
(...) 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)

Message is in Reply To:
  Re: Simple LDraw viewer code for Processing.org
 
(...) 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)

10 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR