These are chat archives for arenanet/api-cdi

20th
Sep 2017
Michael Dougall
@madou
Sep 20 2017 04:07
wew bois new job at atlassian
Eearslya Sleiarion
@Eearslya
Sep 20 2017 04:29
ooh
Edgar Doiron
@Coffee4cr
Sep 20 2017 13:09
@madou you're at Atlassian?
nice
Akshay Gupta
@Dolvic
Sep 20 2017 13:49
grats @madou
Archomeda
@Archomeda
Sep 20 2017 14:38
omg haha, funny bug
image.png
i think that's probably some sort of memory corruption when i spammed 'M' too soon and too fast when i was still in a loading screen :')
yeah, when i looked away and back again, it was gone :P
windwarrior
@windwarrior
Sep 20 2017 17:08
are you sure your PC is healthy
random crashes, graphic glitches
Werdes
@werdes
Sep 20 2017 17:09
that looks more like a gpu issue
windwarrior
@windwarrior
Sep 20 2017 17:09
well @Archomeda had texture-related crashes before
Archomeda
@Archomeda
Sep 20 2017 17:10
the name plates were replaced by map region texts
well, partly :P
doubt it's a gpu issue really
but it might still be, i'm no expert
windwarrior
@windwarrior
Sep 20 2017 17:11
you can try furmark
Archomeda
@Archomeda
Sep 20 2017 17:11
also, i repaired my dat file after the crash from monday :P
Archomeda
@Archomeda
Sep 20 2017 17:21
oh wow #566 :(
PoF will probably break much more stuff :(
BoyC
@BoyC
Sep 20 2017 18:06
@Archomeda when i looked into the font stuff i did a frame analysis on the game, what happens is that texts are rendered as a whole into a texture. You probably encountered a concurrency issue when the same area of the texture atlas was used to draw the map and the name tags as well
Eearslya Sleiarion
@Eearslya
Sep 20 2017 18:06
huh, now that's interesting
I guess it makes it easier to move them around
BoyC
@BoyC
Sep 20 2017 18:07
it's probably so they only get layouted once
Eearslya Sleiarion
@Eearslya
Sep 20 2017 18:07
Does that apply to the chat box, too, though? Does it redraw every chat message when you resize it?
BoyC
@BoyC
Sep 20 2017 18:07
it's something where a bit of gpu memory could be spared
hm i don't remember but i'm pretty sure yeah
Archomeda
@Archomeda
Sep 20 2017 18:08
:O
BoyC
@BoyC
Sep 20 2017 18:08
but only the visible ones
of course
it's all dynamic, which is why looking away and back fixed the issue
Eearslya Sleiarion
@Eearslya
Sep 20 2017 18:08
Huh. Makes me wonder how it can determine the size of the scrollbar, then..
BoyC
@BoyC
Sep 20 2017 18:09
the fonts have a fixed lineheight
no need to draw the text to determine the size of the content
layouting and drawing are two different things
Eearslya Sleiarion
@Eearslya
Sep 20 2017 18:09
Right, but if you shrink the width and a message that has already scrolled away now has to be broken into lines.. If it doesn't get drawn because it's off-screen, how can it tell?
Archomeda
@Archomeda
Sep 20 2017 18:09
well, you still need the length of a sentence
i suppose there's a calculation method somewhere that just calculates the size of the texts without drawing it
BoyC
@BoyC
Sep 20 2017 18:10
since the fonts are stored with fixed width glyphs it's not a big problem to calculate that stuff
Eearslya Sleiarion
@Eearslya
Sep 20 2017 18:10

layouting and drawing are two different things

Hm, I guess that would explain it

I love learning how games work under the hood
BoyC
@BoyC
Sep 20 2017 18:10
my ui engine actually does the layouting every frame it's so cheap
Eearslya Sleiarion
@Eearslya
Sep 20 2017 18:11
UI for what?
BoyC
@BoyC
Sep 20 2017 18:11
on the other hand it doesn't need to store whole layouted text blocks in textures
it was supposed to be for a second generation client of our mmo, but i ended up using it elsewhere as that client never came to be
this tool is one of the projects using it: http://conspiracy.hu/temp/BoyC/apEx/Shots/?kiba=igy
TacO is another one
Archomeda
@Archomeda
Sep 20 2017 18:12
is that the reason you can't make taco open source?
BoyC
@BoyC
Sep 20 2017 18:12
it's the reason i won't make it opensource, yeah
Archomeda
@Archomeda
Sep 20 2017 18:12
i vaguely remember asking for it once and then you mentioned something like that
BoyC
@BoyC
Sep 20 2017 18:13
the shots in that folder are pretty representative of the complexity that the engine can handle, especially the later ones
for example
Archomeda
@Archomeda
Sep 20 2017 18:14
O_o
BoyC
@BoyC
Sep 20 2017 18:15
that ui could be put in taco without breaking a sweat :)
Edgar Doiron
@Coffee4cr
Sep 20 2017 18:18
DO IT, just to see the reaction from everyone :laughing:
BoyC
@BoyC
Sep 20 2017 18:18
lol
Archomeda
@Archomeda
Sep 20 2017 18:19
whenever the pathing is added, everyone will be blown away already
BoyC
@BoyC
Sep 20 2017 18:19
nah I prolly won't do another TacO build until I talk to Chris again and set the ground rules of what's ok and what's too much
Archomeda
@Archomeda
Sep 20 2017 18:19
seems fair
technically it's just an overlay, but you can never be sure enough
Edgar Doiron
@Coffee4cr
Sep 20 2017 18:20
@BoyC did you look into the Player made quest thing you mentionned once?
BoyC
@BoyC
Sep 20 2017 18:20
based on what he said on the reddit post about the build template stuff it's only fair to keep him in the loop
that's still on the table but due to my real life being in a bit of a chaos right now I didn't have time for taco lately
it all depends on what Chris says to integrating a scripting engine into the overlay
well technically it's already in there but all it can do for now is to change the info line and the default placed marker :)
oh gotta do the daily druid stone run, bbl :D
Archomeda
@Archomeda
Sep 20 2017 18:24
urgh, hf
i'm glad i'm done with that
BoyC
@BoyC
Sep 20 2017 18:26
12 days to go including this one :P
windwarrior
@windwarrior
Sep 20 2017 18:58
I rewatched death note (the anime) and now I am kinda sad and glad
Eearslya Sleiarion
@Eearslya
Sep 20 2017 19:27
Oh?
windwarrior
@windwarrior
Sep 20 2017 19:28
half rooting for the good guys, half for the bad guys
(also, if someone hasn't, please please do!)
Eearslya Sleiarion
@Eearslya
Sep 20 2017 19:30
Yeah, the original story of it really was a masterpiece
It wasn't clear-cut whose side you should be on