SHARE
TWEET

Untitled

a guest Aug 7th, 2014 9 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [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
  2. [18:14] == korutsu [55fdf618@ravissant.xnet.fi] has joined #cegui
  3. [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
  4. [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
  5. [18:19] <korutsu> before line 26
  6. [18:22] <o^> korutsu: actually no
  7. [18:22] <o^> what you are doing is that you're dereferencing the (invalid) pointer on the left hand side
  8. [18:23] <o^> which probably causes the segfault
  9. [18:25] <o^> do this instead: ceguiRenderer = &CEGUI::OpenGLRenderer::bootstrapSystem();
  10. [18:26] <korutsu> it works very much great :)
  11. [18:26] <korutsu> thank you for teaching me c++
  12. [18:26] <o^> np
  13. [18:35] == kornerr [~kornerr@176.196.60.235] has quit [Quit: Leaving.]
  14. [18:42] <korutsu> seems that it's not my only problem but at least it runs now for a while
  15. [18:43] == tomreyn [~tomreyn@megaglest/team/tomreyn] has joined #cegui
  16. [19:33] <Ident> mindcalamity: no
  17. [19:33] <Ident> which OS ? which GPU?
  18. [19:33] <Ident> CEED renders in opengl using cegui, what u see there should also occur in your cegui application#
  19. [19:33] <Ident> which i deem unlikely
  20. [19:33] <Ident> so i suspect some driver issue
  21. [19:35] <Ident> korutsu: what is that application, can u tell us about it?
  22. [19:35] <Ident> i d like to add it to our list of games/projects that use cegui, in case its something cool
  23. [19:41] == fusion44 [~fusion44@pD9FDC6DE.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
  24. [19:49] == erikogenvik_ [~quassel@92-32-125-234.tn.glocalnet.net] has quit [Ping timeout: 272 seconds]
  25. [19:52] == erikogenvik [~quassel@92-32-125-234.tn.glocalnet.net] has joined #cegui
  26. [20:44] <Ident> ah well nvm, i guess you are trying to tie cegui into the existing implementation
  27. [20:45] <mindcalamity> Ident: I did show my own app later in the video
  28. [20:45] <mindcalamity> I'm on a GTX 550 Ti
  29. [20:45] <mindcalamity> latest driver update
  30. [20:45] <mindcalamity> happens with both DX and GL (OGRE)
  31. [20:46] <Ident> ok
  32. [20:46] <Ident> same questions as before
  33. [20:46] <mindcalamity> which ones ?
  34. [20:46] <Ident> the ones i asked you
  35. [20:46] <Ident> read from top to bottom
  36. [20:46] <Ident> and check which ones u didnt reply to
  37. [20:46] <Ident> OS?
  38. [20:46] <mindcalamity> Windows 8, GTX 550 Ti, CEGUI 0.8.x, OGRE (both render systems)
  39. [20:46] <Ident> additionally always provide: cegui version
  40. [20:47] <Ident> and the cegui renderer u use
  41. [20:47] <Ident> as well as the version of the renderer
  42. [20:47] <Ident> and in the case of ogre or irrlicht which renderer u selected
  43. [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)
  44. [20:47] <Ident> this is all in the cegui log btw
  45. [20:47] <mindcalamity> Ident: so ask for the log :P
  46. [20:47] <timotei_> For example, I'm working on the TreeView renderer, and it's really easy to get the ImageManager instance :D
  47. [20:47] <mindcalamity> Ident: http://pastebin.com/zfJGsh4R
  48. [20:47] <Ident> timotei_: bad design, the impossibility to create multiple instances (obviously you can have only one)
  49. [20:48] <Ident> two big reasons, each one for themselves is reason enough for removal
  50. [20:48] <Ident> singletons are rarely useful
  51. [20:48] <Ident> and definitely not for ImageManager and System
  52. [20:48] <Ident> tĀ“hats just all-global-public laziness
  53. [20:48] <Ident> mindcalamity: its in the forum posting guidelines, i thought its obvious
  54. [20:49] <timotei_> Yes, but in which case, for example, you need more ImageManagers?
  55. [20:49] <timotei_> Isn't image/resource groups enough to separate stuff?
  56. [20:49] <Ident> what in heavens name is "Microsoft Windows MSVC++ Great Scott"
  57. [20:49] <Ident> timotei_: two ceguis in one application
  58. [20:50] <Ident> yes, there is need for such a thing sometimes
  59. [20:50] <timotei_> OKey, I get it.
  60. [20:50] <Ident> but seriously, the singletones in cegui are just bad design
  61. [20:50] <Ident> so away with em anyway!
  62. [20:50] <Ident> mindcalamity: thats very odd
  63. [20:50] <Ident> can you reproduce this in the samplebrowser?
  64. [20:51] <mindcalamity> Ident: ask he who put it there :D it's VC++ 2013
  65. [20:51] <mindcalamity> I haven't compiled the samples
  66. [20:51] <mindcalamity> I'll try
  67. [20:51] <Ident> please do it
  68. [20:51] <Ident> there is a drag n drop demo
  69. [20:51] <mindcalamity> I know
  70. [20:51] <Ident> yea
  71. [20:51] <mindcalamity> Ident: is there a precompiled demo ?
  72. [20:51] <Ident> u see where this is going
  73. [20:51] <Ident> mindcalamity: no
  74. [20:51] <mindcalamity> damn
  75. [20:51] <Ident> how would that make sense in your case?
  76. [20:52] <Ident> its inconclusive
  77. [20:52] <Ident> possibly misleading even
  78. [20:52] <Ident> the issue happens with both rendering systems?
  79. [20:53] <mindcalamity> yes
  80. [20:53] <mindcalamity> both DX and GL
  81. [20:53] <mindcalamity> I'm using OGRE, but CEED uses the pure GL renderer
  82. [20:53] <mindcalamity> so it's not OGRE-specific
  83. [20:53] <Ident> mindcalamity: ogre version?
  84. [20:54] <mindcalamity> 1.10
  85. [20:54] <mindcalamity> from the repo
  86. [20:54] <Ident> ceed version?
  87. [20:54] <mindcalamity>  a few months ago
  88. [20:54] <mindcalamity> latest one, I compiled the packed one
  89. [20:57] <mindcalamity> http://pastebin.com/JYTNy1Wg
  90. [20:57] <mindcalamity> What the actual fuck ?
  91. [20:57] <Ident> cegui version?
  92. [20:57] <mindcalamity> ah nvm
  93. [20:57] <mindcalamity> OIS not found
  94. [20:57] <mindcalamity> same one yo
  95. [20:58] <Ident> it says OIS
  96. [20:58] <Ident> then it says boost
  97. [20:58] <Ident> wtf?
  98. [20:58] <mindcalamity> right
  99. [20:58] <mindcalamity> but boost is found
  100. [20:58] <Ident> i remember changes on that
  101. [20:58] <Ident> but i thought this was fixed..
  102. [20:58] <mindcalamity> and the boost error is in red, the ois one is regular text
  103. [20:58] <Ident> i dont wanna look into the cmake files
  104. [20:58] <Ident> wellll
  105. [20:58] <mindcalamity> this is the source release I think
  106. [20:58] <mindcalamity> it's not from the repo
  107. [20:58] <mindcalamity> 8.4
  108. [20:59] <mindcalamity> I'll just disable the OGRE renderer
  109. [20:59] <mindcalamity> I wanna test out the demo, don't need the renderer
  110. [20:59] <mindcalamity> btw CEGUI checking for BOOST is stupid
  111. [21:00] <mindcalamity> at least in the way it's done now
  112. [21:00] <Ident> why
  113. [21:00] <mindcalamity> I had compiled OGRE without boost
  114. [21:00] <mindcalamity> and CEGUI had no idea it didn't need it
  115. [21:00] <Ident> i m aware of this issue
  116. [21:00] <Ident> there is NO WAY we can know if you compiled ogre without boost or not
  117. [21:00] <mindcalamity> perhaps add a check of defines in OgreConfig.h or something
  118. [21:00] <Ident> excuse me?
  119. [21:00] <mindcalamity> let me make sure
  120. [21:01] <Ident> i looked ati t once and i found no way to do this automatically
  121. [21:01] <Ident> if u find a way pls make a PR
  122. [21:01] <mindcalamity> just check OGRE_THREAD_PROVIDER
  123. [21:01] <mindcalamity> I'll try
  124. [21:01] <Ident> please do it
  125. [21:01] <Ident> this has been bugging me for a while
  126. [21:01] <mindcalamity> yeah
  127. [21:01] <Ident> i didnt think of those defines
  128. [21:01] <Ident> and currently i have 0 time
  129. [21:01] == mindcalamity [5f561638@gateway/web/freenode/ip.95.86.22.56]
  130. [21:01] ==  realname : 95.86.22.56 - http://webchat.freenode.net
  131. [21:01] ==  channels : #cegui
  132. [21:01] ==  server   : herbert.freenode.net [DE]
  133. [21:01] ==  idle     : 0 days 0 hours 0 minutes 6 seconds [connected: Thu Aug 07 17:17:55 2014]
  134. [21:01] == End of WHOIS
  135. [21:01] <Ident> so i cant do it
  136. [21:02] <Ident> this drag and drop bug makes no sense man
  137. [21:02] <Ident> i ve never seen this happen
  138. [21:02] <mindcalamity> Ident: I can't seem to compile the demos xD
  139. [21:03] <mindcalamity> I think visual studio is retarded
  140. [21:03] <Ident> sorry this is not helpful
  141. [21:03] <Ident> error logs or anything pleasew
  142. [21:03] <Ident> i cant make any response like that
  143. [21:03] <mindcalamity> yah I know, I was commenting that time :D
  144. [21:03] <mindcalamity> it's the font demo and Ident game demo
  145. [21:04] <mindcalamity> http://i.imgur.com/pjbT8CD.png
  146. [21:04] <mindcalamity> I know what the problem is though
  147. [21:04] <Ident> you changed the format of the file
  148. [21:04] <mindcalamity> it's a compiler issue
  149. [21:04] <Ident> no
  150. [21:04] <mindcalamity> VS did it for me
  151. [21:04] <Ident> i m pretty sure
  152. [21:04] <Ident> VS
  153. [21:04] <Ident> changed your file formatting
  154. [21:04] <mindcalamity> yes it did
  155. [21:04] <Ident> dont allow it to do that
  156. [21:05] <Ident> thats nasty
  157. [21:05] <mindcalamity> I have the japanese thingy
  158. [21:05] <mindcalamity> added
  159. [21:05] <mindcalamity> so it's causing some issues
  160. [21:05] <Ident> no idea what a japanese thingy is
  161. [21:05] <Ident> something perverted i assume
  162. [21:06] <mindcalamity> lol
  163. [21:06] <mindcalamity> system locale
  164. [21:06] <mindcalamity> http://i.imgur.com/HCVBnaL.png
  165. [21:06] <mindcalamity> so I can run japanese software
  166. [21:10] <mindcalamity> Ident: http://i.imgur.com/vjNJ9du.png
  167. [21:11] <Ident> mindcalamity: copy the samples folder fro mthe bin folder over..
  168. [21:11] <Ident> datafiles/samples
  169. [21:11] <Ident> in build
  170. [21:11] <mindcalamity> I copied it into the path it showed me
  171. [21:12] <mindcalamity> http://i.imgur.com/qKqxjsR.png
  172. [21:12] <mindcalamity> NO
  173. [21:12] <mindcalamity> damn
  174. [21:12] <mindcalamity> I'm blind
  175. [21:12] <mindcalamity> ..
  176. [21:12] <mindcalamity> sorry
  177. [21:14] <lucebac> mindcalamity: datafiles/samples/samples.xml should be the right path
  178. [21:15] <mindcalamity> lucebac: that did it
  179. [21:15] <mindcalamity> Ident: I'm not seeing the issue in the sample framework
  180. [21:16] <Ident> mindcalamity: good
  181. [21:16] <mindcalamity> good as in it's not a cegui bug
  182. [21:16] <mindcalamity> bad as in  Ihave no idea what the fuck it is
  183. [21:17] <Ident> it could still be a cegui bug
  184. [21:17] <lucebac> mindcalamity: can you sum up what issue u are talking about? i dont want to read the whole backlog
  185. [21:17] <Ident> do you use a root window that covers your entire screnn?
  186. [21:17] <Ident> lucebac: watch the youtube video
  187. [21:17] <mindcalamity> lucebac: https://www.youtube.com/watch?v=jRI2OChHJ-0
  188. [21:17] <mindcalamity> Ident: yeah I use a root window
  189. [21:17] <mindcalamity> and add the layout to that
  190. [21:18] <mindcalamity> so technically I have 1 root window for the whole ap
  191. [21:18] <mindcalamity> and another for the layout
  192. [21:18] <mindcalamity> they both cover the whole screen
  193. [21:18] <Ident> egh
  194. [21:19] <Ident> why dont u set your layout as the new root
  195. [21:19] <mindcalamity> ill try
  196. [21:22] <mindcalamity> Ident: same issue
  197. [21:22] <mindcalamity> Ident: do you have CEED ?
  198. [21:22] <Ident> mindcalamity: my GSOC project is in CEED
  199. [21:23] <Ident> i rarely develop blindly
  200. [21:23] <mindcalamity> Ident: can I give you the layout and can try ?
  201. [21:23] <mindcalamity> and you try it * ?
  202. [21:23] <Ident> sure
  203. [21:23] <Ident> will u include the looknfeel
  204. [21:23] <Ident> and imageset stuff?
  205. [21:23] <Ident> also a .project ifle would be candy
  206. [21:23] <Ident> file*
  207. [21:23] <mindcalamity> yeah
  208. [21:24] <Ident> i got to go in 15 mins so meh
  209. [21:28] <mindcalamity> Ident: https://www.mediafire.com/folder/undefined/
  210. [21:28] <Ident> downloading
  211. [21:28] <Ident> well
  212. [21:28] <Ident> lol
  213. [21:28] <Ident> check ur link
  214. [21:29] <mindcalamity> wow
  215. [21:29] <mindcalamity> http://www.mediafire.com/download/e64fiqiwmrmcrhp/CEGUI.rar
  216. [21:29] <Ident> people still use rar?
  217. [21:31] <mindcalamity> yep
  218. [21:31] <mindcalamity> just so used to the UI
  219. [21:36] <mindcalamity> Ident: did you download it ?
  220. [21:36] <Ident> mindcalamity: yes
  221. [21:36] <Ident> i m playing with it
  222. [21:36] <mindcalamity> does it work ?
  223. [21:36] <Ident> no
  224. [21:36] <mindcalamity> it flickers ?
  225. [21:36] <Ident> yes
  226. [21:36] <mindcalamity> awesome
  227. [21:36] <mindcalamity> :D
  228. [21:36] <Ident> when i stop dragging
  229. [21:36] <Ident> it disappears
  230. [21:36] <Ident> basically it doesnt rerender the window
  231. [21:36] <Ident> movement triggers renders
  232. [21:37] <mindcalamity> yeah
  233. [21:37] <Ident> but oncei ts still
  234. [21:37] <Ident> nothing is triggered
  235. [21:37] <mindcalamity> I do inject time pulses in case that's the issue
  236. [21:37] <Ident> CEED.
  237. [21:37] <Ident> ceed should do everything right
  238. [21:37] <Ident> mindcalamity:
  239. [21:37] <mindcalamity> yep\
  240. [21:37] <Ident> u want some fun stuff?
  241. [21:38] <mindcalamity> sure
  242. [21:38] <Ident> set autorendering to true
  243. [21:38] <Ident> the window is now rendered but cant be dragged outside the parent
  244. [21:38] <mindcalamity> yep
  245. [21:38] <mindcalamity> that did it
  246. [21:38] <Ident> cant be dragged!
  247. [21:38] <Ident> outside
  248. [21:39] <Ident> or it disppears
  249. [21:39] <Ident> = wtf
  250. [21:39] <mindcalamity> mhm
  251. [21:39] <mindcalamity> why though
  252. [21:39] <Ident> mindcalamity:
  253. [21:39] <Ident> set autorendering surface on false for the framewindow
  254. [21:39] <Ident> now everything works, no matter what
  255. [21:40] <mindcalamity> wait is True default on framewindow ?
  256. [21:40] <Ident> yes
  257. [21:40] <Ident> its the only window that has it on true afaik
  258. [21:40] <Ident> and it makes sense
  259. [21:40] <Ident> and no, this issue isnt normal
  260. [21:40] <Ident> this is a bug
  261. [21:40] <mindcalamity> huh
  262. [21:40] <Ident> please create a mantis bug report
  263. [21:40] <Ident> attach your files there
  264. [21:40] <Ident> and the chat log
  265. [21:41] <mindcalamity> will do
  266. [21:41] <Ident> until we fix this please just set what we talked about to False
  267. [21:41] <mindcalamity> yeah
  268. [21:41] <mindcalamity> http://cegui.org.uk/mantis
  269. [21:41] <Ident> this will be fine and has no real sideffects
  270. [21:41] <mindcalamity> there right ?
  271. [21:41] <Ident> yes
  272. [21:41] <Ident> we only have one mantis :D
  273. [21:41] <Ident> bug reporter
  274. [21:41] <mindcalamity> OGRE had multiple, so had to ask xD
  275. [21:42] <Ident> ew
  276. [21:42] <Ident> thats bad
  277. [21:42] <Ident> btw nice images
  278. [21:42] <mindcalamity> happened while they moved to JIRA
  279. [21:42] <mindcalamity> which ones ? the spells ?
  280. [21:42] <mindcalamity> :D
  281. [21:42] <Ident> ye
  282. [21:42] <Ident> reminds me of WC3 art
  283. [21:42] <mindcalamity> because those are from LoL
  284. [21:42] <Ident> warcraft 3
  285. [21:42] <Ident> oh
  286. [21:42] <Ident> nasty
  287. [21:42] <mindcalamity> hehe
  288. [21:42] <Ident> i didnt play LoL in a while
  289. [21:42] <mindcalamity> I'm just prototyping
  290. [21:42] <Ident> well
  291. [21:43] <mindcalamity> have to use some placeholders
  292. [21:43] <mindcalamity> I can't seem to stop playing it tho :(
  293. [21:44] <mindcalamity> Ident:  should I file it as CoreLibrary or Datafiles ?
  294. [21:44] <Ident> neither
  295. [21:44] <Ident> oh
  296. [21:44] <Ident> CoreLibrary
  297. [21:44] <Ident> this has nothing to do with datafiles
  298. [21:44] <Ident> pls mention it occurs in all renderers and CEED
  299. [21:45] <mindcalamity> right
  300. [21:45] <mindcalamity> but it doesn't in the demos
  301. [21:45] <mindcalamity> maybe it's an AlfiskoSkin issue ?
  302. [21:46] <mindcalamity> Ident: how much of the chatlog should I include ?
  303. [21:46] <Ident> the demos probably have different settings
  304. [21:46] <Ident> we just discussed this
  305. [21:46] <Ident> mindcalamity: all
  306. [21:46] <Ident> especially this line
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top