compile only burnings video

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Noiecity
Posts: 314
Joined: Wed Aug 23, 2023 7:22 pm
Contact:

compile only burnings video

Post by Noiecity »

Is there a way to compile only burningsvideo without having to compile everything else? I want to compile Irrlicht, but compiling everything takes time, and I just want to test if what I'm doing works as quickly as possible.

Edit: Okay:
Edit the IrrCompileConfig.h, in the include folder, comment like this:
From

Code: Select all

#define _IRR_COMPILE_WITH_OPENGL_
#ifdef NO_IRR_COMPILE_WITH_OPENGL_
#undef _IRR_COMPILE_WITH_OPENGL_
#endif
To this:

Code: Select all

//#define _IRR_COMPILE_WITH_OPENGL_
#ifdef NO_IRR_COMPILE_WITH_OPENGL_
#undef _IRR_COMPILE_WITH_OPENGL_
#endif
etc:

Code: Select all

//#define _IRR_COMPILE_WITH_DIRECT3D_9_
#ifdef NO_IRR_COMPILE_WITH_DIRECT3D_9_
#undef _IRR_COMPILE_WITH_DIRECT3D_9_
#endif

Code: Select all

//#define _IRR_COMPILE_WITH_SOFTWARE_
#ifdef NO_IRR_COMPILE_WITH_SOFTWARE_
#undef _IRR_COMPILE_WITH_SOFTWARE_
#endif
Thanks mr cute alien
**
If you are looking for people with whom to develop your game, even to try functionalities, I can help you, free. CC0 man.

Image
**
n00bc0de
Posts: 116
Joined: Tue Oct 04, 2022 1:21 am

Re: compile only burnings video

Post by n00bc0de »

That way does work but you can also just define NO_IRR_COMPILE_WITH_OPENGL_, NO_IRR_COMPILE_WITH_DIRECT3D_9_, and NO_IRR_COMPILE_WITH_SOFTWARE_ in your compiler settings.

If you are using codeblocks then you can do that by going to Project->Build Options and then going over to #defines under the "Compiler Settings".
CuteAlien
Admin
Posts: 9926
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: compile only burnings video

Post by CuteAlien »

Yeah, the NO_IRR_COMPILE stuff is so you can change this without having to modify headers. But be careful when doing it that way that you should use the same defines when compiling Irrlicht and your project. Good way for Irrlicht project file is to copy existing one and adapt it. Then you can leave the original engine untouched (aside from having another project file in the folder).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Noiecity
Posts: 314
Joined: Wed Aug 23, 2023 7:22 pm
Contact:

Re: compile only burnings video

Post by Noiecity »

Thank you for your corrections, I'm still very new to this
**
If you are looking for people with whom to develop your game, even to try functionalities, I can help you, free. CC0 man.

Image
**
CuteAlien
Admin
Posts: 9926
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: compile only burnings video

Post by CuteAlien »

No worries - modifying header is also fine if you don't care about changing the engine a bit. Might even be easier as you don't have to be careful that both projects are using same settings then. Changing engine source is just something people often avoid.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Noiecity
Posts: 314
Joined: Wed Aug 23, 2023 7:22 pm
Contact:

Re: compile only burnings video

Post by Noiecity »

CuteAlien wrote: Thu Oct 23, 2025 3:43 pm No worries - modifying header is also fine if you don't care about changing the engine a bit. Might even be easier as you don't have to be careful that both projects are using same settings then. Changing engine source is just something people often avoid.
I have a version of a render that simulates human perspective...
I did something simple: I put my ruler in front of my eyes, placed a book, drew two horizontal lines at different distances while maintaining the horizontal distance... I measured the height of my eyes in relation to the book, measured the distance between the lines, and with the ruler still in front of my eyes, I was able to measure the size at which I saw the lines...
I had a FOV of 19, I tried to use it in Irrlicht and curiously... it was like zooming... and I remembered that it was similar to xeffects, that is, instead of using the camera's location, you have to relate it to an object to simulate its position and obtain a correct rotation, making nearby objects disappear with near... The same thing I had to do in xeffects to simulate the correct rotation lights...
**
If you are looking for people with whom to develop your game, even to try functionalities, I can help you, free. CC0 man.

Image
**
Post Reply