Search found 70 matches

by Ovan
Mon Nov 16, 2020 3:32 pm
Forum: Code Snippets
Topic: Color picker gui
Replies: 31
Views: 12856

Re: Color picker gui

Well I don't use irrlicht since 5 years, I don't know how the engine as changed With a rapid reading it appear that gui elements should be grab on the constructor so I recommend you to add this few lines in the constructor :               close->grab();             extend->grab();             scroll...
by Ovan
Tue Aug 30, 2016 10:21 am
Forum: Beginners Help
Topic: How to draw a Pie chart using Irrlicht's 2D drawing API
Replies: 10
Views: 1999

Re: How to draw a Pie chart using Irrlicht's 2D drawing API

http://irrlicht-fr.org/viewtopic.php?pid=11698#p11698 maybe ?
but if I remember each part of the pie is not calculated in "circle" but slide over a box ...
you may just calculate the difference
by Ovan
Wed Mar 30, 2016 8:29 pm
Forum: Advanced Help
Topic: Increase max textures from 8.
Replies: 19
Views: 3617

Re: Increase max textures from 8.

you have <<_IRR_MATERIAL_MAX_TEXTURES_ 8>> defined in IrrCompileConfg.h you must change E_TRANSFORMATION_STATE enumeration to add more texture matrix else the engine iterator over an out-of-bound array of "irr::core::matrix4" if I remember (in 1.8) http://irrlicht.sourceforge.net/forum/vie...
by Ovan
Fri Nov 27, 2015 11:04 pm
Forum: Open Discussion and Dev Announcements
Topic: irrlicht deffered texture loader for asynchronous scene load
Replies: 7
Views: 2524

Re: irrlicht deffered texture loader for asynchronous scene

;)

yeah maybe some clean up. I don't know the irrlicht coding rules
i only read&found the "Enhancing Irrlicht" on the contribution section, no more

I have build some stuff on the gui, maybe with coding rule i can rewrite it quickly

thanks
by Ovan
Thu Nov 26, 2015 6:20 pm
Forum: Open Discussion and Dev Announcements
Topic: irrlicht deffered texture loader for asynchronous scene load
Replies: 7
Views: 2524

Re: irrlicht deffered texture loader for asynchronous scene

a small update for the revision 5189 on the svn   Index: Irrlicht/include/IVideoDriver.h =================================================================== --- Irrlicht/include/IVideoDriver.h (revision 5189) +++ Irrlicht/include/IVideoDriver.h (working copy) @@ -1494,6 +1494,18 @@         */       ...
by Ovan
Sun Aug 09, 2015 6:32 pm
Forum: Open Discussion and Dev Announcements
Topic: irrlicht deffered texture loader for asynchronous scene load
Replies: 7
Views: 2524

Re: irrlicht deffered texture loader for asynchronous scene

Index: include/IVideoDriver.h =================================================================== --- include/IVideoDriver.h  (revision 5114) +++ include/IVideoDriver.h  (working copy) @@ -19,6 +19,7 @@  #include "EDriverTypes.h"  #include "EDriverFeatures.h"  #include "SEx...
by Ovan
Sat Aug 08, 2015 6:33 pm
Forum: Open Discussion and Dev Announcements
Topic: irrlicht deffered texture loader for asynchronous scene load
Replies: 7
Views: 2524

Re: irrlicht deffered texture loader for asynchronous scene

I'm missing somethink on mt concept or somethink ? :)
by Ovan
Fri Aug 07, 2015 5:19 pm
Forum: Open Discussion and Dev Announcements
Topic: irrlicht deffered texture loader for asynchronous scene load
Replies: 7
Views: 2524

Re: irrlicht deffered texture loader for asynchronous scene

this is exactly what he do, but in this way is work on all engine including quake3 and automatic texture loading from mesh
texture is virtually loaded on IDeferredTextureLoader from IVideoDriver and them "reloaded" when @cleanup is called on the main thread
by Ovan
Fri Aug 07, 2015 1:39 pm
Forum: Open Discussion and Dev Announcements
Topic: irrlicht deffered texture loader for asynchronous scene load
Replies: 7
Views: 2524

irrlicht deffered texture loader for asynchronous scene load

hi there, I just have a little idea to resolve the texture creation issue inside off main thread texture loading I'm not sure if is possible/correct and not tested namespace irr {     namespace video     {         class IVideoDriver;           // maybe preload IImage ?         class FakeTexture : pu...
by Ovan
Fri May 29, 2015 11:43 am
Forum: Beginners Help
Topic: EPT_POINTS help
Replies: 5
Views: 894

Re: EPT_POINTS help

index count error, i think EPT_TRIANGLES use 3 index for each triangle so you divide the index count by 3 EPT_LINES use 2 index .... divide the index count by 2 ... so for EPT_POINTS you use 1 index for each ... point, here you need to use 12 as index count ps: &Vertices[0] == Vertices same for ...
by Ovan
Wed May 27, 2015 9:48 pm
Forum: Beginners Help
Topic: re-creating device during run-time
Replies: 1
Views: 498

Re: re-creating device during run-time

http://irrlicht.sourceforge.net/forum/v ... =9&t=50332
on the svn this functionality is implemented << IrrlichtDevice::setWindowSize >>
by Ovan
Sat May 16, 2015 9:56 am
Forum: Code Snippets
Topic: GUIDropdownSelector
Replies: 4
Views: 1939

Re: GUIDropdownSelector

text can be centered (setTextAlignment)
http://irrlicht.sourceforge.net/docu/cl ... 19ab3e71d8
and if I remember the entire main front can be clicked ...
by Ovan
Fri May 15, 2015 11:13 am
Forum: Code Snippets
Topic: GUIDropdownSelector
Replies: 4
Views: 1939

Re: GUIDropdownSelector

I'm not sure, what the difference with a combobox ?