Search found 386 matches

by LunaRebirth
Wed Sep 15, 2021 2:02 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: irrlicht + AntiGrain vector graphics
Replies: 10
Views: 4125

Re: irrlicht + AntiGrain vector graphics

(not sure why my comment posted twice, but I couldn't remove it so this is the best I could do)
by LunaRebirth
Wed Sep 15, 2021 2:02 am
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: irrlicht + AntiGrain vector graphics
Replies: 10
Views: 4125

Re: irrlicht + AntiGrain vector graphics

Thread reviving :shock: But do you happen to have experience with loading AntiGrain images as Irrlicht textures? Here's my full code: #pragma warning(disable : 4996) #include <irrlicht.h> using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; usi...
by LunaRebirth
Sat Aug 21, 2021 10:14 pm
Forum: Beginners Help
Topic: Using irrlicht in macos
Replies: 3
Views: 513

Re: Using irrlicht in macos

I build my Irrlicht project on Mac using XCode. Here's the instructions I wrote: XCode First you'll need XCode you can install on the App Store. Irrlicht (OGL-ES branch) Download a snapshot or use SVN to grab the OGL-ES version of Irrlicht here: https://sourceforge.net/p/irrlicht/code/HEAD/tree/bran...
by LunaRebirth
Fri Aug 20, 2021 10:07 pm
Forum: Open Discussion and Dev Announcements
Topic: Emscripten port
Replies: 57
Views: 16649

Re: Emscripten port

Not sure when this started happening as I'm on an entirely new PC now and don't have my old one, but Irrlicht is crashing on Emscripten when I remove an element that has children. Here's the stack trace: exception thrown: RuntimeError: memory access out of bounds,RuntimeError: memory access out of b...
by LunaRebirth
Sun May 16, 2021 11:43 pm
Forum: Beginners Help
Topic: Driver getScreenSize(), getFPS(), and getName() failing
Replies: 3
Views: 331

Re: Driver getScreenSize(), getFPS(), and getName() failing

I'm bringing another developer onto my project, so we're trying to build Irrlicht on his PC. Both of using Windows, both trying to build Irrlicht statically for x64. I can use Irrlicht 1.8.4 and statically build, and it works great. He can build Irrlicht 1.8.4, but then we get weird issues on his wh...
by LunaRebirth
Thu May 13, 2021 10:19 pm
Forum: Beginners Help
Topic: Driver getScreenSize(), getFPS(), and getName() failing
Replies: 3
Views: 331

Driver getScreenSize(), getFPS(), and getName() failing

Most recent version crashes with an access violation when doing driver->getScreenSize().
driver->getFPS() returns garbage values (insanely high numbers).
driver->getName() returns "???" when using OpenGL.
by LunaRebirth
Mon Feb 08, 2021 5:50 pm
Forum: Beginners Help
Topic: copyToWithAlpha and createImageFromData memory management
Replies: 5
Views: 452

Re: copyToWithAlpha and createImageFromData memory managemen

Gotcha. Yes the images are all the same size (100x100). Here's what I'm doing to test my reference counters, after setting that flag to false:   void test() {     std::map<IReferenceCounted*, bool> beginObjs;     auto arr = irr::LeakHunter::getReferenceCountedObjects();     for (u32 i = 0; i < arr.s...
by LunaRebirth
Mon Feb 08, 2021 2:20 am
Forum: Beginners Help
Topic: copyToWithAlpha and createImageFromData memory management
Replies: 5
Views: 452

Re: copyToWithAlpha and createImageFromData memory managemen

Ohh I will try with the __IRR_COMPILE_WITH_LEAK_HUNTER_. I didn't realize that was an option.

What should I be doing instead of lock()'ing?
I thought that was how you access the pixel data of the texture, unless I'm mistaken?
by LunaRebirth
Sun Feb 07, 2021 11:47 pm
Forum: Beginners Help
Topic: copyToWithAlpha and createImageFromData memory management
Replies: 5
Views: 452

copyToWithAlpha and createImageFromData memory management

Hi, I'm trying to allow creating a new texture, which is taking one texture and copying another texture on top of it. Then, I want to either save that texture in case I use it again, or drop it and remove it entirely from memory (when the object using it is destroyed, ofc). However, I'm having troub...
by LunaRebirth
Tue Dec 22, 2020 9:42 pm
Forum: Beginners Help
Topic: 2D IGUIImage dynamic shadow casting
Replies: 5
Views: 1012

Re: 2D IGUIImage dynamic shadow casting

Been a while! But this issue recently turned up again. I'm working with a client who wants to create an IBillboardSceneNode and have the shadow cast. For now, the solution has been "create your billboard shape as a 3D model in Blender and make it always face the camera," but this is ineffi...
by LunaRebirth
Mon Jun 08, 2020 10:38 pm
Forum: Beginners Help
Topic: VR (3D) Menus
Replies: 2
Views: 574

VR (3D) Menus

Does anyone have some experience creating 3D menus that are suitable for VR? I was able to get Irrlicht running pretty smoothly on my Oculus, but I had previously written a UI built for PC (2D GUI) so it's quite difficult to use on VR and only works with a mouse. I'm just wondering how I should go a...
by LunaRebirth
Thu Oct 17, 2019 3:00 pm
Forum: Code Snippets
Topic: Embedded Web browser on an Irrlicht poly - example with src
Replies: 22
Views: 16603

Re: Embedded Web browser on an Irrlicht poly - example with

For anyone interested, I was able to display a page using WebView (GitHub: https://github.com/zserge/webview) and render the HTML page as a texture using this method: https://www.codeproject.com/Articles/6601/Capture-an-HTML-document-as-an-image I think that rendering as texture won't work on other ...
by LunaRebirth
Thu Oct 10, 2019 7:44 pm
Forum: Code Snippets
Topic: Embedded Web browser on an Irrlicht poly - example with src
Replies: 22
Views: 16603

Re: Embedded Web browser on an Irrlicht poly - example with

ubrowser doesn't seem to exist anymore.
Neither do the examples in the original post.

Is this still possible? I can't find llzmod or ubrowser source anywhere.
by LunaRebirth
Wed Apr 24, 2019 4:59 pm
Forum: Beginners Help
Topic: Compiling without 3D
Replies: 10
Views: 5368

Re: Compiling without 3D

You're right, I was able to remove much more. Thanks, I've got ideas on defines to add on my own. Perhaps I'll commit them, if it's necessary. Speaking of, CB3DMeshWriter.cpp contains the define for _IRR_COMPILE_WITH_B3D_WRITER_, it shouldn't. I tried to commit the change myself but got a Permission...
by LunaRebirth
Tue Apr 23, 2019 11:09 pm
Forum: Beginners Help
Topic: Compiling without 3D
Replies: 10
Views: 5368

Re: Compiling without 3D

Thank you, that brought it down just a bit. Compiling Irrlicht with Emscripten, here are the Irrlicht.a sizes: Before any defines for NO_IRR_COMPILE_WITH: 43,415 KB After NO_IRR_COMPILE_WITH (uncommented from the Makefile): 39,519 KB After NO_IRR_COMPILE_WITH including the most recent svn version: 3...