Search found 9655 matches

by CuteAlien
Wed Mar 20, 2024 10:47 am
Forum: Open Discussion and Dev Announcements
Topic: Support, donate....
Replies: 5
Views: 2862

Re: Support, donate....

Thanks, but seriously, no need. I totally selfishly work on Irrlicht because I actually use the engine myself.
by CuteAlien
Wed Mar 20, 2024 1:31 am
Forum: Code Snippets
Topic: Updated wxIrrlicht
Replies: 18
Views: 4725

Re: Updated wxIrrlicht

Ah thanks for the video. I didn't realize when browsing quickly over the code earlier what m_windowIsActive really was (I thought it was some wxWidget variable if the window is active...). Too late here right now to really test things, but on another quick view at sources I notice you also render in...
by CuteAlien
Tue Mar 19, 2024 5:31 pm
Forum: Code Snippets
Topic: Updated wxIrrlicht
Replies: 18
Views: 4725

Re: Updated wxIrrlicht

Thanks. Code looks actually pretty similar to code in my current project (except we use WTL instead of wxWidgets in our project). Using timers should on Windows allow ~65 FPS. No idea really about wxWidgets on Linux and timers, thought I would have expected it to be rather a better resolution (usual...
by CuteAlien
Tue Mar 19, 2024 4:18 pm
Forum: Code Snippets
Topic: Updated wxIrrlicht
Replies: 18
Views: 4725

Re: Updated wxIrrlicht

Link gives me a 404, maybe not public?
by CuteAlien
Tue Mar 19, 2024 11:34 am
Forum: Beginners Help
Topic: How to get last characters of a string?
Replies: 2
Views: 1464

Re: How to get last characters of a string?

Easiest is to use the functions in coreutil.h like irr::core::hasFileExtension or irr::core::isFileExtension
You can also take a look how it's implemented.
by CuteAlien
Mon Mar 18, 2024 10:57 am
Forum: Code Snippets
Topic: Updated wxIrrlicht
Replies: 18
Views: 4725

Re: Updated wxIrrlicht

@Noiecity: Yeah - it's about Windows timer in general which are used for example in Windows sleep(). Irrlicht uses those for it's device->sleep(). Which I don't recommend using anymore therefore. Up to (including) Irrlicht 1.8 we also used sleep(1) for device->yield(), so that was just as bad. But t...
by CuteAlien
Sun Mar 17, 2024 11:50 am
Forum: Beginners Help
Topic: How to draw solid material, wireframe and point cloud at the same time?
Replies: 1
Views: 1404

Re: How to draw solid material, wireframe and point cloud at the same time?

On OpenGL you can do it by rendering the model 3 times. First time as usual. Second time with a material which has material.Wireframe true and a bigger has material.Thickness. And third time with material.PointCloud true and even bigger Thickness. But it's unlikely to work well on other renderers as...
by CuteAlien
Sat Mar 16, 2024 4:41 pm
Forum: Bug reports
Topic: [not supported]Issue with obj reader
Replies: 8
Views: 5503

Re: Issue with obj reader

Another very old thing... I've looked on this a few times over the years without knowing what to do with it. svn trunk [r6602] (Irrlicht 1.9) has now some changes related to this: The bump textures in robmars example which start with a number were messed up in Irrlicht as the number was assumed to b...
by CuteAlien
Thu Mar 14, 2024 8:40 pm
Forum: Bug reports
Topic: [fixed]meshes with static flag don't release memory on deletion
Replies: 4
Views: 2406

Re: [fixed]meshes with static flag don't release memory on deletion

OK, just noticed I still had this one on my todo. This got fixed recently in svn [r6599], so will work be in Irrlicht 1.9 Was actually rather trivial to fix - hardware buffers don't have to wait 20.000 frames when they keep the last reference to a meshbuffer. This won't release hw-buffers in all cas...
by CuteAlien
Wed Mar 13, 2024 4:24 pm
Forum: Beginners Help
Topic: Simple question about parenting an object to a camera?
Replies: 7
Views: 1587

Re: Simple question about parenting an object to a camera?

Ah, yes - mixture of animation and movement. Always a challenge. And can get super complicated once you have crazy stuff like walk into water and start swimming ;-)
by CuteAlien
Wed Mar 13, 2024 10:56 am
Forum: Beginners Help
Topic: Simple question about parenting an object to a camera?
Replies: 7
Views: 1587

Re: Simple question about parenting an object to a camera?

I wouldn't worry too much about speed of camera calculations. You don't run many of those, so it's unlikely to ever be a bottleneck.
by CuteAlien
Mon Mar 11, 2024 11:04 am
Forum: Open Discussion and Dev Announcements
Topic: Looking at model exports
Replies: 7
Views: 1468

Re: Looking at model exports

X can animate (there is an animated dwarf.x model in Irrlicht media), but there's hardly any support for that format out there anymore. I have unfortunately no examples for non-working animated .x models, so not sure what problem there was with the one there.
by CuteAlien
Mon Mar 11, 2024 10:57 am
Forum: Beginners Help
Topic: How to fix fps?
Replies: 25
Views: 4346

Re: How to fix fps?

Note about sleep and yield in Irrlicht. Basically sleep() on Window is really a bad idea for games as it always is around 15ms minimum. So one call and you limit your game to ~65 FPS which people with 144hz screens these days won't like. Yield in Irrlicht 1.8 was just as bad as it used sleep(1) so i...
by CuteAlien
Sat Mar 09, 2024 4:26 pm
Forum: Open Discussion and Dev Announcements
Topic: Looking at model exports
Replies: 7
Views: 1468

Re: Looking at model exports

Noiecity recently made a tutorial video about that, maybe it helps? viewtopic.php?p=307310
by CuteAlien
Sat Mar 09, 2024 11:12 am
Forum: Beginners Help
Topic: How to disable this thing?
Replies: 4
Views: 1414

Re: How to disable this thing?

Hm, mip-maps are usually good. Try setting AnisotropicFilter to 16 and enable TrilinearFilter for your texture layer in SMaterial. Both are off by default.