XML_FLAR for class, and anyone else for that matter
I’ve taken the flartoolkit and made it so you don’t need any special skill to simply show a marker/3ds model pair. There’s an issue getting the UV texture name, if you have cs3, recompile the .fla and the name will trace out for you.
THis thing is pretty moot, considering it’s a horrible hack, and because I’ve restarted with much more sensibility and I’m now using the FLARmanager. However, for my project at the DMA, the xml will stay the same.
Simple steps: (I’ll be including great tutorials for this on the next version)
1) download the zip file and open it
2) export your 3d model to .3ds format, put it in a subfolder or your choosing in the “assets” folder
3)open the “data.xml” and change the name of the model listed under “file” node.
4) save it and open the “.html” file
FOR your texture, you’ll need to repeat the process, and you’;; need to recompile in CS3, the output window will give the instructions you need.
FOR RESIZING AND PLACEMENT – there’s pretty simple xml that is well labeled. experiment. have fun.
TO DO:
updates that will be available in version 2
- multiple markers [done] thanks eric socolofsky
- linear animation [done]
- pointing objects at other objects [in progress]
- object event system (on rotation, distance, distance to other object, etc.) [in progress]
ADDENDUM:
I actually took the time to read the papervision documentation. pointing objects at other is built in, as well as distance between objects. They even have a built in event system for logs in what not, I’m just going to extend them, or convert them into a new class (now that i know how to – see Fix for papervision 3ds parser ) as i think it’d be best handle updates on an as needed basis, not mention it’d be passing me in all the object data I’d need without fetching it. bla bla, becoming more programmish daily.
next major update, two days (april 12), if my lady friend is understanding.