## Archive for May, 2012

### girl who extorted pepsi vp

Thursday, May 31st, 2012

### the oberlin of my M.I.N.D.

Thursday, May 31st, 2012

### I love you and respect you very much. But I will kill you dead before this day ends

Thursday, May 31st, 2012

### Hat restaurant

Thursday, May 31st, 2012

### Two nudes in sombreros

Thursday, May 31st, 2012

### Small RGB texture in openGL all white

Monday, May 21st, 2012

I was trying to load a small 2 pixel by 2 pixel in opengl and damned if it didn’t keep coming out all white. My mistake was storing the texture as RGB (3 floats per pixel) and not setting:


glPixelStorei(GL_UNPACK_ALIGNMENT, 1);


since opengl expects alignment of 4 (which would be fine for RGBA for example).

### SPARticus

Sunday, May 13th, 2012

### Setting up a local website with server-side scripts on Mac OS X

Sunday, May 13th, 2012

Try to go to http://localhost/. If you don’t find anything there then turn on System Preferences > Sharing > Web Sharing.

On my 10.7 machine the default site location is at /Library/WebServer/Documents/index.html.en You should be able to edit this file and see that http://localhost/ changes.

Now, we’d like to have an arbitrary folder contain our website, so I’ll use ~/Documents/IGL-website. Copy your websites source or put some source in this folder.

Now we setup the redirect necessary to send some local domain name (we’ll use localigl to our website at ~/Documents/IGL-website. Open up the file /private/etc/hosts and add the line:


127.0.0.1       localigl


Now you should see that going to http://localigl/ also directs to /Library/WebServer/Documents/index.html.en

Now edit the file
/private/etc/apache2/users/YOURUSERNAME.conf


NameVirtualHost *:80

Options Indexes MultiViews Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>

<VirtualHost *:80>
ServerName localhost
</VirtualHost>

Options Indexes MultiViews Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>

<VirtualHost *:80>
ServerName localigl
</VirtualHost>


You’ll need to add executable permissions to the path preceding your website, so for my example this means:


chmod +x ~/Documents


To get php scripts working correctly, in /private/etc/apache2/httpd.conf uncomment the following line to look like this:




Now, you must restart your apache server. The easiest way is to toggle System Preferences > Sharing > Web Sharing.

With all this, you should now be able to go to http://localigl/ and see your (possibly php-based) webpage.

### Switch Google web search to scholar search

Friday, May 11th, 2012

Google removed “Scholar” from the drop down list of choices when searching the web. I had become very used to searching for something, either from the main google page or my browsers address bar and then switching the search to google scholar. Now I would have to first go to scholar.google.com and retype the search query or copy and paste the query.

Finally instead I found the way to quickly change the URL at the top of the web search to switch it to a scholar search. If this is your web search url:




just replace search with scholar




### Fast Automatic Skinning Transformations project page

Wednesday, May 9th, 2012

My colleagues, Ilya Baran, Ladislav Kavan, Jovan Popović, Olga Sorkine, and I have just submitted the camera ready version of paper “Fast Automatic Skinning Transformations” to be presented at ACM SIGGRAPH 2012. I’ve put up a fast automatic skinning transformations page where you can find the preprint version of the article, videos and more to come.

### Abstract

Skinning transformations are a popular way to articulate shapes and characters. However, traditional animation interfaces require all of the skinning transformations to be specified explicitly, typically using a control structure (a rig). We propose a system where the user specifies only a subset of the degrees of freedom and the rest are automatically inferred using nonlinear, rigidity energies. By utilizing a low-order model and reformulating our energy functions accordingly, our algorithm runs orders of magnitude faster than previous methods without compromising quality. In addition to the immediate boosts in performance for existing modeling and real time animation tools, our approach also opens the door to new modes of control: disconnected skeletons combined with shape-aware inverse kinematics. With automatically generated skinning weights, our method can also be used for fast variational shape modeling.

Update: The full resolution version of the above teaser.

Update: The accompanying video (with narration)