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
0
votes
0 answers

C++ irrlicht Program crashes when window loses focus

I am using Irrlicht to draw an image to the screen using the code below. I basically get the image data from my drawing class, convert it to an IImage, convert that to a second scaled up IImage, then convert that to a ITexture, which gets drawn to…
user137
  • 282
  • 2
  • 14
0
votes
0 answers

UI freezes when use irrlicht in qt

I use irrlicht to render 3d model (.obj format) in qt 5.5 on ubuntu 18.04, everything works fine, except when I show a qdialog(the qdialog will call: setWindowFlags(Qt::WindowType::Widget | …
Bruce
  • 51
  • 8
0
votes
0 answers

How to load FBX in Irrlicht?

I make 3D render by Irrlicht engine in iPhone, but it doesn't load FBX file. Although I find the irrAssimp to solve it, I can't load skeletal animation.
0
votes
1 answer

Irrlicht: how to convert a ISceneNode into a IMeshSceneNode?

I have got a complex code that is fully loaded with references to ISceneNode objects. I would like to enable shadows for these. However, the function that let us enable shadows is addShadowVolumeSceneNode(), which is only available for the class…
PintoDoido
  • 1,011
  • 16
  • 35
0
votes
1 answer

Set a button position with irrlicht

I'm trying to make a GUI and I want to create some buttons. I can create my button with irr::gui::IGUIButton *newGameButton = gui->addButton(irr::core::rect(200, 110, 600, 200), 0, -1, L"NEW GAME"); If I want to draw an image I can set my…
YPR
  • 33
  • 6
0
votes
1 answer

Install and compile irrlicht on windows (CLION)

I'm a student developer and I've always dev on Linux. This is the first project I have to do crossplateform. So I installed Git Bash, Visual Studio Pro and CLion on Windows. Usually I compile with GCC and Makefiles. So on Linux I installed the lib…
Benjamin Sx
  • 653
  • 1
  • 7
  • 18
0
votes
0 answers

Accessing member variables gives SIGSEGV

Im trying to create a GUI using the library Irrlicht in C++, however whilst wring my Gui Handler, I get SIGSEGV errors when trying to access any data outside the constructor. My header looks like this: #pragma once #include #include…
Dom M
  • 1
  • 2
0
votes
1 answer

Irrlicht: draw 2D image in 3D space based on four corner coordinates

I would like to create a function to position a free-floating 2D raster image in space with the Irrlicht engine. The inspiration for this is the function rgl::show2d in the R package rgl. An example implementation in R can be found here. The input…
nevrome
  • 1,471
  • 1
  • 13
  • 28
0
votes
1 answer

Irrlicht - Creating 3D plane/cube mesh

I am fairly new to Irrlicht, but I am not new to C++. For the last couple of weeks I did alot of Googling, reading Irrlicht API documentations, etc. For some reason I can't seems to be able to create a 3D plane mesh. Here is what I got so…
Kurieita
  • 83
  • 12
0
votes
1 answer

How can I get mouse position with irrlicht?

I wrote a example for take the mouse inputs on the button. I mean when user click the screen, I want see what mouse position x and mouse position Y. But X and Y always have junk value. This is my code: #include #include using…
GG gg
  • 73
  • 1
  • 8
0
votes
1 answer

Manage falling using rays in Irrlicht

In my game i'm currently working on, i only need very basic physics, so i don't want Newton, ODE, Bullet or similar. I basically only want to fall as long as no node (all equally sized blocks) is beneath me. I tried to send a ray from the camera and…
EClaesson
  • 1,568
  • 2
  • 15
  • 26
0
votes
1 answer

Block attatchment in 3D grid

I'm doing ray picking to find the scene node that my cursor points at. All of those scene nodes are equally sized cubes. I have the hit scenenode's position, the position of the ray intersection and the triangle that the node/mesh that were hit.…
EClaesson
  • 1,568
  • 2
  • 15
  • 26
0
votes
1 answer

Trying to compile a working irrlicht application on a mac with plain g++ or Xcode

Ok, here it goes: I managed to compile the .xcodeproj provided with the last zip achive into a .a library file (a static library then). I failed to build a working application that uses irrlicht as a 3D engine with Xcode, I don't really know to do…
jokoon
  • 6,207
  • 11
  • 48
  • 85
0
votes
1 answer

Irrlicht : can't call onEvent

i'm new with irrlicht and i was trying to implement key events. I followed the irrlicht tutoriel on their website but it doesn't work. Here's the code : class MyEventReceiver : public irr::IEventReceiver { public: MyEventReceiver() { for…
electo
  • 108
  • 11
0
votes
0 answers

irrlicht : undefined reference to `XFree'

i using code::blocks and irrlicht but when i run my code i get a list of errors i don't know why my code are right and i use the version 1.8.3 from the lib and i definded it in the code::blocks options ||=== Build: Debug in shit2 (compiler: GNU…