|
Post by rosy on Feb 28, 2024 5:57:57 GMT -6
Has anything been improved in the creation of the web version since version 3.14? Because many programs don't work...
|
|
|
Post by n00b on Feb 28, 2024 11:27:08 GMT -6
There have not been many web specific improvements in a while. I am aware that the DrawGeometry() function does not work with the web build but it is based on the SDL2 funciont SDL_RenderGeometry() which does not seem to work in emscripten. This also breaks anything using Calamity3D. The RC4 migration to a new rendering backend should fix a lot of those issues.
|
|
|
Post by rosy on Feb 28, 2024 17:07:14 GMT -6
This is rather a different error. PING-PONG, for example, does not work. The ball is in the corner of the screen...
|
|
|
Post by n00b on Feb 28, 2024 20:01:45 GMT -6
I will look at it
|
|
|
Post by rosy on Mar 2, 2024 5:49:46 GMT -6
As for structures, I recommend avoiding them in BasicC. Ha ha
|
|
|
Post by n00b on Apr 27, 2024 11:20:08 GMT -6
I wanted to make an update on progress of v4.0 for anyone not following the commits on the repo.
User defined types are fully functional and after a few unit test are created for it, I will hopefully be merging it today. Once that is done, I will get back to working on porting the current graphics library from SDL2 over to Irrlicht which will probably take atleast 6 weeks but most likely closer to 12.
|
|
|
Post by johnno56 on Apr 27, 2024 13:06:45 GMT -6
"repo"?
|
|
|
Post by n00b on Apr 27, 2024 14:38:27 GMT -6
|
|
|
Post by johnno56 on Apr 28, 2024 2:25:46 GMT -6
Understood. Thank you.
|
|
|
Post by n00b on May 8, 2024 3:15:25 GMT -6
I started a new repo for our own fork of Irrlicht. I have been working on writing a custom SDL2 device and making a few other modifications to Irrlicht specifically for RC4. Anyone who is interested in checking out those changes, just check out the sdl2_device branch on the repo here: RCIrrlicht
|
|
|
Post by johnno56 on May 8, 2024 5:25:59 GMT -6
Ok. Downloaded; followed Linux instructions in "Readme". Installed without issue. Built all the examples. First off: Ran Demo... (opted for full screen... as you do) Ran very nicely indeed. On minor issue... After quitting Demo, PC monitor resolution, was set to 800x600... Running the other examples (still testing which driver to use...) ran fine... but the examples would not "release" the mouse. Had to Alt-Tab and manually terminate the example... Other than those few issues, Irrlicht, runs very smoothly...
|
|
|
Post by n00b on May 8, 2024 19:01:12 GMT -6
Ok. Downloaded; followed Linux instructions in "Readme". Installed without issue. Built all the examples. First off: Ran Demo... (opted for full screen... as you do) Ran very nicely indeed. On minor issue... After quitting Demo, PC monitor resolution, was set to 800x600... Running the other examples (still testing which driver to use...) ran fine... but the examples would not "release" the mouse. Had to Alt-Tab and manually terminate the example... Other than those few issues, Irrlicht, runs very smoothly... I don't think you are using the SDL2 device or the OpenGL or OGLES2 drivers. First make sure you are pulling the code from the sdl2_device branch. When you build irrlicht, you need to build it with these flags. _IRR_COMPILE_WITH_OGLES2_ _IRR_COMPILE_WITH_SDL_DEVICE_ _IRR_COMPILE_WITH_OPENGL_ After that, build the hello world example from that. Its the same example but its using SDL2 to create its window so it shouldn't be changing the resolution of your display. I haven't merged the changes from the sdl2_device branch yet since I am still trying to figure out how to keep the GUI subsystem from irrlicht while handling events from the RCBasic runtime. There is also some other new functionality I plan to add to irrlicht like a few custom shaders but those might be able to be handled client side. Its a lot of work in progress but I figured it is good to post updates every now and then to keep everyone up to date on the current state of RC4.
|
|