Archive for May, 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:
since opengl expects alignment of 4 (which would be fine for RGBA for example).
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:
Now you should see that going to http://localigl/ also directs to
Now edit the file
and add the following:
NameVirtualHost *:80 <Directory "/Users/YOURUSERNAME/Sites/"> Options Indexes MultiViews Includes AllowOverride All Order allow,deny Allow from all </Directory> <VirtualHost *:80> ServerName localhost DocumentRoot /Users/YOURUSERNAME/Sites/ </VirtualHost> <Directory "/Users/YOURUSERNAME/Documents/IGL-website/"> Options Indexes MultiViews Includes AllowOverride All Order allow,deny Allow from all </Directory> <VirtualHost *:80> ServerName localigl DocumentRoot /Users/YOURUSERNAME/Documents/IGL-website/ </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:
LoadModule php5_module libexec/apache2/libphp5.so
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.
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:
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.
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)