Search found 18 matches

by Dr_Asik
Thu Nov 25, 2010 9:11 pm
Forum: Beginners Help
Topic: Rotation problem
Replies: 0
Views: 423

Rotation problem

I'd like to understand how the rotation of a node works in Irrlicht. What I'm trying to model is a billiards cue stick. It should always point towards the ball, but the user can rotate it around in sort of a hemisphere. The cue stick's reference point is its tip, the tip that hits the ball. So I've ...
by Dr_Asik
Thu Nov 11, 2010 9:54 pm
Forum: Beginners Help
Topic: Display custom bounding boxes
Replies: 3
Views: 376

Nvm, found it (m_driver->draw3DBox()). Now I have a weird problem. My nodes are set with no parent. I therefore assume getPosition() returns their absolute position, since having no parent == having 0,0,0 as the reference position, if I am not mistaken. Now when I draw them, my bounding boxes appear...
by Dr_Asik
Thu Nov 11, 2010 9:16 pm
Forum: Beginners Help
Topic: Display custom bounding boxes
Replies: 3
Views: 376

Display custom bounding boxes

Hi, I have created some custom bounding boxes (aabbox3df) based on some calculations on the geometry. Now I'd like to verify that they are correct by displaying them. I know that you can do: node->setDebugDataVisible(scene::EDS_BBOX); to show a model's bounding box, but here it's not a model's bound...
by Dr_Asik
Tue Nov 09, 2010 2:19 am
Forum: Beginners Help
Topic: Move camera on a plane - weird rotation
Replies: 1
Views: 354

Move camera on a plane - weird rotation

I'm trying to implement a camera that moves on a horizontal plane, with the arrow keys of the keyboard. I figured that if I move the camera's position and target by the same amount, it should do the trick. Well it sort of does, but the camera seems to tilt slightly around its forward axis. When I mo...
by Dr_Asik
Thu Oct 28, 2010 7:34 pm
Forum: Beginners Help
Topic: Multiple SceneManagers no Device
Replies: 5
Views: 680

Thanks for the constructive comments. My server will be able to host multiple games simultaneously. This is why it needs to hold several different game states, and thus several SceneManagers. The reason for using Irrlicht despite not having any rendering to do, is that the clients are coded using Ir...
by Dr_Asik
Wed Oct 27, 2010 6:39 pm
Forum: Beginners Help
Topic: Multiple SceneManagers no Device
Replies: 5
Views: 680

Multiple SceneManagers no Device

I am coding the server for my game. It must support several games running in parallel. I figured out each game should have its own SceneManager. I cannot have a video device for each game, nor do I want any, the server doesn't need to render anything. However the only way I see to get a sceneManager...
by Dr_Asik
Mon Sep 06, 2010 9:15 pm
Forum: Beginners Help
Topic: Change logger
Replies: 1
Views: 252

Change logger

Is it possible to change the Logger Irrlicht uses? Say, implementing irr::ILogger and passing it to the device. The problem is, there's a getLogger() but not a setLogger() and I don't see a way to hand in a new logger.
by Dr_Asik
Sun Sep 05, 2010 3:18 am
Forum: Beginners Help
Topic: No Key input events
Replies: 1
Views: 260

No Key input events

Hello, I am hosting irrlicht inside a WinForms application. I am trying to get keyboard input. I've followed the tutorial at http://irrlicht.sourceforge.net/tut004.html to create an event receiver. It does get events in general, but when I press a key on the keyboard it doesn't receive any. Am I for...
by Dr_Asik
Fri Sep 03, 2010 7:06 pm
Forum: Beginners Help
Topic: Hosting unmanaged Irrlicht into C# Winforms
Replies: 5
Views: 890

So you're basically compiling Irrlicht with the /clr switch on + a few wrapper classes? Sorry I don't know much about C++/CLI, but I don't see how you can call in native C++ code without P/Invoke or COM interop. In any case, in the case of my project, the game code will be entirely written in native...
by Dr_Asik
Thu Sep 02, 2010 11:19 pm
Forum: Beginners Help
Topic: Hosting unmanaged Irrlicht into C# Winforms
Replies: 5
Views: 890

Updating to the latest Catalyst did not fix it. However, switching from OpenGL to Direct3D9 did.

Weird. :?
by Dr_Asik
Thu Sep 02, 2010 11:04 pm
Forum: Beginners Help
Topic: Hosting unmanaged Irrlicht into C# Winforms
Replies: 5
Views: 890

The weirdest thing about this is that it works fine on 2 laptops I've tested it on. It crashes on my main desktop. Will try updating to the latest Catalyst drivers and see if it fixes that.
by Dr_Asik
Thu Sep 02, 2010 4:18 pm
Forum: Beginners Help
Topic: Hosting unmanaged Irrlicht into C# Winforms
Replies: 5
Views: 890

Hosting unmanaged Irrlicht into C# Winforms

I'm having trouble hosting unmanaged Irrlicht into a C# Winforms application. I've consulted the guide at http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=29571 , unfortunately it uses C++/CLI and my project has to be in C#. So basically here's my code on the C# side of things: Thread gameLoop...
by Dr_Asik
Fri Jul 16, 2010 2:42 pm
Forum: Beginners Help
Topic: Resize crashes
Replies: 2
Views: 375

I believe I have found what is causing the issue (although I need to test it). I am not locking the context (need to create a special object from the Java context and canvas handle). Anyway, please answer this question because I did not find it answered in any of the Irrlicht documentation: How are ...
by Dr_Asik
Thu Jul 15, 2010 4:53 am
Forum: Beginners Help
Topic: Resize crashes
Replies: 2
Views: 375

Resize crashes

I host Irrlicht inside a java.awt.canvas. The code to resize seems to cause crashes; the weird thing is, if I put a breakpoint in the resize method, the crash doesn't happen; it only happens when I let the code run without breakpoints. Here is my resize code: void resize(int width, int height) { irr...
by Dr_Asik
Mon Jul 12, 2010 9:28 pm
Forum: Beginners Help
Topic: Import 3ds models as .bin or .txt
Replies: 1
Views: 320

Import 3ds models as .bin or .txt

I am trying to convert a game I wrote last year to Irrlicht. I used a custom 3ds loader that worked with 3ds models exported as .bin or .txt. I don't have the original .3ds models I used, so I'm stuck with the .bin and .txt versions. I am wondering if it is possible to use these directly in Irrlicht...