Friday, July 23, 2010

GPU Ray Tracing

Just a note that it looks like there will be a GPU ray tracing birds-of-a-feather session at this year's SIGGRAPH. This year the convention is being held in L.A. I'm not planning on going to the convention, but it looks interesting.

Monday, July 12, 2010

3-D with Javascript

Mr. doob's blog has a library to do 3-d with javascript. I plan on checking it out later.

It is available for download at Github.

Sunday, July 11, 2010

Mac OS X OpenCV

Tonight I tried out the Mac OS X OpenCV port, version 2.0.1. An installation walkthrough specifically for Macs is available at http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port. I deviated from their instructions by downloading the tar directly from Sourceforge. I didn't have Mac Ports so I downloaded it next. Then I used the port command to retrieve cmake and built OpenCV by following the settings at the site above. Building it with cmake rather than the easier path they mentioned seemed like the path to enable the use of a webcam I'd like to try it on. However, the sample FaceTracker app chose the iSight camera.

To get the FaceTracker sample to compile, I needed to make some changes to the include files in the FaceTracker.cpp file. I changed #include<OpenCV/OpenCV.h> to #include <cv.h> and added #include <highgui.h> for the window calls. The Willow Garage site already had the instructions on setting the header search path so that these new header files could be found.

Also, I needed to update the OpenCV frameworks group in the given X-code project to include libcv.dylib, libcvaux.dylib, etc. This again was covered at Willow Garage under the section titled Using OpenCV libraries in an X Code project.

So in the end, OpenCV worked. I'd like to cross compile for the iPhone next. Some places on the web with more information about this topic include Yoshimasa Niwa's site and Info dan's site.

Template change

The template for this blog was updated today. This is the first template update since the start of it. The new template has some features I didn't notice in the previous blog, but I didn't really look much before now. For instance, it has a gadget manager.