Category Archives: Phil

8:00 – 3:00 SR

  • Rolled back the FA changes from Friday.
  • More server problems – things like lost endpoints. Restarted the VM, which seemed to fix it.
  • Bill didn’t get my email with the test code in it. Trying to send him the link instead.
  • Fixed the callout incorrect name bug.
  • Starting on Similarity Distance widget, since it’s a straightforward extension of the network widget. Speaking of which, I need to make NetworkCanvas and NetworkComponent JSON friendly.
  • Today’s progress: http://philfeldman.com/WebGLSimDistTest.html

Phil 6.20.14

8:00 – 4:00 SR

  • Deployed new FA
  • Tried Maria, but too complex to upgrade
  • Full backups and deploy to integration server
  • The test server appears to run at 30% the speed of the integration server. I wrote up a small executable that will run a system call in a specified loop and time the result (the default is “cd .” 500 times. It takes 8.64 seconds on my dev workstation 21 seconds on the laptop. Should be interesting to see what the servers do.
  • Set selected id to the UUID for the THREE object3D.
  • Adding animation for changes in height, inner radius and outer radius. The callout for the name is getting changed to the original name whenever height or radius is changed.
  • And here’s how you use textures to exchange gpu calculation: http://stackoverflow.com/questions/22940678/reading-data-from-shader

Phil 6.18.14

Phil 8:00 – 5:30 SR

  • Hey! A full day that I can work!
  • Backups
  • Integrating wedge size adjustment – animation, tooltips, add and delete, and rippling across all the wedges.
  • Got size adjustment working, but timing is off? Fixed.
  • Adding wedges is done.
  • Rippling is done.
  • Working on deleting wedges. Done, but there are some artifacts. Select doesn’t work the first time on post-deleted wedges. Auto naming is too naive – we can get multiple “Pie Chart 3”, for example. There needs to be an overall count or id field.
  • Anyway, here’s progress for testing on other machines: http://philfeldman.com/WebGLPieChartTest.html

Phil 6.17.14

8:00 – 1:00

  • DB Backups
  • Pie charts
    • Creating a WebGLPieWedgeComponent so that it can hang on to the current and desired angles and calculate transitions as needed.
    • Refactored wedge calculation to reside in WebGLPieWedgeComponent.
    • Hanging onto start and end angles as well as vertices.

Phil 6.13.14

8:00 – 5:00 SR

  • DB backups
  • Lenny is now security guy for our servers! And is getting the paperwork done that I was forbidden to do. And our authorization is now through September 9
  • Pie Charts!
    • Chart description (XML or JSON?). XML. And after a lot of flailing, I’m producing an xml description and reading it in. JS is very clunky WRT traversing XML. Basically every time I think it’s going to be something easy, JS makes it into an all day affair.
    • Tooltips
    • Calculations
    • resizing
    • Legend (in 2D overlay. Match the color to the Math.max(ambientColor, emissiveColor) of the wedge.
    • Labels (plus percent/value) with indicator lines leading to the outer top of the wedge. This means that labels will need to have a 3D offset option.
    • Upload?

Phil 6.12.14

8:00 – 12:00, 2:00 – 5:00 SR

  • DB backups
  • The svn backups failed yesterday when my computer decided to reset the connection to the server. Trying again.
  • Add compute vertex normals to the pie chart – see if we can get rid of the flat shading artifacts.
  • Make a pieChartCanvas – done. Now moving the wedge creation parts into the canvas.
  • Read in XML configuration files for pie chart and network chart.

Progress for today:

pieChartTest

Phil 6.11.14

8:00 – 5:00 SR

  • Backups
  • Found some issues in the slides where PM Actuals are greater than Obligations. Lenny’s looking into what might be the issue. Possibly dates.
  • Meeting with Tim?
  • Charts!
    • Fixed the non-square bug. I was stepping values by the wrong side.
    • Now, that’s a nifty looking pie chart if I say so myself:

pieChartTest

Phil 6.10.14

8:00 – 4:00

  • Backups
  • Submitted Lenny as our sever security guy.
  • Charts!
    • Worked on calculating the pie chart geometry. Close, but the math only works for squares. Somewhere is a bug that has the radius and angle sides confused. Tomorrow…
  • ToDo:
    • Create a pie chart canvas
    • Better reflection map.
    • Look into tessellation as a way to create a curved surface, otherwise a grid who’s y-axis conforms to a hemisphere should be fine.
    • Better background
    • Add lighting for selected wedge
    • Start on XML description of chart data
    • Animated transitions for value changes. Remember that the arc perimeter will have to travel on polar coordinates

Phil 6.9.14

8:00 – 3:00 SR

  • DB backups
  • Updated the queries used for briefing slides
  • Charts!
    • Working on UV mapping for the extruded shapes. Actually, it turns out that for reflection maps, I just need surface normals. Which is great, since that makes complex or irregular shapes much more straightforward.
    • A simple pie chart.

Phil 6.4.14

8:00 – 5:00 SR

  • DB Backups
  • Working on fixing subproject privileges.
  • Got a single frame freeze/unfreeze mode working in charts. Now I need to calculate a better initial state. Done.
  • Starting to look at extruding chart components. Got some working, looking at different examples. Will try this next: http://threejs.org/examples/webgl_geometry_shapes.html
  • And on a side note, it looks like the GPU can be used for simulaiton: http://threejs.org/examples/#webgl_gpgpu_birds