Search found 685 matches
- Mon Apr 22, 2024 5:11 pm
- Forum: Open Discussion and Dev Announcements
- Topic: CustomPresenter for embedding Irrlicht in GTK etc
- Replies: 11
- Views: 2590
Re: CustomPresenter for embedding Irrlicht in GTK etc
Actually, to be honest, I used the latest version of Irrlicht from the repo, which is why there is an IImage::getData() method. But thanks for posting the diffs - They should help anyone still using the stable release of Irrlicht.
- Sun Dec 24, 2023 4:19 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: [VIDEO]export animation from Blender 2.79b to Irrlicht (b3d mode) and bake texture
- Replies: 6
- Views: 4254
Re: [VIDEO]export animation from Blender 2.79b to Irrlicht (b3d mode) and bake texture
The bummer is the devs removed b3d export from Blender 2.9 (WHY???), which makes this tutorial useless moving into the future. The devs keep gutting Blender, which makes them more frustrating than the obsolescence of Irrlicht mesh loading.
- Sun Jul 23, 2023 3:03 am
- Forum: Off-topic
- Topic: Leaving Irrlicht?...
- Replies: 22
- Views: 6066
Re: Leaving Irrlicht?...
Thanks for the info on setFrameLoop(). It makes AnimatedSceneNode more useful, albeit still lacking, but at least useful enough for an old-style game. Wish I knew more about inverse kinematics and bone stuff, but for some reason some of that stuff in irrlicht always seemed alittle cryptic to me... a...
- Sun Jul 23, 2023 2:53 am
- Forum: Code Snippets
- Topic: MeshViewer (IrrAssimp)
- Replies: 1
- Views: 1890
Update: MeshViewer (IrrAssimp)
Thanks @CuteAlien for mentioning setFrameLoop(). I managed to implement a pause feature for the play/pause button. /* * main.cpp * * Created on: July 20, 2023 * Author: Nicolaus Anderson */ #include <irrlicht.h> #include "IrrAssimp/IrrAssimp.h" #ifdef _IRR_WINDOWS_ #pragma comment(lib, &qu...
- Sat Jul 22, 2023 5:32 pm
- Forum: Off-topic
- Topic: Leaving Irrlicht?...
- Replies: 22
- Views: 6066
Re: Leaving Irrlicht?...
@CuteAlien - I have an irrJSON in IrrExtensions: https://github.com/chronologicaldot/IrrExtensions/tree/master/util/irrJSON Requires the irrTree, here: https://github.com/chronologicaldot/IrrExtensions/tree/master/util/irrTree Sadly, the plugins for Blender get outdated quickly, and unlike Irrlicht,...
- Sat Jul 22, 2023 2:40 am
- Forum: Code Snippets
- Topic: MeshViewer (IrrAssimp)
- Replies: 1
- Views: 1890
MeshViewer (IrrAssimp)
Recently, I figured out how to get Assimp correctly installed. It required copying the contrib/utf8cpp folder to /usr/local/include Then it required passing in -Wl,-rpath=/usr/local/lib to g++ because I didn't want to set LD_LIBRARY_PATH or figure out how to do it in my IDE. After all the headache, ...
- Sat Jul 22, 2023 2:25 am
- Forum: Off-topic
- Topic: Leaving Irrlicht?...
- Replies: 22
- Views: 6066
Leaving Irrlicht?...
===== Complaint Rant... (skip if you want to stay positive) I've toyed with Irrlicht for over a decade now, and while it's ok if you want to do everything yourself and just need to get something drawn on the screen, many of the features included with the engine are next to useless. Examples: 1) Mesh...
- Tue Jan 24, 2023 6:09 pm
- Forum: Open Discussion and Dev Announcements
- Topic: CustomPresenter for embedding Irrlicht in GTK etc
- Replies: 11
- Views: 2590
Re: CustomPresenter for embedding Irrlicht in GTK etc
Update: When you want the Irrlicht window to resize whenever GTK resizes, replace the other getSurfaceSize() in the IrrPanel with this: //! Return the surface virtual irr::core::dimension2du getSurfaceSize() { Gtk::Allocation allocation; int baseline = 1; get_allocated_size(allocation, baseline); ir...
- Sun Jan 22, 2023 6:28 pm
- Forum: Advanced Help
- Topic: Using GTKmm 3 and Irrlicht
- Replies: 22
- Views: 3788
- Sun Jan 22, 2023 6:26 pm
- Forum: Open Discussion and Dev Announcements
- Topic: CustomPresenter for embedding Irrlicht in GTK etc
- Replies: 11
- Views: 2590
- Sun Jan 22, 2023 6:23 pm
- Forum: Open Discussion and Dev Announcements
- Topic: CustomPresenter for embedding Irrlicht in GTK etc
- Replies: 11
- Views: 2590
CustomPresenter for embedding Irrlicht in GTK etc
I finally figured out how to embed Irrlicht in GTK. No more external window nor messing around with SExposedVideoData. https://i.ibb.co/qy090Zj/Irr-GTKmm-itworks.png There are a couple of caveats, as you'll see in my example code below. 1) Irrlicht can be updated along with the GUI element it's in, ...
- Sun Jan 22, 2023 5:25 am
- Forum: Beginners Help
- Topic: How to add a file to the engine
- Replies: 2
- Views: 830
Re: How to add a file to the engine
Update: Found the issue. In the .cpp file, I had ifndef but in the .h I had ifdef for the same variable indicating when to compile. Makes a big difference one letter "n", doesn't it?
- Sun Jan 22, 2023 3:47 am
- Forum: Beginners Help
- Topic: How to add a file to the engine
- Replies: 2
- Views: 830
Re: How to add a file to the engine
Update: Turns out, I was depending on a precompiler variable that I set in IrrCompileConfig.h ... and I forgot to include that file at the top of my header CIrrDeviceCustomPresenter.h
The object file is full now, but I still have the linker problem.
The object file is full now, but I still have the linker problem.
- Sun Jan 22, 2023 3:34 am
- Forum: Beginners Help
- Topic: How to add a file to the engine
- Replies: 2
- Views: 830
How to add a file to the engine
I ran into a snag lately. I want to add a class with its own files to the engine, but I don't know exactly how to include them. I have a class called CIrrDeviceCustomPresenter, inside a .h and a .cpp with the same name. In the Makefile, I assume the following: CUSTOMPRESDEVICE = CIrrDeviceCustomPres...
- Fri Nov 04, 2022 9:05 pm
- Forum: Advanced Help
- Topic: Using GTKmm 3 and Irrlicht
- Replies: 22
- Views: 3788
Re: Using GTKmm 3 and Irrlicht
Different tangent... I tried creating a FrameBuffer device to embed in GTK, but for some reason, I can't even get the framebuffer device to start. I'm on Linux, so I would think it would work, but maybe it's not supported?? Or maybe the device creation function doesn't like my parameters... But I ca...