Category Archives: VISIBILITY

Phil 2.1.12

8:30 – 4:30 FP

  • Starting the OpenGl SuperBible 5th Edition, which covers OpenGl 3.0+
  • Hmm. Can’t check out code from svn http://oglsuperbible5.googlecode.com/svn/trunk/
    • Here’s the useful SVN fix of the week: “SVN uses a few HTTP commands that not every web proxy and/or firewall understands, which can lead to errors. There is one thing that might fix this for you, and that is to use HTTPS instead of HTTP, because then the 
      connection is encrypted and any proxy/firewall in between can’t mess with the content. I checked, and the server provides HTTPS access, although that is not necessarily always the case. “
  • Ok, after some heroic struggling with getting libraries to behave and dealing with static declarations, I can now draw a simple triangle. I’m going to try to do the same in FLTK now, since I’d like to get away from static libraries…
    • Got a basic Shader Window framework compiled. Will test tomorrow.

Kristi 01.27.2012 – Visibility

Visibility documentation for Program Assistant sent to Mike and Dong for Rollout.

Dong/Mike assisted me with TortoiseSVN – username/password.

Transferred all documentation documents to server.

Mike and Dong to work on uploading documentation to classified server for customer use.

Phil 1.18.12

8:30 – 4:30 FP

    • Asked Dong to look at setting up the first pass of the chart applet using the potatoland.org/gl code as a possible foundation, since it seems to be the best example of working text overlays.
    • Getting openGL running in FLTK, then porting the hand
    • Got the CubeView program compiling and linking. To do this, I pointed the “additional include directories” to point to C:/FLTK/branch1.3, which has FL/ underneath it. Then I pointed the “additional libraries directories” to C:/FLTK/branch1.3/lib. The last thing I had to do was point at the proper libraries (note that these are debug directories):
      • glu32.lib
      • fltkgl.lib
      • fltkd.lib
      • wsock32.lib
      • comctl32.lib
      • opengl32.lib
    • Once I got the system running, there were piles of “PDB” warning messages (i.e. “‘C:WindowsSysWOW64ntdll.dll’, Cannot find or open the PDB file “). You can fix these by getting the debug symbol tables from microsoft:
      •  tools->options…
        • Choose Debugging->Symbols from the list, then check “Microsoft Symbol Servers” then click OK and rebuild. Here’s a screenshot
    • Having an odd problem with setting the background color. I need to set the glClearColor() in the predraw, before every frame, otherwise it comes up as black. Not sure why.
      • Turns out that in FLTK GL windows, the graphics context is reset after things like a resize. THis means that the init code can’t be in the constructor, but rather needs to be in the draw function in the following way:
	drawUniverse(){
		if(!valid()){
			glEnv->init(w(), h()); 	// called when the context
						// has been (re)created
		}
		glEnv->predraw(w(), h());
		draw();
	}

Phil 1.17.12

8:00 – 5:00FP

  • Continuing on with collision detection
  • But first, I need to be able to see a text overlay. Looks like lwjgl has this with their Slick-Util lib. Ugh. This is getting harder than I was hoping….
  • Moving hand code over to MSVC, after installing updates
    • Building the debug and release dlls
  • Another take on 3D. This works in your iPhone: http://css-3d.org/. An example of a website that uses this is http://acko.net/. And there’s http://mrdoob.github.com/three.js/, also. It’s a JavaScript library that renders to WebGL or SVG
  • Getting Started with Three.js

Dong Shin 01.13.2012

  • LoadApplet GWT Application
    • http://www.fgmdev.com:8080/LoadApplet/LoadApplet.html
    • loads Java Applet specified in the main
    • uses JSNI to communicate with the Applet
    • Test3DApplet.java has examples of calling Applet’s methods and specifying the callback from the Applet
      • public native void setColor(String color) /*-{
        $wnd.document.getElementById(“myApplet”).getApplet().setColor(color);
        }-*/;

        public native void getFramerate(Test3DApplet x) /*-{
        $wnd.showFrameRate = function(frameRateStr) {
        x.@com.fgm.loadApplet.client.applet.Test3DApplet::showFrameRate(Ljava/lang/String;)(frameRateStr);
        }
        //        $wnd.showFrameRate(“01000”);
        $wnd.document.getElementById(‘myApplet’).getApplet().getFrameRate(
        “showFrameRate”);
        }-*/;

        public void showFrameRate(String frameRateStr) {
        GWT.log(“frameRate: ” + frameRateStr);
        frameLabel.setText(“Framerate: ” + frameRateStr);
        }

    • checked into /Sandbox_folders/DONG_SANDBOX/LoadApplet

Dong Shin 01.06.2012

  • deployed the latest PPM and PA
  • reviewed with Tangie
    • She wants to be able to review the budget amounts info for individual sub projects
  • working on viewing budget amount of sub projects
    • query to retrieve yearly budget amounts
    • SELECT c.uid , SUM(amount), year
      FROM budget_centers c
      LEFT JOIN budget_amounts a
      ON c.uid = a.budget_center_id
      WHERE project_id = 99
      GROUP BY year
    • made windows non-modal, can view multiple projects. close all on Create Project panel close

Phil 1.5.12

8:30 – 4:30 VISIBILITY

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.

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

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.

Phil 1.2.12

8:30 – 4:30 VISIBILITY(?)

Phil 12.30.11

  • 8:30 – 4:30 VISIBILITY
    • Going through the LWJGL tutorials here.
    • Got a window test up and running with keyboard interaction and (fast!) animation.
    • Added Applet capability to the above. It runs in the Eclipse Applet viewer. Now I need to get it to run in Tomcat…
    • Sun/Oracles Applet development examples
    • Deploying with the LWJGL Applet Loader 1 – Basics
    • Success! Using basicapplet.html in Phil/applet/lwjgl folder. Need to look at how to send data between the wrapper and the 3D app, since it’s going through the lwjgl applet wrapper.

Dong Shin 12.29.2011

  • working at home
  • nicer interface on upgraded blog!
  • working on Project Manager GWT
    • finally got the financial data displayed just like PPM
      • fetching all the data at once, getProjectDetails. This returns all Budget Centers, Budget Amounts, and Obligations/Outlays
    • NULL fields displaying 0.0, need to work on parsing data correctly
    • works really fast in compiled mode, unlike slow PPM
    • working on data formatting/editing