- More sitting around at site being a system admin
- Deployed Appboard to fgmdev
- crunched some data in excel and came up with a second appboard demo
- working on a geoencoding utitlity that makes call to http://developer.yahoo.com/geo/placefinder/
- The service allows 50,000 calls a day for free which should serve any of our purposes
- Done with the class that makes call to yahoo, now working on connecting to an arbitrary MySQL table, pulling out address record and inserting lats / lngs, should be done tomorrow
Monthly Archives: January 2012
Phil 1.5.12
8:30 – 4:30 VISIBILITY
- Got Clif’s and Marcus’ phone numbers for Brian and cleaned out my stuff from our temp seats
- Discovered that the OpenGL Shading Language (3rd Edition) is available in the ACM Safari library. Cool.
- Lots of useful lwjgl code: http://users.xith.org/JavaCoolDude/JWS/Lwjgl/
- Onward with shaders
- http://www.lighthouse3d.com/tutorials/glsl-tutorial/data-types-and-variables/
- http://www.lighthouse3d.com/tutorials/glsl-tutorial/statements-and-functions/
- http://www.lighthouse3d.com/tutorials/glsl-tutorial/varying-variables/
- http://www.lighthouse3d.com/tutorials/glsl-tutorial/shader-examples/
- Hmm. Need to set up some geometry that shaders can work with. Building a cube with normals. And adding lighting. Teapot later?

