IrrDelphi (Irrlicht183, irrKlang130b) Delphi\Pascal headers

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki

Excellent job!

Postby dbyoung » Thu Mar 11, 2010 1:19 am

Excellent job! thank!
dbyoung
 
Posts: 2
Joined: Thu Mar 11, 2010 1:14 am

Postby IrrDelphi » Sun Apr 25, 2010 4:07 pm

dbyoung, thanks!

All, download new 0.03 version from first post with new features!
IrrDelphi
 
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Postby vgo » Wed Aug 18, 2010 8:04 pm

I tried to test this, but it just won't work. All the precompiled examples crash and same happens in Delphi too.

I have Win7 x64 and Delphi 2010, I fixed the PChar<>PAnsiChar issues in the header, but I guess that's not enough...

The precompiled original 32bit SDK examples work just fine.

...

Tested it again with Delphi 2010, this time on WinXP x86 and after replacing all PChar with PAnsiChar in the header I can compile and run the examples. I just can't figure out why it won't work on Win7 x64...
vgo
 
Posts: 1
Joined: Wed Aug 18, 2010 8:00 pm

Postby DOCa Cola » Mon Jan 03, 2011 11:41 pm

great work on the header files :)

noticed a small issue though. when using the classes from multiple functions, crashes would occur. this seems to be related to the thiscall function. i used the backup 'thiscall' function you still had there which is working fine.

hope you haven't given up on continuing with irrdelphi
DOCa Cola
 
Posts: 1
Joined: Tue Apr 13, 2010 7:48 am

Postby IrrDelphi » Tue Jan 11, 2011 2:10 pm

thanks for replies)

vgo, i will check it later
DOCa Cola, can you upload example?

This version also work with 1.7.2. New headers in progress
IrrDelphi
 
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Postby Drizztfun » Sat Jan 22, 2011 9:32 pm

Hello,

first, thank you very much for your effort, its running very well.

But i ran into one problem here

IMeshBuffer.GetVertices returns a PPointer, thats a Pointer to an Array of S3DVertex2TCoords

Does anybody here have a short sample of how to use that in Delphi? I mean how to access a specific entry of the returned array.

I have always avoided pointer-programming and now i am lost at this point.

Thank you very much in advance
Drizztfun
 
Posts: 1
Joined: Sat Jan 22, 2011 9:13 pm

Postby IrrDelphi » Mon Jan 24, 2011 8:10 am

Like this:
Code: Select all
....
var
 mb:        IMeshBuffer; // assigned meshbuffer
 mb_arr:  Pointer;
 v:           vector3df;
....
  mb_arr := mb.getVertices;
      case mb.getVertexType of
        EVT_STANDARD:
          v := PArrS3DVertex(mb_arr)[ index ].Pos;
        EVT_2TCOORDS:
          v := PArrS3DVertex2TCoords(mb_arr)[ index ].Vertex.Pos;
        end;
        EVT_TANGENTS:
          v := PArrS3DVertexTangents(mb_arr)[ index ].Vertex.Pos;
      end;
....
IrrDelphi
 
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Postby IrrDelphi » Thu Jan 27, 2011 11:22 am

New version in first post :)
IrrDelphi
 
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Postby bitplane » Thu Jan 27, 2011 12:50 pm

Can you make a SourceForge or Google Code project for this please? The sendspace links will expire after a while, but people might want to use your project years in the future!
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
User avatar
bitplane
Admin
 
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England

Postby IrrDelphi » Thu Jan 27, 2011 12:58 pm

bitplane, Okay, not today, but very soon :)
IrrDelphi
 
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Good JOB, from a Hong Kong User

Postby william » Mon Feb 07, 2011 4:26 pm

Nice to see the first Gaming Engineer I felt at lease satisfied with the demo so far. Is that possible add my email william_tseng@yahoo.com, and keep me posted, and I will be willing to be part of the member.

For recent release of 4.0,
I tried to complies under Delphi 7 Enterprise, but there has some code error there, so the header cannot install into packages.
If someone figure this out would be appreciated.
Complier Stops here:
... procedure getAs4Values(out vArray: dVector);
// operators
{$IFNDEF FPC}
class operator Positive(a: vector3df): vector3df;
class operator Negative(a: vector3df): vector3df;....
----------saids procedure/function expected.
william
 
Posts: 1
Joined: Mon Feb 07, 2011 4:19 pm

Re: Good JOB, from a Hong Kong User

Postby IrrDelphi » Tue Feb 08, 2011 2:39 pm

william wrote:Nice to see the first Gaming Engineer I felt at lease satisfied with the demo so far. Is that possible add my email william_tseng@yahoo.com, and keep me posted, and I will be willing to be part of the member.

For recent release of 4.0,
I tried to complies under Delphi 7 Enterprise, but there has some code error there, so the header cannot install into packages.
If someone figure this out would be appreciated.
Complier Stops here:
... procedure getAs4Values(out vArray: dVector);
// operators
{$IFNDEF FPC}
class operator Positive(a: vector3df): vector3df;
class operator Negative(a: vector3df): vector3df;....
----------saids procedure/function expected.


Thanks :). But i some do not understood about mail.. Minimal required version is Delphi 2005 (Turbo Delphi recommended). Delphi 7 not support "class operator" and etc.
IrrDelphi
 
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Thank IrrDelphi

Postby dbyoung » Sat Feb 12, 2011 5:37 am

gree bitplane
hope quick
thank IrrDelphi!
dbyoung
 
Posts: 2
Joined: Thu Mar 11, 2010 1:14 am

Postby IrrDelphi » Tue Feb 15, 2011 2:04 pm

IrrDelphi
 
Posts: 32
Joined: Tue Oct 13, 2009 10:59 am

Postby wlion » Tue Apr 19, 2011 8:19 am

:D Good Job!! Thanks to IrrDelphi.

But there still bugs in this port !

such as : not suport software rending when added cammera、cannot remove a custom SceneNode & Animator ( didn't implemented)、and also memory leak in Custom SceneNode.

holping for next update!!


About Memory Leak In Custom SceneNode:

May be you forgot to release memory while destroy the custom sceneNode:

Code: Select all
FreeAndNil(VParent.FVParent.FIReferenceCounted);
System.Dispose(VParent.FVParent);
System.Dispose(VParent);
wlion
 
Posts: 2
Joined: Thu Apr 14, 2011 8:17 am

PreviousNext

Return to Project Announcements

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest