Questions tagged [irrlicht]

Irrlicht is a free open-source cross-platform real-time 3D engine written in C++. The engine is free for open source and commercial use under the zlib/libpng license.

Irrlicht, like others 3D engines (Ogre, Unity, CrystalSpace, ), enables you to create 3D games and programs without having to deal with low level details.

In a few lines of code, you can load a complex mesh created in a 3D modeling software like Blender, apply a texture to it, add some lighting, fog and other visual effects, render it and even animate it.

For a complete description of the features of the engine, checkout the list of features.

Useful links

164 questions
1
vote
1 answer

export 3d model compatibles with irrlicht

I'm making a 3d game as a school project, with irrlicht engine. To do this, I'm searching for good 3d models. I found some but I could only get them in recents formats (c4d, fbx or blend). Of course it is possible to export them in .x or .3ds, but…
bachinblack
  • 150
  • 12
1
vote
1 answer

Is there a way to get a IGUIElement * given a pair of screen coordinates in Irrlicht?

I have a pair of screen coordinates and I need to know if they overlap any GUI elements. Is there some way of doing this or at least finding out if a given point is within the bounds of a GUI element? It would be preferable if there was some sort of…
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
1
vote
1 answer

Creating Irrlicht Device from X11 handle provided by SFML. Runtime X11/OpenGL error

I want to render using Irrlicht into a window created by SFML sf::WindowHandle sf::Window::getSystemHandle() const returns of course sf::WindowHandle, which is a typedef. On Windows it's HWND__*, on linux it's unsigned long (which is probbaly X11…
Xeverous
  • 973
  • 1
  • 12
  • 25
1
vote
1 answer

Why does the Irrlicht window turn black when opening a QMessageBox?

I'm using Irrlicht in a Qt context. To do this, I have an IrrlichtWidget class which shows an Irrlicht device in a QWidget. Here is the relevant part of that class: class IrrlichtWidget : public QWidget{ Q_OBJECT public: IrrlichtWidget(){ …
Donald Duck
  • 8,409
  • 22
  • 75
  • 99
1
vote
1 answer

Slow down the speed of a particle system in Irrlicht

Here is my Irrlicht code for a particle system, where sceneManager is the scene manager: irr::scene::IParticleSystemSceneNode *snow = sceneManager->addParticleSystemSceneNode(false, 0, -1, irr::core::vector3df(30, 100,…
Donald Duck
  • 8,409
  • 22
  • 75
  • 99
1
vote
1 answer

Is there any way to parse an APNG with an unmodified libpng?

I'd like to parse APNGs without modifying libpng. This is important because libpng may get security patches and if I modify libpng I need to maintain my version of it. Is there any way to parse APNGs without a modified libpng?
SoniEx2
  • 1,864
  • 3
  • 27
  • 40
1
vote
1 answer

Why Blender exported shader (*.frag, *.vert) are turning into black color in Irrlicht

I ran into "official tuto 10 Shader" in Irrlicht 1.8.3, and i modified this official example to use the shader that I exported from Blender using the addon: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Game_Engine/Export_GLSL The…
user5752447
1
vote
1 answer

Setting up CEDET/EDE to work with Irrlicht

I have CEDET 1.0pre7 set up with emacs 23.1, and I want to use it to manage irrlicht programs. I am pretty new at writing non-academic C++ code, and makefiles. I got the following makefile to work for me: game.exe: game.o g++ game.o -o game.exe…
Nikwin
  • 6,576
  • 4
  • 35
  • 43
1
vote
2 answers

How to make font semi-transparent with Irrlicht?

I'm having trouble drawing a font with an alpha channel: gui::IGUIFont* font = device->getGUIEnvironment()->getBuiltInFont(); font->draw(L"C'mon, be transparent, PLEASE!!!", core::rect(130,10,300,50), …
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
1
vote
1 answer

Weird lines on camera feed with Opencv + Irrlicht on Texture Mapping

I've Been trying to texturemap Irrlicht 3d model with Opencv Camera for an augmented reality project, Im using irrlicht 1.8.1 and opencv 2.4.9, and i almost got the textureMapping done, but the problem is there are weird lines coming in the camera…
1
vote
1 answer

Calculating position of a item relative to camera

I'm making a 3D-game using C++ and Irrlicht. It is a FPS-style game, so player should be able to carry weapons. But I've been struggling with calculating the position relative to the camera. If camera wouldn't rotate, calculation would be easy: //…
Elias Kosunen
  • 433
  • 7
  • 20
1
vote
1 answer

Irrlicht Terrain Texture doesnt draw properly on Windows XP

I have been developing a game with the Irrlicht library as part of one of my uni projects. However, when performance testing the Release build on a Windows XP PC my terrain does not seem to draw fully. I have tried many of the immediately logical…
Oliver
  • 821
  • 5
  • 12
  • 28
1
vote
2 answers

Irrlicht Differences between device->drop() and device->closeDevice()

I am willing to run two separate Irrlicht devices, basically a new one after the old one is closed, but by using the two above mentioned methods to close the old one I cannot get the new device to appear (segfault). What is the correct way of doing…
ouphi
  • 232
  • 2
  • 9
1
vote
2 answers

How to make Irrlicht's collision animator two-way street

Using the default built-in collision animator of Irrlicht I have found out that it works only on one side of the polygons of my geometry. I have used the following code: selector = smgr->createOctreeTriangleSelector( …
ouphi
  • 232
  • 2
  • 9
1
vote
1 answer

Cannot add texture to an Irrlicht node

I am trying to add a bitmap texture to my custom scene node in Irrlicht. For that I followed one of their tutorials and ended up with this: IAnimatedMesh* mesh = smgr->getMesh("mesh.3ds"); IAnimatedMeshSceneNode* node =…
ouphi
  • 232
  • 2
  • 9