Search found 9676 matches

by CuteAlien
Thu Apr 11, 2024 10:45 am
Forum: Beginners Help
Topic: Irrlicht doesnt support bitwise opporators?
Replies: 1
Views: 464

Re: Irrlicht doesnt support bitwise opporators?

Note this is about shaders, not directly Irrlicht. I'm not sure when you get that error (seeing the shader code might help). But from what I can see on google it might not be supported by ES1 and ES2 - which are the only drivers Irrlicht supports so far in case you work with GL ES. If it's not about...
by CuteAlien
Fri Mar 29, 2024 12:30 pm
Forum: Beginners Help
Topic: How to create a triangle using a SMeshBuffer?
Replies: 1
Views: 1660

Re: How to create a triangle using a SMeshBuffer?

Maybe check example 23.MeshHandling. The part where it fills the meshbuffer is in the addstrip function. But in short: Meshbuffers have Vertices, Indices and a Material and you need to set those all. Vertices are usually in the S3DVertex format and set the 3 corners of your triangle. Or 4 corners of...
by CuteAlien
Thu Mar 21, 2024 12:50 pm
Forum: Off-topic
Topic: Gonna take a break for another project
Replies: 13
Views: 4418

Re: Gonna take a break for another project

Spell checking maybe in your browser? I don't think we have that in the foorrummm (see?).
Good luck with Sum Up Griddy! ;-)
by CuteAlien
Thu Mar 21, 2024 10:41 am
Forum: Beginners Help
Topic: Do IReadFile->read changes the postion in file?
Replies: 1
Views: 1414

Re: Do IReadFile->read changes the postion in file?

Yes it moves the position, so no need for seek.
by CuteAlien
Wed Mar 20, 2024 6:28 pm
Forum: Code Snippets
Topic: Updated wxIrrlicht
Replies: 18
Views: 4767

Re: Updated wxIrrlicht

Great. One day we'll add 3rd party integration examples I hope :)
by CuteAlien
Wed Mar 20, 2024 11:35 am
Forum: Beginners Help
Topic: Answer for array(u32 start_count)
Replies: 3
Views: 3299

Re: Answer for array(u32 start_count)

The my_mat() case... don't use the brackets. Just my_mat; Otherwise it looks like a function call for this to c++. And yeah it's a bit confusing as it works with parameters but not with an empty constructor. Just a c++ thing, stackoverflow has more info about that: https://stackoverflow.com/question...
by CuteAlien
Wed Mar 20, 2024 10:47 am
Forum: Open Discussion and Dev Announcements
Topic: Support, donate....
Replies: 5
Views: 2889

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: 4767

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: 4767

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: 4767

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: 1479

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: 4767

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: 1418

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: 5546

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: 2419

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...