Parsing data

by Daganev

Back to Mechanic's Corner.

Daganev2004-11-02 18:32:16
Hi, For my art class, I'm suppose to take some data, and turn that into a 3d object using java... don't ask my school is wierd,
Anyway, I wanted to use a mud, like lusternia as my data. Since I see Lusternia has a Java client I figure it shouldn't be too hard to collect a streeaming record from the mud to dynamically create a 3d object over time. (it will probabbly just be a sphere that changes color based on how many letter "a"s show up or something stupid like that)

Any suggestions on how to get this streaming data into a java file or how to use a client to collect that data and then forward it to Java3d? Thanks for you help
Unknown2004-11-02 20:03:38
If I were implementing it, I'd probably just make a log file (or three) and save them somewhere to be loaded by my Java code. Write a Java class to process the text and turn it into a 3D object.
Unknown2004-11-02 20:49:25
So you want to take code and make an image from it? Wow! If that's the case you should post it here, that would be cool to see.
Daganev2004-11-02 21:04:44
Its not going to be too impressive looking, atleast not yet, its my first time doing this and theres only 5 weeks left in the class. Anyway yes I can cheat and use a log ,but I'd really like to use live data. (Art teachers go gaga over that type of stuff)
Unknown2004-11-03 13:03:21
When I write code of this nature, I prefer to start with a log, but leave room for other options. If you can test your algorithm with a log, you can ensure repeatable results and fine tune/bug fix things more easily. Architect it such that it can accept a log file or live input and you'll really wow your teacher. wink.gif