I did it! I've been messing around with 50 odd engines trying to find one that suits me. I've tried Irrlicht twice but had to stop due to issues (such as no .3dx animation (which I can work around but I'm lazy) and the more important issue of handling multiple keystrokes (which I have seen some fixes for but I had trouble using, and I'm no super programmer...).
So this idea hit me... I remembered I could supply an IntPtr to IrrlichDevice constructor, and I also then remembered calling device.Run() didn't invoke an unseeable loop somewhere, that I could step it once...
So I copied all my code into an XNA WindowsGame project and voila! I now have multiple keystroke handling!
The only issue I have, and this happened when using straight C# as well (no XNA), is that the example terrain suffers some popping of triangles depending on the camera angle. I know it's a Vista only problem because I only just got Vista and I used to run this exact code on XP without trouble.
I was just wondering if anyone else has seen this triangle popping under vista and if there is a quick fix I can plug in on my end?
All in all, I am very happy to get Irrlicht working in XNA. Good job Nicko!
Irrlicht.NET - XNA - Vista
I ran it under XP and got some wierd TV like static every few seconds, so I pulled the code and put it in a normal Windows Form, but used XNA Input features and it works beautifully (under XP, not tried Vista yet).
And now its making a liar of me... the XNA version on XP is running fine now... It's possibly due to my comp, which BSoD's every day (my vista comp is fine)... Was having some application vanishes before I restarted and turned the aircon on... I may have done my test before this, which would explain the strange tv static...
/boggle
And now its making a liar of me... the XNA version on XP is running fine now... It's possibly due to my comp, which BSoD's every day (my vista comp is fine)... Was having some application vanishes before I restarted and turned the aircon on... I may have done my test before this, which would explain the strange tv static...
/boggle