IrrDelphi

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Post Reply
billwillman
Posts: 4
Joined: Fri Mar 12, 2010 12:35 pm

IrrDelphi

Post by billwillman »

Thinks to Irrlicht,I wil rebuild Irrlicht in Delphi, Now rebuild 30%

Simple Code like this:

Code: Select all

FDevice := createDevice(EDT_DIRECT3D9, Point(ClientWidth, ClientHeight), Handle, 16,
    false, true, false, nil);
   with FDevice.getSceneManager.addCameraSceneNodeMaya(nil, -100, 100, 100) do
  begin
    Position := Point3(0, 0, -100);
    //Target := Point3(-10, 0, 0);
  end;


  T1 := FDevice.getVideoDriver.getTexture('d:\Logo.bmp');

  N := FDevice.getSceneManager.addCubeSceneNode(Point3(0, 0, 0), tp3Null, Point3(1, 1,1), 5);
  N.setMaterialTexture(0, T1);

  N := NIL;
  for i := 0 to  99 do
  begin
    N := FDevice.getSceneManager.addCubeSceneNode(Point3(-15, 0, 0), tp3Null, Point3(1, 1,1), 5, N);
    N.setMaterialTexture(0, T1);
  end;
  N := nil;
  for i := 0 to 99 do
  begin
    N := FDevice.getSceneManager.addCubeSceneNode(Point3(0, 0, -15), tp3Null, Point3(1, 1,1), 5, N);
    N.setMaterialTexture(0, T1);
  end;
IrrDelphi
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Post by IrrDelphi »

I can't understand question. Attach minimal project or add more info.

And please, go to project topic http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=36182
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Hmm, from a first impression it looks like yet another approach for adding a binding of Irrlicht under Delphi. Hopefully, you get your actions merged at some point.
billwillman
Posts: 4
Joined: Fri Mar 12, 2010 12:35 pm

Post by billwillman »

hybrid, yes, i want to change Irrlicht C++ Source to Delphi Source.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Then you should follow the link above, where such a wrapper is already provided.
IrrDelphi
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Post by IrrDelphi »

hybrid, maybe he want rewrite Irrlicht from Cpp to Delphi :shock:
billwillman
Posts: 4
Joined: Fri Mar 12, 2010 12:35 pm

Post by billwillman »

Yes, I rewrite Irrlitch in Delphi. it can run.
Now, it support

Mesh: MD2, MD3, 3DS.

Node: CubeSceneNode, BillBoardSceneNode, CameraSceneNode, SphereSceneNode, LightSceneNode, MeshSceneNode, EmptySceneNode

Animate: SceneNodeAnimatorCameraMaya, SceneNodeAnimatorDelete,
SceneNodeAnimatorFlyCircle, SceneNodeAnimatorFlyStraight,
SceneNodeAnimatorFollowSpline, SceneNodeAnimatorRotation,
SceneNodeAnimatorTexture.

FileSystem: TarReader, PakReader

Image: Bmp.

Shader: D3D9HLSLMaterialRenderer, D3D9MaterialRender, D3D9NormalMapRenderer, D3D9ParallaxMapRenderer, D3D9ShaderMaterialRenderer
IrrDelphi
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Post by IrrDelphi »

What for? :shock:
Can you show few examples?
billwillman
Posts: 4
Joined: Fri Mar 12, 2010 12:35 pm

Post by billwillman »

this is Pragram's Screen Picture

Image
Post Reply