- The cube on the left is painted with a simple shader, the cube on the right is lit. Tomorrow, we make a fancy shader.
- Appboard demo from 2:00 to 3:00
Thomas De Vito 01.04.2012
Objective:
- Testing and troubleshooting sound controllers
start: 10:15
- Finished writing the main sketch on the arduino side. Added a test mode sequence to test the audio master
- Made changes to the main on the PC side to accommodate changes.
End: 6:15
The internet was going slowly today. I spent about 30 minutes trying to resolve this problem to no avail. If it persists through tomorrow I will have to call comcast.
Phil 1.4.12
8:30 – 4:30 VISIBILITY
- Internet access is *slow* today.
- Tried to get ahold of Clif today to see what I should be doing. No luck yet.
- Deployed the lwjgl war to our servers. All seems to be working well.
- Working on shaders.
- Found another shader editor: http://www.opengl.org/sdk/tools/ShaderDesigner/
- And here’s the manual: http://www.opengl.org/sdk/tools/ShaderDesigner/ShaderDesignerManual.pdf
- However, the above does not run on my machine. RenderMonkey does though.
- Tutorials continued: http://www.lighthouse3d.com/tutorials/glsl-tutorial/. Got through to Data Types and Variables. The only odd thing that’s come up sop far us that FloatBuffer has to be set at twice its size to work in glLight(), otherwise I get the error:
- Number of remaining buffer elements is ‘X’, must be at least 4. Because at most 4 elements can be returned, a buffer with at least 4 elements is required, regardless of actual returned element count
Dong Shin 01.03.2011
- met with Tangie and got some enhancement requests.
- list of project as Excel spreadsheet
- sortable columns on people
- parent/child projects for TST projects
- removed splash screen and help section from Project Assistant
- add export to Excel for the list of projects
- enabled sorting on people columns in Project Management
Tom DeVito 01.03.2012
Objective:
- Continue testing and troubleshooting audio classes
Start: 11:15
- Still having IDE problems, on the arduino side, where it links to the wrong instance of a class or won’t link at all.
- Decided to start a new program and manually copy over the classes instead of importing. This seems to have solved the problem.
- Took this opportunity to trim some of the obsolete classes and code.
- Started rewriting the Main sketch to work with the new classes.
End: 6:15
Phil 1.3.12
8:30 – 4:30 VISIBILITY
- My timesheet’s not working. Sent Sally a note with a screenshot. Turns out the system is shut down for the week.
- Going to document all the moving pieces of the system – done
- Shader example for LWJGL: http://lwjgl.org/wiki/index.php?title=GLSL_Shaders_with_LWJGL
- I think the shaders are going to have to be stored as assets in the jar file? Or maybe deployed in the war?
- Got the shader code working. That was easy. Not messing with making it an applet yet – I’m going to work on making some more sophisticated shaders. Starting here: http://www.lighthouse3d.com/tutorials/glsl-tutorial/
- A physics library. How cool: http://jbullet.advel.cz/
- And a 3D engine: http://www.jpct.net/index.php That also works in applets.
- Installed RenderMonkey 1.82 for shader work.
- Charge 32.5 hours to leave on this timesheet!
- Trying to check in the sandbox project, but SVN isn’t asking for my password and as such, failing. Grrrr. Fixed.
- The correct SVN client for Indigo (Eclipse 3.7) is the one that is can be reached at “Indigo – http://download.eclipse.org/releases/indigo” in the “Install New Software” dialog. Select the “Collaberation” component and get the SVN pieces. I installed the following:
- Subversive SVN JDT Ignore Extensions (Optional)(Incubation)
- Subversive SVN Team Provider (Incubation)
- And that seems to work. I now have two SVN view categories that I have to choose between but I’m afraid to uninstall.
Tom DeVito 01.02.2012
Objective:
- Write sensor master class
- Write sensor element class
- Test sound master/element class
Start: 10:20
- Wrote the sensor master class for the pc side
- Wrote the sensor element class for the arduino
- Started troubleshooting the sound master class.
End: 6:20
Phil 1.2.12
8:30 – 4:30 VISIBILITY(?)
- Working on Applet stuff
- More pages that cover Javascript/HTML/Java communication: http://www.raditha.com/java/javascript.php
- It turns out that browsers call applets in unique ways, something that surprises none of you reading this. There is a Java tool, called htmlconverter.jar that comes with the 1.5 (and greater?) jdk. More info is here: http://docs.oracle.com/javase/1.5.0/docs/guide/plugin/developer_guide/html_converter_more.html
- Going to try to run two applets inside the same web page and make sure that the canvas is allocated correctly.
- Looks like communication from JS to Java is handled through AppletLoader.getApplet(). Java to JavaScript is handled normally. http://lwjgl.org/forum/index.php?topic=3266.0
- More on communication, from the LWJGL website: http://www.lwjgl.org/wiki/index.php?title=Deploying_with_the_LWJGL_Applet_Loader_4_-_Polish_and_Tweaks
- Added my JavaScript color button. Events are working and I think it’s vanilla that it will work on all browsers? Yup. So far…
- Running the two applet webpage on fgmdev here: http://fgmdev.com:8080/lwjgl/twoApplets.html. It took one refresh to get everything working in Firefox, but Chrome and IE worked just fine. If you try this in your browser, let me know how it works in the comments section. Focus works too. If you click in the applet, you can move the rotating square with the arrow keys.
- Sending a string from JavaScript to the spinning quad via the LWJGL Appletloader:
- document.getElementById(‘myApplet’).getApplet().setColor(colorStr)
- Working on communicating with JavaScript from the applet.
- Doing this with Maven: http://rostislav-matl.blogspot.com/2011/10/java-applets-building-with-maven.html
- Had to point the buildpath at plugin.jar, which was in my Java jre/lib directory. It’s not in Maven. If this all works, I’ll add it to our local repo.
- Got it. You can call a JS function or an element in the document. Kinda cool, actually. This turned out to be the most useful link: http://www.codeproject.com/KB/scripting/javatojs.aspx. You can play with the running code here.
- Cool pix for the day – multiple applets running in all browsers:

Tom De Vito 12.30.2011
Objectives:
- Finish the audio master class(PC)
- Finish the audio element class(Arduino)
- Make a test to see if they work properly
Start: 10:10
- Fixed a problem in the IDE which made it so the wrong classes were being edited, making it so I had to overwrite the files each time I tested.
- Made some changes and took inventory of the master and element classes to make sure they would work together.
- Started working on a diagnostic test for the master and element class.
End: 6:10

You must be logged in to post a comment.