2011-03-01から1ヶ月間の記事一覧

Eigen geometry module

http://eigen.tuxfamily.org/dox/TutorialGeometry.html

Qt & OpenGL

http://doc.qt.nokia.com/latest/qtopengl.html qmake -project.proファイルに QT += openglを追加。そして、 qmake make

OpenGL手順

GL_MODELVIEW、GL_PROJECTIONという大事な二つのモードがあり、切り替えて使う。切り替えはglMatrixMode()を用いて行う。どこかに変換行列のスタックがある。それぞれのモードにそれぞれのスタックが用意されている。変換行列をスタックからモードの変換行列…

OpenGL Programming Guide

赤本の古いやつ。http://glprogramming.com/red/ Chapter 3 (http://glprogramming.com/red/chapter03.html) 主要な操作 Viewing: 描画する空間内の体積の方向をセットする Modeling: モデルを空間内に置く Projection: 描画する体積の形を決める Viewport: …

openssh-server in Ubuntu 10.10がおかしい

どこがおかしいかわからないけど、何かおかしい。dropbearを代わりに使ったら状況は改善した。sftpに関してはopenssh-server同梱のものを使えばよいらしい。openssh-server, dropbearの順でインストールし、 /etc/default/dropbearのNO_START=0を設定する。…

abinit-6.6.1 install

こんな感じ ./configure --prefix=~/code/abinit --enable-mpi --with-mpi-prefix=/usr/local/calc/openmpi --enable-64bit-flagsIntel compilerのPATHとLD_LIBRARY_PATH、openmpiのLD_LIBRARY_PATHを通しておく必要がある。

Ubuntuのautomountを止める

gconf-editor from the command line. Then go to apps -> nautilus -> preferences -> media_automount http://ubuntuforums.org/showthread.php?p=6426859