Archive for May, 2012

girl who extorted pepsi vp

Thursday, May 31st, 2012

girl who extorted pepsi vp

http://alecjacobson.com/art/digital/
http://alecjacobson.com/art/

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

Thursday, May 31st, 2012

oberlin of my mind

http://alecjacobson.com/art/house/
http://alecjacobson.com/art/

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

Thursday, May 31st, 2012

Hemingway

http://alecjacobson.com/art/house/
http://alecjacobson.com/art/

Hat restaurant

Thursday, May 31st, 2012

Hat restaurant

http://alecjacobson.com/art/house/
http://alecjacobson.com/art/

Two nudes in sombreros

Thursday, May 31st, 2012

Two nudes in sombreros

http://alecjacobson.com/art/house/
http://alecjacobson.com/art/

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

spar lady winking

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
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.

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:


http://www.google.com/search?hl=en&client=safari&rls=en&q=Fast+Automatic+Skinning+Transformations&oq=Fast+Automatic+Skinning+Transformations&aq=f&aqi=p-p1&aql=&gs_l=serp.3..35i39.2032.2203.0.2388.2.2.0.0.0.0.70.124.2.2.0...0.0.wzP9uU0hsCc

just replace search with scholar


http://www.google.com/scholar?hl=en&client=safari&rls=en&q=Fast+Automatic+Skinning+Transformations&oq=Fast+Automatic+Skinning+Transformations&aq=f&aqi=p-p1&aql=&gs_l=serp.3..35i39.2032.2203.0.2388.2.2.0.0.0.0.70.124.2.2.0...0.0.wzP9uU0hsCc

Fast Automatic Skinning Transformations project page

Wednesday, May 9th, 2012


100 Armadillos animated in real time.

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)