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 / 16843
16842  |  16844
Subject: 
Re: Simple LDraw viewer code for Processing.org
Newsgroups: 
lugnet.cad
Date: 
Tue, 12 Jan 2010 06:32:47 GMT
Viewed: 
13060 times
  
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



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

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

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