͂ȂɁH

gg Irrlicht 舵߂̃vOCłB

̓L

EDirectX9 pō\zĂ܂BRpCɂ DirectX9 SDK KvłB

  DirectX9 gȂꍇ drawdevice ݒ莞ɗO܂

EIrrlicht ̃t@CANZX͋gg̃t@CԂɑ΂čs܂

g

1. Window  drawDevice ɑ΂Ďw\ł

-------------------------------------------
Plugins.link("krrlicht.dll");
var WIDTH=800;
var HEIGHT=600;
class MyWindow extends Window {
  var base;
  function MyWindow() {
    super.Window();
    setInnerSize(WIDTH, HEIGHT);
    // drawdevice ւ
    drawDevice = new Irrlicht.DrawDevice(WIDTH,HEIGHT);
     // vC}C
    base = new Layer(this,null);
    base.setSize(WIDTH,HEIGHT);
    add(base);
  }
};
-------------------------------------------

2. Cɑ΂ĕ`悪sł܂

-------------------------------------------
var win = new Window();
win.visible = true;
var irr = new Irrlicht.SimpleDevice(win, 100, 100);
var layer = new Layer(win, null);

// XXX xCxg[vɓăfoCX̉ĂsKv
irr.updateToLayer(layer);
-------------------------------------------

3. qEChEƂ Irrlicht zuł܂

-------------------------------------------
var win = new Window();
win.visible = true;
var irr = new Irrlicht.Window(win, 10, 10, 100, 100);
irr.visible = true;
-------------------------------------------

ꂼ̋@\ɂĂ manual.tjs QƂĂ

̗\

EV[n̎
EV[䏈
Eev~eBu̎

EIrrlicht Ǘł̃[r[Đ̎
@ł krmovie Ƃ܂Agł悤ȂƗzǁc

CZX

Irrlicht  zlib/libpng X^C̃CZXłB

  The Irrlicht Engine License
  ===========================

  Copyright (C) 2002-2009 Nikolaus Gebhardt

  This software is provided 'as-is', without any express or implied
  warranty.  In no event will the authors be held liable for any damages
  arising from the use of this software.

  Permission is granted to anyone to use this software for any purpose,
  including commercial applications, and to alter it and redistribute it
  freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not
     claim that you wrote the original software. If you use this software
     in a product, an acknowledgement in the product documentation would be
     appreciated but is not required.
  2. Altered source versions must be clearly marked as such, and must not be
     misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

̃vOĈ̃CZX͋gg{̂ɏĂB
