• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
 

I was struggling to build collada-dom on Linux machine for a while. But the task turned out simple after I found the right solution.

The solution is here;

   1  $ make os=linux

That's too simple compared with my time spent for it :'-(

posted by Png takiuchi on Tue 27 Oct 2009 at 15:44 available in PDF

cmakeをbuildするときはbootstrapファイルを実行しますが、prefixを指定する場合は以下の部分を書き換えます。

   1      cmake_default_prefix="c:/Program Files/CMake"
   2    fi
   3  else
   4    cmake_default_prefix="/usr/local" # <= ここ
   5  fi

あとは make install すればok.

posted by Png takiuchi on Tue 27 Oct 2009 at 09:16 available in PDF

原子と電磁波の相互作用

  • トムソン散乱
  • コンプトン散乱
  • ラマン散乱

分子レベルの相互作用

  • レイリー散乱
  • ミー散乱

See Also

posted by Png takiuchi on Sun 25 Oct 2009 at 08:06 available in PDF

gluLookAtでMultiplyされる行列を自前で作る場合、以下のようにすればokです。

If you want to get the matrix that is generated by gluLookAt, here is the way to do it.

   1    //gluLookAt(
   2    //  eye[0], eye[1], eye[2],
   3    //  at[0], at[1], at[2],
   4    //  0.0, 1.0, 0.0);
   5    // equivalent pseudo code
   6    float lookat[16];
   7    midentity(lookat);
   8    vec3 *s = (vec3*)&lookat[0];
   9    vec3 *u = (vec3*)&lookat[4];
  10    vec3 *f = (vec3*)&lookat[8];
  11    vec3 *t = (vec3*)&lookat[12];
  12    vcpy(t, &eye);
  13    vneg(t);
  14    vsub(f, &at, &eye);
  15    vnormalize(f);    
  16    vec3 up = {0, 1, 0};
  17    vcross(s, f, &up);
  18    vcross(u, s, f);  
  19    vneg(f);      
  20    glMultMatrixf(lookat);

posted by Png takiuchi on Sun 16 Aug 2009 at 14:44 available in PDF

I've preferred FLTK for easy development of GUI tool. It has function to treat OpenGL easily, but it doesn't provide box but only window as "Fl_Gl_Window". If you need OpenGL in the box, since it is not supplied as its package, so thus you must use the "Fl_Gl_Box".

簡単なGUI toolを作るときには、ながらくFLTKを愛用してきました。 特にOpenGLを簡単に利用できるので、ちょっとした実験には最適です。 しかし、FLTKのパッケージには、OpenGL用にWindowを作るものはあるのですが、Box (Windowの中に配置される子Windowのようなもの)はありませんでした。そのような状況では、Fl_Gl_Boxを使う必要があります。

Unfortunately, it had been lost in the internet space (the original author of the library had used GeoCities and the site had been vanished), but I found it here.

残念ながら、Fl_Gl_Boxの配布サイトは消えてしまったようです。 しかし、幸運にも Fl_Gl_Boxのソースを以下に発見しました。

http://www.gnu-science.org/phpBB3/viewtopic.php?f=7&t=45#p1268

I'm feeling lucky :-)

ラッキーですね。

posted by Png takiuchi on Tue 4 Aug 2009 at 20:20 available in PDF

CMakeList.txt file tends to have piles of options and seems very complicated. For such situations, you can display configurable options by typing this command.

   1  % cmake -L

You will get very clear result. It's a preferable feature of CMake.

posted by Png takiuchi on Mon 3 Aug 2009 at 07:11 available in PDF

At first, you download files of Collada from here

http://sourceforge.net/projects/collada-dom/

It includes collada-dom, but you must build it before using.

To build the package, you must unpack the zip and move to dom/ directory. And

   1  % make
   2  % make install

That's all.

posted by Png takiuchi on Sun 2 Aug 2009 at 18:44 available in PDF

Fredholm型積分方程式(第二種)


\phi(x) = f(x) + \lambda \int_a^b K(x,t)\,\phi(t)\,dt

Volterra型積分方程式(第二種)


\phi(x) = f(x) + \lambda \int_a^x K(x,t)\,\phi(t)\,dt

posted by Png takiuchi on Tue 21 Jul 2009 at 18:26 available in PDF

Through my investigation for writing about the parallel computing, I found there are many "incoherences" and "inconsistencies" all over various terminologies regarding parallel computing. I guess surrounding environment is so fastly changing, the center of excellence of this research field has been moved very frequently.

Most of significant works had been done in the era of sequential computing. But for very near future, we will be going into the era of parallel computing. The terms that had been spawned in the hypothetic world would get real body and require coherent and consistent definition of themselves.

posted by Png takiuchi on Sun 28 Jun 2009 at 02:38 available in PDF

It's not about ambient occlusion. It's about concurrent computing.

http://en.wikipedia.org/wiki/Ambient_calculus

The ambient calculus is a process calculus that is conscious of mobility of processes.

posted by Png takiuchi on Fri 26 Jun 2009 at 17:29 available in PDF
Contents
How to build collada-dom on Linux
cmakeをhomeの下にインストールする手順のメモ
原子レベルのレンダリングに関するメモ
gluLookAtの等価表現
Where the Fl_Gl_Box is / Fl_Gl_Boxのありか
How to display the list of options for CMake
How to install collada-dom to MacOS X
積分方程式の分類について
Terminology of parallel computing needs recomposition
Memo of Ambient Calculus
Comments
Roderick: I've compiled the current version from github, ... 8/24
swissarmychainsaw: How do I get around this error message? Error T... 8/20
aljoscha: Is there anything preventing you from making th... '10-3
Genki Takiuchi: Thank you for the information. I am thinking G... '09-6
Alex: I recommend heroku.com for small ruby web servi... '09-6
Trackbacks
cmake インストール - Google 検索 '10-4
cmake インストール - Google 検索 '10-4
TerminalCopyOnSelect.bundle - Google Search '10-4
Adapter 4 App Engine - Recherche Google '10-4
dm adapter example - Google Search '10-4
Services from s21g
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
PokéDia
日めくり手帳アプリ
Formula
ブログに数式を埋め込める数式コミュニティ