Wednesday, September 21, 2011

Work Progress - Sept 21 - Sept 27

Done:
* Complete the online "Responsible Conduct of Research Training" course
* [Deployment package version 1.1] Move all OpenGL supporting jar files to application folders. The package has already been distributed to application developers. (Stable GG app above is using this deployment package)
* [Deployment package version 1.2] Put Core and the OpenGL supporting jars files in a folder different from the application-specific jars. This simplifies the application programmers' work on deploying their apps. They need not worry about minor changes in the Core. The program will automatically grab the latest Core to use from the separated Core/ folder, updated by Core developers. Previously, they need to grab and upload the Core jar files to their application web folder. (Stable SB app and CC2 app are using this deployment package.)

Root of the deployment package -
the app (CC2, SB), Core, OpenGL supporting jars are located in separate folders.

Content of an application web folder -
contains only the jar files directly related to the application only

* The deployment package v1.2 is also capable of running offline without any local web server. Download that package. Double click on CC2/index.html or CC2/app.jnlp to check it out.

TODO:
* Some bug fix in writing JNLP info to the XML save file.

Friday, September 16, 2011

Work Progress - Sept 14 - Sept 20

Demo: Stable SB app above

Work done

Wednesday, August 3, 2011

Work Progress - Aug 3 - Aug 9

Work done:
* Use the ordering in Object manager to decide the drawing order of the objects. Objects on the top of the list will be put on top of others in the simulation window. A newly-created object is put on top of the existing objects. Also provide facilities for user to change the order of objects in Object manager.
* Write Core and app jar file name to the saved XML file. This allows the community site to know the appropriate Core and app jar files to load. (New version of the Core/app jars may not be compatible to the XML files saved using an old Core/app. So we need to tell in the XML file the right version of Core/app that its supports.)
* Help Varun fix the hissing sound problem
* Fix the bug that the scriplet window doesn't provide a scrollbar when it is loaded with a long script.
* Port the existing GG app to latest Core with Graphics2D engine.

Suggestions in last meeting:
* Limit the number of iterations done for each loop
* Drag on empty area -> change camera location
* Goal image window (to be done by Bill)

P.S. I'll go for a vacation starting Aug 11. I'll be back on Sept 14.

Tuesday, August 2, 2011

Work Progress - Jul 27 - Aug 2

Demo: "SB in beta" link above

Work done
* Modify the pCSDT core according to Patrick's suggestion - allows a jnlp file to use the "SingleDemoXmlUrl" parameter to specify a single xml file to be loaded.
* Offer a template of an pCSDT app that allows its simulation view to be drawn in 3D.
* same color for both the variable/property codelets and the respective holes.
* rename "comparison" to "operators"
* fix the bug that a number string can't be assigned to a string field.
* Move variable codelet to a separate "variable" tab

Still working
* Use the order of the objects in the object manager to decide their respective drawing sequence in each frame. (ref)
* Porting GG app to latest Core
* Move the 3D world display capability to the Core.

Wednesday, July 20, 2011

Work Progress - July 20 - Jul 26

Work done:
* Eliminate spacing and underscore in the default name of all objects.
* Help Bill and Joe in their pCSDT programming problems

To do:
* Use order of objects in Object Panel to determine the drawing order (Ref: 1, 2, 3)
* Graphics2D engine

Friday, July 15, 2011

Work Progress - July 13 - Jul 19

Demo: "SB in beta" link above

* Core: In JPnlObjMgr, use ToolTipText to indicate the type of an object.
* SB: Fix the bug that all skateboarder objects share the same set of texture, even if we specify different looks for different skateboarders.
* Core: An additional basic property "z" is added for all PObjects. We can use that to control the drawing order of overlapping object. An object with a higher z number will appear on top of others with smaller z numbers.
* Make self-defined variables as a property of the object. An assignment statement can now take a variable or a property in its LHS.

Wednesday, July 6, 2011

Work Progress - July 6 - Jul 12

Demo: "SB in beta" link above

Work done:
* Disallow the background to be selected through the simulation window
* Change the name of the Background to Stage.
* Set different positions for newly-created skateboarder objects
* "Lanuch Object()" method is renamed to "Call Object()"
* Eliminate underscore from the names of newly-created objects. Also eliminate the uppercase in the name (i.e. "Object_5" -> "object 5")
* Introduce a titleborder in the JPnlObjMgr class so as to indicate which part is the name and which part is the type of an object in its list.
* Investigating GLJPanel VS GLCanvas. The slow execution of pCSDT app using OpenGL graphics engine may be due to the use of GLJPanel rather than GLCanvas. See here and here for the relevant literature.
** Experimenting replacing GLJPanel with GLCanvas (finally find out that it doesn't help at all on machines in VCC south, but just the Linux machine in my lab)
** Enabling Java2D OpenGL pipeline (isn't stable)

In Progress:
* Update GG app