Search found 26 matches

by mitras1
Tue Oct 15, 2024 5:26 pm
Forum: Beginners Help
Topic: Illegal memory access then integrating ODE
Replies: 4
Views: 140

Re: Illegal memory access then integrating ODE

CuteAlien wrote: Tue Oct 15, 2024 10:09 am Compile in debug.
I compiled in debug
by mitras1
Tue Oct 15, 2024 7:59 am
Forum: Beginners Help
Topic: Illegal memory access then integrating ODE
Replies: 4
Views: 140

Re: Illegal memory access then integrating ODE

CuteAlien wrote: Mon Oct 14, 2024 9:39 pm Set a breakpoint and look at the value of the variables?
It gives me 'No symbol table loaded'
by mitras1
Mon Oct 14, 2024 6:16 pm
Forum: Beginners Help
Topic: Illegal memory access then integrating ODE
Replies: 4
Views: 140

Illegal memory access then integrating ODE

I was trying to add physics to my game and then I call dWorldStep/dWorldQuickStep it crashes

OS: windows
Compiler: MinGW
IDE: CodeBlocks
by mitras1
Mon Sep 02, 2024 10:58 am
Forum: Beginners Help
Topic: How to parse integer from wide char string?
Replies: 4
Views: 277

Re: How to parse integer from wide char string?

CuteAlien wrote: Mon Sep 02, 2024 10:34 am Make sure the ID's are correct.
Yup, I accidentally set ID of the first editbox to -1. Thanks!
by mitras1
Mon Sep 02, 2024 6:32 am
Forum: Beginners Help
Topic: How to parse integer from wide char string?
Replies: 4
Views: 277

Re: How to parse integer from wide char string?

After a little of bit experimentation I concluded that I have different kind of problem. I need access the string from editBox in EventReceiver , but it seems that it cause segfault. Here's the my code: gui::IGUIElement* startMenu = event.GUIEvent.Caller->getParent(); gui::IGUIEditBox* widthEdit = (...
by mitras1
Fri Aug 30, 2024 5:29 pm
Forum: Beginners Help
Topic: How to hide all gui elements?
Replies: 2
Views: 171

Re: How to hide all gui elements?

CuteAlien wrote: Fri Aug 30, 2024 1:01 pm Note that when you hide a parent element then all children are hidden as well. So when I need to hide a group of UI elements I often give them a common static-text (without text and border so it's invsible) as parent so I can just hide that one.
Thanks for this trick!
by mitras1
Fri Aug 30, 2024 12:30 pm
Forum: Beginners Help
Topic: How to hide all gui elements?
Replies: 2
Views: 171

How to hide all gui elements?

I know about get getChildren(), but I don't know how lists work in Irrlicht
by mitras1
Fri Jul 26, 2024 1:25 pm
Forum: Bug reports
Topic: [no bug]multiplyWith1x4Matrix is really wrong
Replies: 1
Views: 581

[no bug]multiplyWith1x4Matrix is really wrong

core::matrix4 A = core::matrix4(); A[0] = -125; A[1] = 25; A[2] = -5; A[3] = 1; A[4] = 0; A[5] = 0; A[6] = 0; A[7] = 1; A[8] = 75; A[9] = -10; A[10] = 1; A[11] = 0; A[12] = 0; A[13] = 0; A[14] = 1; A[15] = 0; core::matrix4 Ai = core::matrix4(); if (A.getInverse(Ai)) { f32 a[4] = {2, 2, 2, 1}; Ai.mu...
by mitras1
Thu Jun 20, 2024 7:42 pm
Forum: Beginners Help
Topic: How to read a file line by line?
Replies: 3
Views: 526

Re: How to read a file line by line?

Hi again. I found a way to do it through core::string().split. It automatically filters empty lines and it also is easier to implement loops using this method.
by mitras1
Tue Jun 18, 2024 2:10 pm
Forum: Beginners Help
Topic: How to read a file line by line?
Replies: 3
Views: 526

Re: How to read a file line by line?

Thanks, I'll consider that
by mitras1
Tue Jun 18, 2024 12:40 pm
Forum: Beginners Help
Topic: How to read a file line by line?
Replies: 3
Views: 526

How to read a file line by line?

.
by mitras1
Mon Jun 10, 2024 1:13 pm
Forum: Beginners Help
Topic: How to set a color of a node?
Replies: 1
Views: 484

How to set a color of a node?

I tried to "node->getMaterial(0).DiffuseColor = video::SColor(255, n, m p)" but it didn't work.
by mitras1
Sun May 26, 2024 9:53 am
Forum: Beginners Help
Topic: How to fix 'Could not create IImage, format only supported for render target textures.'?
Replies: 1
Views: 510

How to fix 'Could not create IImage, format only supported for render target textures.'?

Here's the line of code that causes this:

Code: Select all

video::IImage* im = driver->createImageFromData(video::ECF_A32B32G32R32F, core::dimension2du(64, 64), data->pointer());
by mitras1
Tue May 14, 2024 11:44 am
Forum: Beginners Help
Topic: [GLSL] Should I define "(layout = i) in" variables like uniform?
Replies: 3
Views: 584

Re: [GLSL] Should I define "(layout = i) in" variables like uniform?

One more thing. Do irr::video::E_VERTEX_SHADER_TYPE/E_PIXEL_SHADER_TYPE even matter if you only use opengl shaders?