Search found 47 matches

by Linaxys
Wed Apr 08, 2009 4:00 pm
Forum: Project Announcements
Topic: [WIP] Cynum : 3D Chat for Facebook
Replies: 7
Views: 2248

[WIP] Cynum : 3D Chat for Facebook

http://img220.imageshack.us/img220/1117/jpgm.jpg Cynum is a Firefox plugin embedding a 3D Chat with the Irrlicht 3D Engine into Firefox using OpenGL, it will work under Windows at the moment, I will do my best to port it under MacOSX* if I can finally release a finished project to the public for th...
by Linaxys
Wed Apr 08, 2009 4:56 am
Forum: Beginners Help
Topic: [SOLVED] Unloading a mesh correctly.
Replies: 2
Views: 341

[SOLVED] Unloading a mesh correctly.

Hello, I'm doing my own terrain zone system, it loads a mesh perfectly and destroy it when I'm too far from it. But the problem is that it's taking more and more memory (like 1 mb or 800kb each time I load a new zone), and I'd like to know if I did something really wrong in my code : std::vector<IMe...
by Linaxys
Sat Apr 04, 2009 11:58 pm
Forum: Beginners Help
Topic: [SOLVED] Prevent sliding when colliding...
Replies: 5
Views: 431

Thanks for your reply, but it's already set to 0 by default.
Do you have another idea please ?
by Linaxys
Sat Apr 04, 2009 8:34 am
Forum: Beginners Help
Topic: [SOLVED] Prevent sliding when colliding...
Replies: 5
Views: 431

[SOLVED] Prevent sliding when colliding...

Hello,
I know there are some little example of jumping, flying around, but I'd like to know how to prevent my character from sliding on the terrain please ?

Is there something to stop the gravity action while he is colliding with the terrain ?

Thanks.
by Linaxys
Thu Apr 02, 2009 5:01 pm
Forum: Code Snippets
Topic: 2D realtime graph
Replies: 9
Views: 5576

Awesome dude !
I really needed that code a long time ago !

Thanks !! :D
by Linaxys
Wed Apr 01, 2009 7:26 am
Forum: Beginners Help
Topic: Very Custom Terrain Help
Replies: 2
Views: 284

Very Custom Terrain Help

Hello, I am making a game where you can edit the terrain with a mouse by raising or lowing some vertices that you select with your mouse. I made a terrain from a mesh by placing the vertices, 50 squares, 25*25 each, and I would like to page it to make it really really infinite. Could anyone tell me ...
by Linaxys
Fri Mar 27, 2009 10:12 pm
Forum: Beginners Help
Topic: Updating mesh collisions
Replies: 2
Views: 298

Updating mesh collisions

Hello, I'm editing a terrain mesh ingame (it's a hillPlane), and I'd like to know if there's a faster way than clearing it's triangle selector from the meta and recreate one everytime I raise a vertice... I use this at each update : node->setPosition(node->getPosition()); getMeta()->removeTriangleSe...
by Linaxys
Thu Mar 26, 2009 7:24 pm
Forum: Beginners Help
Topic: Huge Terrain Editing
Replies: 1
Views: 442

Huge Terrain Editing

Hello, I'm currently working on a project where the user could just raise/low the vertices he wants in the ground. I would like an easier way than using a tiling method, because I think that tiling method would be for infinite, and really repetitive terrain, then I know my idea, loading an XML file ...
by Linaxys
Tue Mar 24, 2009 5:11 pm
Forum: Beginners Help
Topic: Getting the 3rd person's camera's direction.
Replies: 4
Views: 447

Hey guys, thanks for your replies. Hmm I currently want that cube rotates it's Y axis to the camera's Y axis only when I press the mouse's right button, I am updating the camera's position to get it around the character like this, with the famous sphericalXYZ function : vector3df sphericalXYZ(float ...
by Linaxys
Tue Mar 24, 2009 8:31 am
Forum: Beginners Help
Topic: Getting the 3rd person's camera's direction.
Replies: 4
Views: 447

Getting the 3rd person's camera's direction.

Hello, I would like to rotate my character automatically at the coordinates that the camera is facing at, only in the Y axis , like this : - Before, I have just rotated my camera (Circle = character, Square = Camera) : http://img26.imageshack.us/img26/9056/bfore.jpg - After, I want to move forward :...
by Linaxys
Sat Mar 07, 2009 12:48 pm
Forum: Beginners Help
Topic: [SOLVED] Boucing collisions...
Replies: 2
Views: 276

Thanks, it was that indeed.
by Linaxys
Sat Mar 07, 2009 1:14 am
Forum: Beginners Help
Topic: [SOLVED] Boucing collisions...
Replies: 2
Views: 276

[SOLVED] Boucing collisions...

Hello, I copy/pasted my code from a single file into multiple files to make it cleaner, I haven't changed anything from the collision animators and triangle selectors and it does that... http://www.youtube.com/watch?v=b2hrP48w72E I don't bounce on the ground but I bounce on the floor, weird... I'm s...
by Linaxys
Thu Mar 05, 2009 8:33 pm
Forum: Beginners Help
Topic: Fixing memory leaks
Replies: 11
Views: 558

JP wrote:surely it's xml->drop? though i don't suppose that would cause a memory leak...
That command doesn't exist inside the irrXML.cpp, and the sample from the website tells that you must delete it...
by Linaxys
Thu Mar 05, 2009 5:07 pm
Forum: Beginners Help
Topic: [SOLVED] Picking but not correctly...
Replies: 2
Views: 442

Sorry for the disturb, it was for a browser plugin and I forgot that the Irrlicht's screen position was badly positionned from the original HWND handle. To fix that I was just using the GetCursorPos and ScreenToClient function to get the real cursor position instead of getCursorControl()->getPositio...
by Linaxys
Thu Mar 05, 2009 2:46 pm
Forum: Beginners Help
Topic: [SOLVED] Picking but not correctly...
Replies: 2
Views: 442

[SOLVED] Picking but not correctly...

Hello, I try to pick an object like this everytime I click on it : ISceneNode *sel = cynScene->getSceneCollisionManager()->getSceneNodeFromScreenCoordinatesBB(cynDevice->getCursorControl()->getPosition(),0); if (sel && sel != planeNode && sel != skybox && sel != cynCamera &am...