Subject:
|
Simple LDraw viewer code for Processing.org
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Tue, 12 Jan 2010 01:47:00 GMT
|
Highlighted:
|
(details)
|
Viewed:
|
12866 times
|
| |
| |
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.
There's a good chance that I tapped some people on here or on the Processing.org
forums to help with the math ack when I was working on it, so, sorry if I forget
to mention, but it's been a long time since I worked on this...
Here's the link to a little blurb about what I had written so long ago, with 2
sample images:
http://www.randommeme.com/mblog/post.cfm/ldraw-viewer-in-processing
And here's the link to the post with the download file:
http://www.randommeme.com/mblog/post.cfm/simple-ldraw-viewer-code-in-processing
About the Processing Language:
Processing runs in Java, and uses the same syntax, but (for me) it makes working
with graphics a breeze!
http://processing.org/
From the website:
Processing is an open source programming language and environment for people who
want to program images, animation, and interactions. It is used by students,
artists, designers, researchers, and hobbyists for learning, prototyping, and
production. It is created to teach fundamentals of computer programming within a
visual context and to serve as a software sketchbook and professional production
tool.
Enjoy.
-Andy Lynch
|
|
Message has 2 Replies: | | 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)
| | | Re: Simple LDraw viewer code for Processing.org
|
| (...) 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)
|
10 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|