Page 2 of 4

Excellent job!

Posted: Thu Mar 11, 2010 1:19 am
by dbyoung
Excellent job! thank!

Posted: Sun Apr 25, 2010 4:07 pm
by IrrDelphi
dbyoung, thanks!

All, download new 0.03 version from first post with new features!

Posted: Wed Aug 18, 2010 8:04 pm
by vgo
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...

Posted: Mon Jan 03, 2011 11:41 pm
by DOCa Cola
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

Posted: Tue Jan 11, 2011 2:10 pm
by IrrDelphi
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

Posted: Sat Jan 22, 2011 9:32 pm
by Drizztfun
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

Posted: Mon Jan 24, 2011 8:10 am
by IrrDelphi
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;
....

Posted: Thu Jan 27, 2011 11:22 am
by IrrDelphi
New version in first post :)

Posted: Thu Jan 27, 2011 12:50 pm
by bitplane
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!

Posted: Thu Jan 27, 2011 12:58 pm
by IrrDelphi
bitplane, Okay, not today, but very soon :)

Good JOB, from a Hong Kong User

Posted: Mon Feb 07, 2011 4:26 pm
by william
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.

Re: Good JOB, from a Hong Kong User

Posted: Tue Feb 08, 2011 2:39 pm
by IrrDelphi
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.

Thank IrrDelphi

Posted: Sat Feb 12, 2011 5:37 am
by dbyoung
gree bitplane
hope quick
thank IrrDelphi!

Posted: Tue Feb 15, 2011 2:04 pm
by IrrDelphi

Posted: Tue Apr 19, 2011 8:19 am
by wlion
: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);