1. EclipseでProce55ingするにはここを参照。
  2. プロジェクトを右クリックして[プロパティ]を選択
  3. [ビルドパス]の[ライブラリ]タブでjogl.jarの[Native library location]のところに、例えば
    C:\processing-0125-expert\libraries\opengl\library
    と入力する。
  4. さらに、JFrame内でPAppletをEmbeddedとして動作させるには、
    public static void main(String[] args) {
    JFrame f = new JFrame("Embedded");
    f.setLayout(new BorderLayout());
    PApplet embed = new PAppletのクラス名();
    f.add(embed, BorderLayout.CENTER);
    f.setSize(DIM, DIM);
    f.setVisible(true);
    // important to call this whenever embedding a PApplet.
    // It ensures that the animation thread is started and
    // that other internal variables are properly set.
    embed.init();
    }

    でOK。

One Response to “EclipseでProce55ingのOpenGLを使用する”

  1. Kevin Says:

    cialis soft tabs generic soft tabs cialis cialis soft tabs

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

return
odoruinu.net, softwares, drawings & photography by noradaiko.
all copyright(C) 2008 noradaiko.