Monthly Archives: March 2012

Phil 3.2.12

8:30 – 1:30 FP

  • Really good page: http://www.opengl.org/wiki/Common_Mistakes
  • Advanced buffers – done
  • Fragment operations (Chapter 10)
    • Order-independent transparency using multisample buffers. Looks pretty straightforward. Need to add that. Possibly to ScreenRepaint?
  • Advanced Shader Usage (Chapter 11)
    • Physical simulation, such as meshes. Should be nice for network visualization…
  • Found the reason for why screenwidth must be a multiple of 4 (from http://www.opengl.org/wiki/Common_Mistakes#Texture_upload_and_pixel_reads):
  • Texture upload and pixel reads

    You create a texture and upload the pixels with glTexImage2D (or glTexImage1D, glTexImage3D). However, the program crashes on upload, or there seems to be diagonal lines going through the resulting image. This is because the alignment of each horizontal line of your pixel array is not multiple of 4. That is, each line of your pixel data is not a multiple of 4. This typically happens to users loading an image that is of the RGB or BGR format (in other words, 24 bpp image).
    Example, your image width = 401 and height = 500. The height doesn’t matter. What matters is the width. If we do the math, 401 pixels x 3 bytes = 1203. Is 1203 divisible by 4? In this case, the image’s data alignment is not 4. The question now is, is 1203 divisible by 1? Yes, so the alignment is 1 so you should call glPixelStorei(GL_UNPACK_ALIGNMENT, 1). The default is glPixelStorei(GL_UNPACK_ALIGNMENT, 4). Unpacking means sending data from client side (the client is you) to OpenGL.
    And if you are interested, most GPUs like chunks of 4 bytes. In other words, RGBA or BGRA is prefered. RGB and BGR is considered bizarre since most GPUs, most CPUs and any other kind of chip don’t handle 24 bits. This means, the driver converts your RGB or BGR to what the GPU prefers, which typically is BGRA.
    Similarly, if you read a buffer with glReadPixels, you might get similar problems. There is a GL_PACK_ALIGNMENT just like the GL_UNPACK_ALIGNMENT. The default GL_PACK_ALIGNMENT is 4 which means each horizontal line must be a multiple of 4 in size. If you read the buffer with a format such as BGRA or RGBA you won’t have any problems since the line is already a multiple of 4. If you read it in a format such as BGR or RGB then you risk running into this problem.
    The GL_PACK_ALIGNMENT can only be 1, 2, 4, or 8. So an alignment of 3 is not allowed. You could just change the GL_PACK_ALIGNMENT to 1. Or you can pad your buffer out so that each line, even with only 3 values per pixel, is a multiple of 4.

     

 

Tom DeVito 3.01.2012

Start: 10:00

  • Played around with the Pad2Pad software.  The last one I did was realtively simple so I had to figure out some of the tricks before drawing this board
  • The logical connection tool will auto draw the traces after you set what needs to be connected to what.
  • I want to use jumpers for the I2C addressing.  I found the slot, I will have to see where I can find the hardware for that though.
  • Drew up the basic parts that need to be included.  Measurements were done so hopefully I can mount the midi and large amplifier boards on standoffs to the board.  I am not sure but I might be able to print it out and see if the holes match up.
  • R rotates the piece you are placing.
  • Started drawing out the pre-amp circuit on the pad2pad program.  I figured it was best to start with the hardest part so if I have to move anything it won’t be that.

End: 6:00

Mike 3.1.2012

  • Usual server and DB backups
  • Imported a new version of the connection tester application built with different libraries, it works!  Now I need to figure out the differences.
  • Got status back on my Flash Builder request, i am still on the wait list
  • Compiling Feb status reports for the team
  • Had some issues with my internal email client, contacted EA and got it resolved
  • Still trying to work out issues applying patches to the site server, got directions to submit an EA ticket and submitted one
  • Dong found some sdk differences in the builds so I will test changing them to match PPM
  • Flex builder was apparently using libraries from 2 different SDKs for visiblity, account managers, and ingest manager (one dictated by maven and one by flex builder).  So i went through and remove one of them and rebuilt them.  They work on my local machine but that’s not promise the problem is fixed.
  • Also made a build of each using purely maven.  Watermarks may appear but if it fixes the connectivity issues we can address the watermark problems.
  • Hudson is still running on fgmdev.com but all the assigned builds got wiped out 😦  I added the vis data nav application and it built fine.  I probably won’t add the others but it’s always an option.
  • Hudson admin seems to be open to anyone as I didn’t have to log in, so either the builds were lost during the transfer of servers or some kind individual did some housekeeping for us.

Phil 3.1.12

8:30 – 10:30 VISIBILITY

  • Set up the root index page to point at working versions of the VISIBILITY system until we get everything working on one server.
  • Asked for the slides to the meeting yesterday. I’m thinking about using it to set up the slideshow for the demo.
  • Pinged Laurie about getting date information so that I can finish submitting my forms.

10:30 – 12:30 FP

  • Back to reading through the screen buffers chapter.

12:30 – 2:30 interview

2:30 – 4:30 FP

  • Some reading, some walking through the circuit board design with Tom

Dong Shin 03.01.2012

  • Feb 2012 Status
    • Bug Fixes
      • Fixed Auto-fill not working in Financial Data Entry
      • Fixed Contacts not populating properly in Funding Request
      • Fixed Project Assistant not showing correct status
    • deployment
      • assist in deployment of Project Portfolio Manager/Project Assistant
      • built new Visibility and VisibilityScripting for demo
      • trouble-shooting Visibility deployment issues
    • reverse engineeered Project Portfolio database to use in GWT/Spring using Spring Roo and Hibernate Tools
    • Struts/Spring/Hibernate training
    • working on Project Portfolio Manager and Project Assistant using GWT/Spring