Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [17:26] <mindcalamity> mpreisler: Ident do you guys have any idea why this flicker would be happening ? https://www.youtube.com/watch?v=jRI2OChHJ-0
- [18:14] == korutsu [55fdf618@ravissant.xnet.fi] has joined #cegui
- [18:17] <korutsu> i tried to bolt-on cegui with following code https://github.com/kortemik/RBDOOM-3-BFG/commit/67a76df6ee35be38578fe2979e7b8fbff0581d47 however i get sigsegv http://codepad.org/s2DwmKnW
- [18:19] <korutsu> by no means i have experience in c++ but for me it would be natural to do a malloc in neo/sys/sdl/cegui.h
- [18:19] <korutsu> before line 26
- [18:22] <o^> korutsu: actually no
- [18:22] <o^> what you are doing is that you're dereferencing the (invalid) pointer on the left hand side
- [18:23] <o^> which probably causes the segfault
- [18:25] <o^> do this instead: ceguiRenderer = &CEGUI::OpenGLRenderer::bootstrapSystem();
- [18:26] <korutsu> it works very much great :)
- [18:26] <korutsu> thank you for teaching me c++
- [18:26] <o^> np
- [18:35] == kornerr [~kornerr@176.196.60.235] has quit [Quit: Leaving.]
- [18:42] <korutsu> seems that it's not my only problem but at least it runs now for a while
- [18:43] == tomreyn [~tomreyn@megaglest/team/tomreyn] has joined #cegui
- [19:33] <Ident> mindcalamity: no
- [19:33] <Ident> which OS ? which GPU?
- [19:33] <Ident> CEED renders in opengl using cegui, what u see there should also occur in your cegui application#
- [19:33] <Ident> which i deem unlikely
- [19:33] <Ident> so i suspect some driver issue
- [19:35] <Ident> korutsu: what is that application, can u tell us about it?
- [19:35] <Ident> i d like to add it to our list of games/projects that use cegui, in case its something cool
- [19:41] == fusion44 [~fusion44@pD9FDC6DE.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
- [19:49] == erikogenvik_ [~quassel@92-32-125-234.tn.glocalnet.net] has quit [Ping timeout: 272 seconds]
- [19:52] == erikogenvik [~quassel@92-32-125-234.tn.glocalnet.net] has joined #cegui
- [20:44] <Ident> ah well nvm, i guess you are trying to tie cegui into the existing implementation
- [20:45] <mindcalamity> Ident: I did show my own app later in the video
- [20:45] <mindcalamity> I'm on a GTX 550 Ti
- [20:45] <mindcalamity> latest driver update
- [20:45] <mindcalamity> happens with both DX and GL (OGRE)
- [20:46] <Ident> ok
- [20:46] <Ident> same questions as before
- [20:46] <mindcalamity> which ones ?
- [20:46] <Ident> the ones i asked you
- [20:46] <Ident> read from top to bottom
- [20:46] <Ident> and check which ones u didnt reply to
- [20:46] <Ident> OS?
- [20:46] <mindcalamity> Windows 8, GTX 550 Ti, CEGUI 0.8.x, OGRE (both render systems)
- [20:46] <Ident> additionally always provide: cegui version
- [20:47] <Ident> and the cegui renderer u use
- [20:47] <Ident> as well as the version of the renderer
- [20:47] <Ident> and in the case of ogre or irrlicht which renderer u selected
- [20:47] <timotei_> Btw, Ident, what's one of the reasons to get rid of the Singletons in the codebase? (I seem to fail to understand right now why)
- [20:47] <Ident> this is all in the cegui log btw
- [20:47] <mindcalamity> Ident: so ask for the log :P
- [20:47] <timotei_> For example, I'm working on the TreeView renderer, and it's really easy to get the ImageManager instance :D
- [20:47] <mindcalamity> Ident: http://pastebin.com/zfJGsh4R
- [20:47] <Ident> timotei_: bad design, the impossibility to create multiple instances (obviously you can have only one)
- [20:48] <Ident> two big reasons, each one for themselves is reason enough for removal
- [20:48] <Ident> singletons are rarely useful
- [20:48] <Ident> and definitely not for ImageManager and System
- [20:48] <Ident> t´hats just all-global-public laziness
- [20:48] <Ident> mindcalamity: its in the forum posting guidelines, i thought its obvious
- [20:49] <timotei_> Yes, but in which case, for example, you need more ImageManagers?
- [20:49] <timotei_> Isn't image/resource groups enough to separate stuff?
- [20:49] <Ident> what in heavens name is "Microsoft Windows MSVC++ Great Scott"
- [20:49] <Ident> timotei_: two ceguis in one application
- [20:50] <Ident> yes, there is need for such a thing sometimes
- [20:50] <timotei_> OKey, I get it.
- [20:50] <Ident> but seriously, the singletones in cegui are just bad design
- [20:50] <Ident> so away with em anyway!
- [20:50] <Ident> mindcalamity: thats very odd
- [20:50] <Ident> can you reproduce this in the samplebrowser?
- [20:51] <mindcalamity> Ident: ask he who put it there :D it's VC++ 2013
- [20:51] <mindcalamity> I haven't compiled the samples
- [20:51] <mindcalamity> I'll try
- [20:51] <Ident> please do it
- [20:51] <Ident> there is a drag n drop demo
- [20:51] <mindcalamity> I know
- [20:51] <Ident> yea
- [20:51] <mindcalamity> Ident: is there a precompiled demo ?
- [20:51] <Ident> u see where this is going
- [20:51] <Ident> mindcalamity: no
- [20:51] <mindcalamity> damn
- [20:51] <Ident> how would that make sense in your case?
- [20:52] <Ident> its inconclusive
- [20:52] <Ident> possibly misleading even
- [20:52] <Ident> the issue happens with both rendering systems?
- [20:53] <mindcalamity> yes
- [20:53] <mindcalamity> both DX and GL
- [20:53] <mindcalamity> I'm using OGRE, but CEED uses the pure GL renderer
- [20:53] <mindcalamity> so it's not OGRE-specific
- [20:53] <Ident> mindcalamity: ogre version?
- [20:54] <mindcalamity> 1.10
- [20:54] <mindcalamity> from the repo
- [20:54] <Ident> ceed version?
- [20:54] <mindcalamity> a few months ago
- [20:54] <mindcalamity> latest one, I compiled the packed one
- [20:57] <mindcalamity> http://pastebin.com/JYTNy1Wg
- [20:57] <mindcalamity> What the actual fuck ?
- [20:57] <Ident> cegui version?
- [20:57] <mindcalamity> ah nvm
- [20:57] <mindcalamity> OIS not found
- [20:57] <mindcalamity> same one yo
- [20:58] <Ident> it says OIS
- [20:58] <Ident> then it says boost
- [20:58] <Ident> wtf?
- [20:58] <mindcalamity> right
- [20:58] <mindcalamity> but boost is found
- [20:58] <Ident> i remember changes on that
- [20:58] <Ident> but i thought this was fixed..
- [20:58] <mindcalamity> and the boost error is in red, the ois one is regular text
- [20:58] <Ident> i dont wanna look into the cmake files
- [20:58] <Ident> wellll
- [20:58] <mindcalamity> this is the source release I think
- [20:58] <mindcalamity> it's not from the repo
- [20:58] <mindcalamity> 8.4
- [20:59] <mindcalamity> I'll just disable the OGRE renderer
- [20:59] <mindcalamity> I wanna test out the demo, don't need the renderer
- [20:59] <mindcalamity> btw CEGUI checking for BOOST is stupid
- [21:00] <mindcalamity> at least in the way it's done now
- [21:00] <Ident> why
- [21:00] <mindcalamity> I had compiled OGRE without boost
- [21:00] <mindcalamity> and CEGUI had no idea it didn't need it
- [21:00] <Ident> i m aware of this issue
- [21:00] <Ident> there is NO WAY we can know if you compiled ogre without boost or not
- [21:00] <mindcalamity> perhaps add a check of defines in OgreConfig.h or something
- [21:00] <Ident> excuse me?
- [21:00] <mindcalamity> let me make sure
- [21:01] <Ident> i looked ati t once and i found no way to do this automatically
- [21:01] <Ident> if u find a way pls make a PR
- [21:01] <mindcalamity> just check OGRE_THREAD_PROVIDER
- [21:01] <mindcalamity> I'll try
- [21:01] <Ident> please do it
- [21:01] <Ident> this has been bugging me for a while
- [21:01] <mindcalamity> yeah
- [21:01] <Ident> i didnt think of those defines
- [21:01] <Ident> and currently i have 0 time
- [21:01] == mindcalamity [5f561638@gateway/web/freenode/ip.95.86.22.56]
- [21:01] == realname : 95.86.22.56 - http://webchat.freenode.net
- [21:01] == channels : #cegui
- [21:01] == server : herbert.freenode.net [DE]
- [21:01] == idle : 0 days 0 hours 0 minutes 6 seconds [connected: Thu Aug 07 17:17:55 2014]
- [21:01] == End of WHOIS
- [21:01] <Ident> so i cant do it
- [21:02] <Ident> this drag and drop bug makes no sense man
- [21:02] <Ident> i ve never seen this happen
- [21:02] <mindcalamity> Ident: I can't seem to compile the demos xD
- [21:03] <mindcalamity> I think visual studio is retarded
- [21:03] <Ident> sorry this is not helpful
- [21:03] <Ident> error logs or anything pleasew
- [21:03] <Ident> i cant make any response like that
- [21:03] <mindcalamity> yah I know, I was commenting that time :D
- [21:03] <mindcalamity> it's the font demo and Ident game demo
- [21:04] <mindcalamity> http://i.imgur.com/pjbT8CD.png
- [21:04] <mindcalamity> I know what the problem is though
- [21:04] <Ident> you changed the format of the file
- [21:04] <mindcalamity> it's a compiler issue
- [21:04] <Ident> no
- [21:04] <mindcalamity> VS did it for me
- [21:04] <Ident> i m pretty sure
- [21:04] <Ident> VS
- [21:04] <Ident> changed your file formatting
- [21:04] <mindcalamity> yes it did
- [21:04] <Ident> dont allow it to do that
- [21:05] <Ident> thats nasty
- [21:05] <mindcalamity> I have the japanese thingy
- [21:05] <mindcalamity> added
- [21:05] <mindcalamity> so it's causing some issues
- [21:05] <Ident> no idea what a japanese thingy is
- [21:05] <Ident> something perverted i assume
- [21:06] <mindcalamity> lol
- [21:06] <mindcalamity> system locale
- [21:06] <mindcalamity> http://i.imgur.com/HCVBnaL.png
- [21:06] <mindcalamity> so I can run japanese software
- [21:10] <mindcalamity> Ident: http://i.imgur.com/vjNJ9du.png
- [21:11] <Ident> mindcalamity: copy the samples folder fro mthe bin folder over..
- [21:11] <Ident> datafiles/samples
- [21:11] <Ident> in build
- [21:11] <mindcalamity> I copied it into the path it showed me
- [21:12] <mindcalamity> http://i.imgur.com/qKqxjsR.png
- [21:12] <mindcalamity> NO
- [21:12] <mindcalamity> damn
- [21:12] <mindcalamity> I'm blind
- [21:12] <mindcalamity> ..
- [21:12] <mindcalamity> sorry
- [21:14] <lucebac> mindcalamity: datafiles/samples/samples.xml should be the right path
- [21:15] <mindcalamity> lucebac: that did it
- [21:15] <mindcalamity> Ident: I'm not seeing the issue in the sample framework
- [21:16] <Ident> mindcalamity: good
- [21:16] <mindcalamity> good as in it's not a cegui bug
- [21:16] <mindcalamity> bad as in Ihave no idea what the fuck it is
- [21:17] <Ident> it could still be a cegui bug
- [21:17] <lucebac> mindcalamity: can you sum up what issue u are talking about? i dont want to read the whole backlog
- [21:17] <Ident> do you use a root window that covers your entire screnn?
- [21:17] <Ident> lucebac: watch the youtube video
- [21:17] <mindcalamity> lucebac: https://www.youtube.com/watch?v=jRI2OChHJ-0
- [21:17] <mindcalamity> Ident: yeah I use a root window
- [21:17] <mindcalamity> and add the layout to that
- [21:18] <mindcalamity> so technically I have 1 root window for the whole ap
- [21:18] <mindcalamity> and another for the layout
- [21:18] <mindcalamity> they both cover the whole screen
- [21:18] <Ident> egh
- [21:19] <Ident> why dont u set your layout as the new root
- [21:19] <mindcalamity> ill try
- [21:22] <mindcalamity> Ident: same issue
- [21:22] <mindcalamity> Ident: do you have CEED ?
- [21:22] <Ident> mindcalamity: my GSOC project is in CEED
- [21:23] <Ident> i rarely develop blindly
- [21:23] <mindcalamity> Ident: can I give you the layout and can try ?
- [21:23] <mindcalamity> and you try it * ?
- [21:23] <Ident> sure
- [21:23] <Ident> will u include the looknfeel
- [21:23] <Ident> and imageset stuff?
- [21:23] <Ident> also a .project ifle would be candy
- [21:23] <Ident> file*
- [21:23] <mindcalamity> yeah
- [21:24] <Ident> i got to go in 15 mins so meh
- [21:28] <mindcalamity> Ident: https://www.mediafire.com/folder/undefined/
- [21:28] <Ident> downloading
- [21:28] <Ident> well
- [21:28] <Ident> lol
- [21:28] <Ident> check ur link
- [21:29] <mindcalamity> wow
- [21:29] <mindcalamity> http://www.mediafire.com/download/e64fiqiwmrmcrhp/CEGUI.rar
- [21:29] <Ident> people still use rar?
- [21:31] <mindcalamity> yep
- [21:31] <mindcalamity> just so used to the UI
- [21:36] <mindcalamity> Ident: did you download it ?
- [21:36] <Ident> mindcalamity: yes
- [21:36] <Ident> i m playing with it
- [21:36] <mindcalamity> does it work ?
- [21:36] <Ident> no
- [21:36] <mindcalamity> it flickers ?
- [21:36] <Ident> yes
- [21:36] <mindcalamity> awesome
- [21:36] <mindcalamity> :D
- [21:36] <Ident> when i stop dragging
- [21:36] <Ident> it disappears
- [21:36] <Ident> basically it doesnt rerender the window
- [21:36] <Ident> movement triggers renders
- [21:37] <mindcalamity> yeah
- [21:37] <Ident> but oncei ts still
- [21:37] <Ident> nothing is triggered
- [21:37] <mindcalamity> I do inject time pulses in case that's the issue
- [21:37] <Ident> CEED.
- [21:37] <Ident> ceed should do everything right
- [21:37] <Ident> mindcalamity:
- [21:37] <mindcalamity> yep\
- [21:37] <Ident> u want some fun stuff?
- [21:38] <mindcalamity> sure
- [21:38] <Ident> set autorendering to true
- [21:38] <Ident> the window is now rendered but cant be dragged outside the parent
- [21:38] <mindcalamity> yep
- [21:38] <mindcalamity> that did it
- [21:38] <Ident> cant be dragged!
- [21:38] <Ident> outside
- [21:39] <Ident> or it disppears
- [21:39] <Ident> = wtf
- [21:39] <mindcalamity> mhm
- [21:39] <mindcalamity> why though
- [21:39] <Ident> mindcalamity:
- [21:39] <Ident> set autorendering surface on false for the framewindow
- [21:39] <Ident> now everything works, no matter what
- [21:40] <mindcalamity> wait is True default on framewindow ?
- [21:40] <Ident> yes
- [21:40] <Ident> its the only window that has it on true afaik
- [21:40] <Ident> and it makes sense
- [21:40] <Ident> and no, this issue isnt normal
- [21:40] <Ident> this is a bug
- [21:40] <mindcalamity> huh
- [21:40] <Ident> please create a mantis bug report
- [21:40] <Ident> attach your files there
- [21:40] <Ident> and the chat log
- [21:41] <mindcalamity> will do
- [21:41] <Ident> until we fix this please just set what we talked about to False
- [21:41] <mindcalamity> yeah
- [21:41] <mindcalamity> http://cegui.org.uk/mantis
- [21:41] <Ident> this will be fine and has no real sideffects
- [21:41] <mindcalamity> there right ?
- [21:41] <Ident> yes
- [21:41] <Ident> we only have one mantis :D
- [21:41] <Ident> bug reporter
- [21:41] <mindcalamity> OGRE had multiple, so had to ask xD
- [21:42] <Ident> ew
- [21:42] <Ident> thats bad
- [21:42] <Ident> btw nice images
- [21:42] <mindcalamity> happened while they moved to JIRA
- [21:42] <mindcalamity> which ones ? the spells ?
- [21:42] <mindcalamity> :D
- [21:42] <Ident> ye
- [21:42] <Ident> reminds me of WC3 art
- [21:42] <mindcalamity> because those are from LoL
- [21:42] <Ident> warcraft 3
- [21:42] <Ident> oh
- [21:42] <Ident> nasty
- [21:42] <mindcalamity> hehe
- [21:42] <Ident> i didnt play LoL in a while
- [21:42] <mindcalamity> I'm just prototyping
- [21:42] <Ident> well
- [21:43] <mindcalamity> have to use some placeholders
- [21:43] <mindcalamity> I can't seem to stop playing it tho :(
- [21:44] <mindcalamity> Ident: should I file it as CoreLibrary or Datafiles ?
- [21:44] <Ident> neither
- [21:44] <Ident> oh
- [21:44] <Ident> CoreLibrary
- [21:44] <Ident> this has nothing to do with datafiles
- [21:44] <Ident> pls mention it occurs in all renderers and CEED
- [21:45] <mindcalamity> right
- [21:45] <mindcalamity> but it doesn't in the demos
- [21:45] <mindcalamity> maybe it's an AlfiskoSkin issue ?
- [21:46] <mindcalamity> Ident: how much of the chatlog should I include ?
- [21:46] <Ident> the demos probably have different settings
- [21:46] <Ident> we just discussed this
- [21:46] <Ident> mindcalamity: all
- [21:46] <Ident> especially this line
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement