Log archive of EquestriaDaily for Sunday, 2019-03-17

00:01 * Filly_Nightmares kneads Cepheid excitedly

00:01 *** Joins: PinkieShy (coolm@Pony-ck81je.67-212-45-net.sccoast.net)

00:03 *** Quits: Shed-34046 (coolm@Pony-ck81je.67-212-45-net.sccoast.net) (Ping timeout: 121 seconds)

00:07 *** Quits: heftig (heftig@soyuz.archlinux.org) (Ping timeout: 121 seconds)

00:08 <DerpyBot> New post on Equestria Daily by Sethisto: Discussion: Which Characters Need to Hook Up in Season 9?  [ http://tinyurl.com/y38t69h9 ]

00:08 *** Joins: heftig (heftig@soyuz.archlinux.org)

00:09 *** Quits: SilverLining (Fall@Pony-db2.9lm.228.37.IP) (Quit: )

00:26 *** Joins: cabbage (cabbage@Pony-qqqjcp.sntcca.sbcglobal.net)

00:39 <Ali> To answer that hook up, its Twi and me! *shot repeatedly for shippiing*

00:47 <Cepheid> So, apparently, the Intel driver under Linux is leaking quite a bit of memory.

01:08 <DerpyBot> New post on Equestria Daily by Sethisto: Comic Dub: Cuz It's What My Butt... / Curse of the Zap.. / Maud Likes Rocks..  [ http://tinyurl.com/yxbugzv7 ]

01:12 *** Quits: Double (double@Pony-40o5q9.adsl-surfen.hetnet.nl) (Connection closed)

01:15 <Cepheid> I think I'ma go lay down now.  I'm sore everywhere,

01:15 <Cepheid> Probably used up too much energy.

01:31 *** Quits: danwellby (danwellby@The.lone.griffon) (Ping timeout: 121 seconds)

01:33 <Cepheid> https://twitter.com/ghostemojiii/status/1106651185048621056?s=19

01:36 * Filly_Nightmares lays on Cepheid

01:37 *** Joins: HyperDash (HyperDash@Pony-obvko9.wa.comcast.net)

01:38 <PinkieShy> i think roblox accidentally released their april fools joke early..

01:38 <PinkieShy> Earlier ton of the icons on the games looked like they were made very uncreatively in MS Paint..

01:40 *** Quits: HyperDash (HyperDash@Pony-obvko9.wa.comcast.net) (Quit: Leaving)

01:47 <Schism> Evidently, it is red panda day.  https://pbs.twimg.com/media/D1zHGCUWsAUWLR7.jpg:large

01:50 *** Joins: RazorSharpFang (RazorSharpF@Pony-mq83t3.tpgi.com.au)

01:50 <Schism> Hiya, RSF.

01:50 * Schism offers the RSF an egg.

01:52 <Schism> Quite the diverse and practical tool, an egg.

01:53 <RazorSharpFang> Hey heys

01:54 <PinkieShy>   So.. its Firefox day?

01:54 <Schism> Something like that!

01:58 * Ali flops over RazorSharpFang

02:01 *** Joins: WurstPoni (brandon@Pony-ogs.t4j.52.64.IP)

02:04 <PinkieShy> ouch..

02:04 <PinkieShy> Cricket just confirmed there is a tower 3 miles from my house but its a downgraded tower..

02:05 <RazorSharpFang> Ah, are you in a grey hole?

02:06 <PinkieShy> grey hole?

02:07 * DashedRainbows yawns and stretches

02:08 <DashedRainbows> Naps...

02:08 <DerpyBot> New post on Equestria Daily by Calpain: Nightly Discussion #1741 [ http://tinyurl.com/yxhrxaed ]

02:08 <Cepheid> Morning Razor.

02:09 <Schism> "The man's a grey hole.  Reach down, all you get is lint.  Entirely fictional." "Very real, trust me." "He used to be someone else.  Should I find out who?" "Is it snared?" "Very." "Leave it."

02:13 <RazorSharpFang> Cepheid, does Valgrind run on Windows, or is it unix-like exclusive tool?

02:14 * PinkieShy hands DashedRainbows a plushie of a dutch angel dragon named Nappz

02:15 <Cepheid> I have no idea.

02:15 <Cepheid> Be careful with it though.  The memory leaks reported in my program were all caused by the i915 driver.

02:16 *** Quits: ADragonDreaming (IceChat9@Pony-tpdjag.livnmi.sbcglobal.net) (Ping timeout: 121 seconds)

02:16 <DashedRainbows> WoL should run It I think

02:17 <RazorSharpFang> Cepheid, is that the video driver?

02:17 <Cepheid> Yes.

02:18 *** Joins: ADragonDreaming (IceChat9@Pony-tpdjag.livnmi.sbcglobal.net)

02:18 <RazorSharpFang> Hrmm... is that an integrated GPU?

02:18 <Cepheid> Yes.

02:19 <Cepheid> It is the Intel driver for Intel's IGP GPUs.

02:20 <Cepheid> It likely isn't actually leaking memory.  It is improbable that it would be full of that many leaks.

02:21 <Cepheid> Or errors.  Likely it is just valgrind picking certain bits of driver work as leaks or errors.

02:28 *** Quits: ADragonDreaming (IceChat9@Pony-tpdjag.livnmi.sbcglobal.net) (Ping timeout: 121 seconds)

02:29 <Cepheid> Probably along the lines of "hey GPU, here is a buffer of data." And the GPU goes "okay, I'll take care of it from here." Since the driver no longer holds ownership, it is free from having to deallocate.  This looks like a failure to free some memory to Valgrind, due to how it works.

02:30 <RazorSharpFang> Does Valgrind operate on the compiled code directly? I thought it would do analysis of C/C++ code.

02:30 *** Joins: ADragonDreaming (IceChat9@Pony-tpdjag.livnmi.sbcglobal.net)

02:31 <Cepheid> It depends on how it's used I believe.  In compiled code, it replaces functions that manipulate, allocate or deallocate memory.

02:34 *** Quits: ADragonDreaming (IceChat9@Pony-tpdjag.livnmi.sbcglobal.net) (Ping timeout: 121 seconds)

02:38 *** Joins: ADragonDreaming (IceChat9@Pony-tpdjag.livnmi.sbcglobal.net)

02:39 <Cepheid> Hum.  Tax returns are in.  I should spend it on a new office chair for myself.  High quality one, designed for idiots like me who sit in stupid ways.

02:42 *** Quits: ADragonDreaming (IceChat9@Pony-tpdjag.livnmi.sbcglobal.net) (Ping timeout: 121 seconds)

02:42 <Cepheid> Ahyhow, Razor, Valgrind checks for memory leaks, memory misuse and the like.  You run it by doing "valgrind <executable>". The executable is specified as if you were running the program from wherever it is.  Thus for me: valgrind ./EngineTest

02:43 * DashedRainbows sniffs PinkieShy and repeatedly licks him

02:44 *** Joins: ADragonDreaming (IceChat9@Pony-tpdjag.livnmi.sbcglobal.net)

02:47 * Schism joins a hunt train of... oh, a couple dozen people.

02:48 <Schism> Seeing the swarm blocking out the sun in the Peaks is fun.

02:57 *** Quits: DashedRainbows (dashedrhg1@Winged.Horsey.Dog.Thing) (The TLS connection was non-properly terminated.)

03:02 *** Joins: M-GlimmerBot (glimmerbot@Pony-vrobqj.1gbo.hfjo.a880.2604.IP)

03:04 *** Joins: DashedRainbows (dashedrhg1@Winged.Horsey.Dog.Thing)

03:08 <DerpyBot> New post on Equestria Daily by Makenshi: Trixie/Cozy Glow Music: D1SCORDANT - Beyond Great And Powerful [Synthwave] / Raze [Industrial Metal] / An Ending Is Upon Us [Post Rock] [ http://tinyurl.com/y4et5g2b ]

03:09 *** Joins: Eternia (coco@Pony-ap8dnm.res.rr.com)

03:10 *** Quits: DashedRainbows (dashedrhg1@Winged.Horsey.Dog.Thing) (The TLS connection was non-properly terminated.)

03:10 *** Quits: M-GlimmerBot (glimmerbot@Pony-vrobqj.1gbo.hfjo.a880.2604.IP) (A TLS packet with unexpected length was received.)

03:10 *** Joins: M-GlimmerBot (glimmerbot@Pony-ap5.pkd.189.206.IP)

03:10 *** Joins: M-DashedRainbows (dashedrhg1@Pony-ap5.pkd.189.206.IP)

03:12 *** Quits: M-DashedRainbows (dashedrhg1@Pony-ap5.pkd.189.206.IP) (The TLS connection was non-properly terminated.)

03:12 *** Quits: M-GlimmerBot (glimmerbot@Pony-ap5.pkd.189.206.IP) (The TLS connection was non-properly terminated.)

03:12 <Schism> One starts to worry about RHG's connection.

03:12 *** Joins: M-GlimmerBot (glimmerbot@Pony-ap5.pkd.189.206.IP)

03:13 *** Joins: M-DashedRainbows (dashedrhg1@Pony-ap5.pkd.189.206.IP)

03:13 <M-DashedRainbows> eh, I broke the bridge again

03:14 <M-DashedRainbows> But err I'lll just leave it like this for now

03:19 <PinkieShy> Heh..

03:19 *** M-DashedRainbows is now known as DashedRainbows

03:20 <PinkieShy> That's right.. I just noticed that on a react video..

03:20 <PinkieShy> on the season 8 finale.. some magic went into Pinkie Pie..

03:20 *** Quits: WildThunder (Nomeim@Pony-qualok.dynamic.reverse-mundo-r.com) (Quit: Leaving)

03:21 * DashedRainbows noms a magic cupcake

03:21 <PinkieShy> Maybe her magic powers is to break the fourth wall..

03:22 * DashedRainbows nods

03:23 *** DashedRainbows is now known as DashedRainbows[m]

03:23 *** DashedRainbows[m] is now known as DashedRainbows

03:32 *** Quits: SilentVigil (rod@Pony-do1tdj.tn.charter.com) (Quit: Leaving)

03:36 * DashedRainbows ponies

03:53 * DashedRainbows wags her tail

03:56 <Eternia> *offers a sugar cube to DashedRainbows*

03:57 * DashedRainbows whinnies

04:08 * DashedRainbows sniffs Eternia and noms

04:18 *** Quits: Eternia (coco@Pony-ap8dnm.res.rr.com) (Ping timeout: 121 seconds)

04:42 *** Joins: Eternia (coco@Pony-ap8dnm.res.rr.com)

04:42 <Eternia> Dang wifi router : s

04:43 <Eternia> Somepony sniffed at meee?

04:43 <Eternia> *sniffs around*

04:47 <DashedRainbows> It smells like stable here

04:48 <Ali> Of course it does, there's a bunch of ponies here

04:49 <Eternia> *chews some hay*

04:50 <Eternia> *lays on a soft hay pile and nibbles at their bed*

04:58 * DashedRainbows offers Ali an apple

05:02 *** Quits: Stormspark (stormspark@Pony-25m.dcd.98.172.IP) (Quit: Leaving)

05:09 * DashedRainbows wags her tail and licks Eternia

05:10 *** Joins: FruitNibbler (Eogan@Pony-4iq399.dip0.t-ipconnect.de)

05:11 <Eternia> *smiles sleepily*

05:11 <Eternia> *nuzzles*

05:11 <Eternia> g'night

05:12 * Schism successfully completes a GATE or two, for a change.

05:13 * DashedRainbows also sniffs Schism for food

05:19 * Schism hasn't much food. Just some egg, bacon, spinach and cheese sammiches.

05:19 *** Quits: cabbage (cabbage@Pony-qqqjcp.sntcca.sbcglobal.net) (Quit: )

05:21 <DashedRainbows> That's still not bad

05:24 <PinkieShy> Welp just got attacked online by bullies again.

05:24 * Ali hugs PinkieShy tightly

05:24 <DashedRainbows> Ick

05:25 <PinkieShy> someone blasting very loud music in a world.. I put them up to vote to kick since they were annoying like half of the world apparently

05:25 <PinkieShy> then some of their 8 friends out of 21 ganged up on me shooting comments like "Go kill yourself" "You was probably dropped as a kid".. extremely toxic users..

05:26 <PinkieShy> :/

05:26 <Ali> Dear lord

05:26 <Ali> Just ignore them

05:26 <Ali> I know its hard

05:26 <Ali> But its best to ignore the parasprites

05:26 *** Quits: RazorSharpFang (RazorSharpF@Pony-mq83t3.tpgi.com.au) (Connection closed)

05:26 <PinkieShy> video was made of 30 seconds of it and sent to moderation@Vrchat so.. hopefully they get the boot.

05:27 * Ali nod nods

05:28 <DashedRainbows> Some people don't give a damn how they affect others, learned that the hard way

05:29 <Ali> Especially on means where you can be anonomous

05:29 <Ali> They think that since they can't be identified, they can get away with being a little turd

05:29 <PinkieShy> VRChat you can't be anonymous.

05:30 <PinkieShy> You get a username. If they get banned by mods.. They are IP banned.

05:30 <PinkieShy> and some bans go as harsh as a month to forever.

05:30 <Ali> I understand that dear

05:30 <Ali> But just how the internet works

05:30 <Ali> Is they they think they can't be retaliated against, or they get slapped on the wrist for so little

05:42 <DashedRainbows> I hit 15 followers on Twitter. Yay

05:42 *** Joins: FoxesFurever (Mibbit@Pony-5ke.lhm.225.104.IP)

05:42 <FoxesFurever> hello

05:43 <FoxesFurever> DashedRainbows what is your Twitter? i want to change that 15 to a 16

05:44 <FoxesFurever> actually, you don't have to tell me

05:44 <FoxesFurever> you're now at 16 followers

05:44 * DashedRainbows sniffs FoxesFurever

05:45 <FoxesFurever> hehe

05:46 * DashedRainbows offers everyhorse sugar cubes

05:47 <FoxesFurever> no thank you, i don't think i should be having one this late at night

05:48 <DashedRainbows> Hay, then

05:48 <FoxesFurever> thank you :)

05:50 * DashedRainbows instead nibbles on kibble

05:52 <PinkieShy> the worse i did before bed was eat like 2 little debbie snacks a few years ago

05:52 <PinkieShy> along with a cola.

05:53 <FoxesFurever> not as bad as eating 16 vanilla sugar wafers along with a 20 oz. cola before bed

05:54 <DashedRainbows> 0.o

05:54 <PinkieShy> I love those things..

05:54 <Ali> Not as bad as chugging a 20oz Jolt

05:55 * Ali was so sugar rushed it wasn't funny

05:55 <FoxesFurever> i have to leave for church in six and a half hours, and i am not sure if i want to stay awake longer

05:55 <DashedRainbows> I should sleep too

05:56 <Ali> Sleep?  What's that?

05:56 <DashedRainbows> Biological soft reset

05:56 *** Joins: ConfusionRift (ConfusionRi@Pony-nf551c.res.spectrum.com)

05:56 *** ChanServ sets mode: +o ConfusionRift

05:57 <ConfusionRift> Hello every...pffft...pony.

05:57 <ConfusionRift> A Biological Soft Reset, I like that. :P

05:58 <PinkieShy> Ali I had a mountain dew kick starter before bed before..

05:58 <PinkieShy> I didn't sleep till 8am..

05:58 * DashedRainbows sits by ConfusionRift and wags her tail furiously

05:58 <Ali> Jolt has 2x the Caffeene as a Mt Dew

05:59 * ConfusionRift pets DashedRainbows. :P

06:01 * DashedRainbows barks

06:01 <FoxesFurever> i follow a few of my friends from school

06:01 <PinkieShy> Last energy drink i had was a monster big can in 2016

06:01 <PinkieShy> Refuse to drink anymore.. When i told my dr about me drinking that stuff before.. She told me "Please don't tell me you been drinking that stuff"

06:02 <PinkieShy> You have to know if a dr condemns the use of it.. it has to be bad.

06:02 <DashedRainbows> It's a bit much

06:02 <ConfusionRift> Most are bad... sorry, they are bad in general.

06:03 <DashedRainbows> I can't drink them since my transplant

06:04 <ConfusionRift> They either abuse of sugars, forms of caffeine, or chemicals... or a mix of all of them. They are meant to be sipped, not chugged. Unfortunately, no many follow this and... yeaaaah.

06:05 * DashedRainbows sniffs ConfusionRift and chews on his hooves

06:05 * ConfusionRift is reminded of that little kid whose diet was basically Hot Cheetos and Starbucks cold lattes. "Rude little thing too."

06:06 * ConfusionRift patpats DashedRainbows.

06:06 * PinkieShy is curious about his health lately trying to excerise more

06:07 <FoxesFurever> i'm actually trying to gain weight

06:07 <PinkieShy> Getting sleepy more often, I'm eating more and it seems like i am not gaining weight at all.

06:07 <ConfusionRift> Heh, that's rather odd.

06:08 <PinkieShy> Plus my feet are getting cold rather easy.

06:08 <ConfusionRift> Normally one would want to lose some weight.

06:08 <PinkieShy> ConfusionRift I'm overweight and my bmi is obese.. range..

06:08 <FoxesFurever> well, you understand, i'm skinny as heck

06:08 <FoxesFurever> don't understand*

06:08 <PinkieShy> I'm 5foot 8 and weight 207.

06:09 <ConfusionRift> 0_)

06:09 * ConfusionRift is close to that range.

06:09 <ConfusionRift> Work doesn't help.

06:09 <DashedRainbows> I lost ~10kg with my transplant probably mostly fluid

06:10 <PinkieShy> I think my bmi is like 31.5

06:10 <FoxesFurever> i'm 5'4 and weigh 125

06:12 <ConfusionRift> 0_0;

06:13 * DashedRainbows licks everyhorse and trots off to bed

06:16 <Ali> Depends on how old you are FoxesFurever.

06:16 <FoxesFurever> 18

06:16 * Schism acquires some more Jet Black Dye. "The most boring of dyes."

06:17 <FoxesFurever> normally you don't ask a girl that, but i personally don't see a problem with being asked that question. i don't know why

06:17 <FoxesFurever> maybe because i wasn't born a girl

06:19 <Ali> Dear I wasn't trying to pry on you.  Just was finding out why you thought you were so light

06:20 <FoxesFurever> i really wish people weren't such jerks towards the transgender community

06:20 <Ali> I understand dear

06:21 <Ali> Sometimes I wish people wouldn't think autism is just a kid's only disease

06:21 <FoxesFurever> and i wish people would stop treating autism like it's a bad thing

06:23 <FoxesFurever> because there are/were people like Bill Gates, Mozart, Adam Young (Owl City), Thomas Jefferson, who all had/has autism

06:23 <Ali> I get that

06:24 <FoxesFurever> honestly, it seems like the most famous people are autistic

06:24 <FoxesFurever> i should really go to bed now

06:24 <FoxesFurever> goodnight

06:24 *** Quits: FoxesFurever (Mibbit@Pony-5ke.lhm.225.104.IP) (Quit: http://www.mibbit.com ajax IRC Client)

06:25 * Ali eye twitches

06:26 <ConfusionRift> You okay?

06:26 <Ali> Just minorly annoyed there

06:26 * ConfusionRift huggles Ali.

06:27 <ConfusionRift> Kinda got the hint of it.

06:27 <Ali> Wasn't even trying to blame autism for anything, just stating how i get annoyed that its treated as a kid's only disease

06:30 <ConfusionRift> Yeah, it kinda went over their head.

06:30 * Ali flops over ConfusionRift

06:34 * ConfusionRift patpats Ali.

06:42 *** Quits: PinkieShy (coolm@Pony-ck81je.67-212-45-net.sccoast.net) (Connection closed)

06:44 *** Joins: Reia_Hope (Reia_Hope@TheCowPony)

06:48 *** Quits: WurstPoni (brandon@Pony-ogs.t4j.52.64.IP) (Ping timeout: 121 seconds)

07:13 *** Quits: Reia_Hope (Reia_Hope@TheCowPony) (Connection closed)

07:16 *** Quits: JonTheVGNerd (JonTheVGNer@Pony-ifa.2r2.42.24.IP) (Connection closed)

07:16 *** Joins: JonTheVGNerd (JonTheVGNer@Pony-ifa.2r2.42.24.IP)

07:33 *** Quits: Ali (Ali@Pony-cvibue.iplsin.sbcglobal.net) (Quit: Leaving)

07:44 *** Quits: JonTheVGNerd (JonTheVGNer@Pony-ifa.2r2.42.24.IP) (Quit: Leaving)

08:45 *** Quits: Persona (Tilde@Pony-tlemnb.dgbc.9fgu.6000.2605.IP) (Ping timeout: 121 seconds)

08:58 *** Quits: FruitNibbler (Eogan@Pony-4iq399.dip0.t-ipconnect.de) (Ping timeout: 121 seconds)

08:59 *** Quits: Fn (Eogan@Pony-m70eoq.dip0.t-ipconnect.de) (Ping timeout: 121 seconds)

08:59 *** Joins: RyuImperator (RyuImperato@Pony-phh9no.dip0.t-ipconnect.de)

09:05 *** Joins: Thelema5 (Thelema5@is.a.curious.pone)

09:06 <Thelema5> Hello everypony

09:06 <ConfusionRift> Hey there.

09:32 *** Joins: RAIDEN_48HR (RAIDEN_48HR@Pony-k3v.k33.56.172.IP)

09:35 <RAIDEN_48HR> !hug

09:35 <DerpyBot> Hugtiem? :3

09:35 * DerpyBot wraps her front hooves around RAIDEN_48HR in a tight embrace

09:35 <RAIDEN_48HR> !ultrakill

09:35 * DerpyBot grabs RAIDEN_48HR and flies off in the general direction of Sugarcube Corner

09:35 * DerpyBot returns with a cupcake with RAIDEN_48HR's name etched into the frosting

09:35 *** RAIDEN_48HR was kicked by DerpyBot (Made into cupcakes.)

09:36 *** Joins: RAIDEN_48HR (RAIDEN_48HR@Pony-k3v.k33.56.172.IP)

09:43 *** Quits: RAIDEN_48HR (RAIDEN_48HR@Pony-k3v.k33.56.172.IP) (Quit: Page closed)

10:39 *** Quits: RyuImperator (RyuImperato@Pony-phh9no.dip0.t-ipconnect.de) (Quit: Leaving.)

10:44 *** Joins: WurstPoni (brandon@Pony-ogs.t4j.52.64.IP)

10:54 *** Joins: danwellby (danwellby@The.lone.griffon)

10:56 *** Quits: WurstPoni (brandon@Pony-ogs.t4j.52.64.IP) (Quit: WeeChat 2.4)

10:57 *** Joins: WurstPoni (brandon@Pony-ogs.t4j.52.64.IP)

11:08 <DerpyBot> New post on Equestria Daily by Calpain: Morning Discussion #1514 [ http://tinyurl.com/yyclxehg ]

11:56 *** Quits: ConfusionRift (ConfusionRi@Pony-nf551c.res.spectrum.com) (Quit: Recharging the batteries. Laters! *shutdown*)

12:08 <DerpyBot> New post on Equestria Daily by Calpain: Comic: Basic Training / The End of Equestria / AoS 3:16 / Briefcase 1 / Crusader 14 / TWD 1:15 [ http://tinyurl.com/y2wgnbr2 ]

12:20 *** Filly_Nightmares is now known as Sleeping_Nightmares

12:59 *** Joins: cabbage (cabbage@Pony-qqqjcp.sntcca.sbcglobal.net)

13:32 <Cepheid> Morning.

13:59 <ArchPegasusMichael> Morning

14:07 *** Joins: RazorSharpFang (RazorSharpF@Pony-mq83t3.tpgi.com.au)

14:13 <Cepheid> https://www.reddit.com/r/Unexpected/comments/b1xalr/dont_break_the_rules/?st=jtd02wl8&sh=3f843417

14:14 *** Quits: Nedemai (Nedemai@Pony-f3d.g65.158.104.IP) (Connection closed)

14:14 <RazorSharpFang> Hey heys

14:15 <Cepheid> How goes it, Razor?

14:18 <RazorSharpFang> Pretty good.

14:18 <RazorSharpFang> I checked my local hardware store, but they don't sell graphite electrodes.

14:20 <Cepheid> What do you need them for?

14:21 <RazorSharpFang> I was looking to electrolyse water to produce hydrogen and oxygen gas. The classic electrolysis.

14:21 <Cepheid> Okay, not gonna ask why, buuuut whatever.

14:23 <Cepheid> Meanwhile, I'm trying to debate what's the better approach for what I'm doing here.  I tried an alternative approach of setting up the tile rendering engine.  Let's me retain the shader program I have, but reduce the effort for rendering scenes.

14:23 <Cepheid> On the other hand, if anything changes in the scene, I have to rebuild the buffer from scratch.  But that's relatively painless to do, apparently.

14:23 <RazorSharpFang> Me, I'm just happy to be able to draw shapes on the screen with accelerated graphics. :3

14:25 <Cepheid> Heh.

14:26 <RazorSharpFang> Next up is drawing a circle approximated by triangles.

14:28 <Cepheid> It'd be great if I could pull off say, GL_TRIANGLE_STRIP.  But for *THAT* to work..

14:30 <Cepheid> Generating a grid's a pain in the ass with a GL_TRIANGLE_STRIP.  That said, it's less data to pass to the GL, and *SUPPOSEDLY* faster.

14:33 <Cepheid> ... And it's useless, as I just remembered a detail about it. o3o

14:34 <Cepheid> It re-uses vertices, and I need each vertex to be distinct, specific to a given tile.

14:35 <RazorSharpFang> ... How do you draw a triangle in SDL?

14:38 <Cepheid> Can I see your code first?  Something you stated the other day made me curious.

14:38 <Cepheid> It sounds like you're using SDL_CreateWindowAndRenderer.

14:38 <RazorSharpFang> Whats about it?

14:38 <Cepheid> That is, creating a window and renderer.

14:38 <Cepheid> Rather than a window and GL context.

14:39 <RazorSharpFang> `SDL_Renderer * renderer = SDL_CreateRenderer(window, ... )` is where I grab my renderer from.

14:39 <RazorSharpFang> With `window` referring to the pointer handle given to me by SDL_CreateWindow()

14:39 <Cepheid> Of course.

14:40 <Cepheid> You're using SDL's 2D rendering engine.  That's different from OpenGL.

14:40 <RazorSharpFang> It looks like I might have to actually use OpenGL.

14:41 <Cepheid> Here, I'll publish some simple code that'll get OpenGL set up for ye.  I'll set it to 2.1, because that allows immediate mode.

14:49 *** Quits: Eternia (coco@Pony-ap8dnm.res.rr.com) (Quit: https://tinyurl.com/ycampat7)

14:51 <Cepheid> Sorry, taking a bit longer than expected to make the code. :P

14:54 <RazorSharpFang> Apparently gl.h and glu.h are unhappy if they're included on windows without windows.h

14:54 *** Joins: Pony|51476 (Pony51476@Pony-jj8sa8.dip0.t-ipconnect.de)

14:54 *** Quits: Pony|51476 (Pony51476@Pony-jj8sa8.dip0.t-ipconnect.de) (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)

14:55 <Cepheid> An unfortunate side effect, yes.  You may also want to look into the GLEW library.

14:55 <RazorSharpFang> Dang it, more tutorials from SDL 1.2

14:56 <Cepheid> https://pastebin.com/6jWe2bkA

14:57 <RazorSharpFang> Yeah, that's a private paste. Only the creator can see it.

14:57 <Cepheid> This sets up a basic 640x480 SDL window, sets the projection matrix to a matrix such that the coordinates go from 0 to 640, 0 to 480.

14:57 <Cepheid> Oh, sorry.

14:57 <Cepheid> I thought maybe it'd let me share it if it was private anyways.

14:57 <Cepheid> https://pastebin.com/6jWe2bkA Try again.

14:57 <RazorSharpFang> There should be an option for "required link"

14:58 <Cepheid> Unlisted.

14:58 <RazorSharpFang> That's the term I wanted to say but couldn't think of quickly enough for my patience.

14:58 <Cepheid> Heh.

14:58 <Cepheid> In any case, you'll need GLEW to compile it.

14:58 <Cepheid> It's really, really recommended you use GLEW or some other similar library.

14:59 <RazorSharpFang> Say, which version of OpenGL would I want to use if I also wanted to target android?

14:59 <Cepheid> To target Android?  OpenGL ES is what you want.

14:59 <Cepheid> I don't know if SDL can make a GL ES context.

14:59 <Cepheid> Let me see if there are frameworks that can do that.

15:00 <Cepheid> You can set the profile mask to SDL_GL_CONTEXT_PROFILE_ES.

15:00 <RazorSharpFang> I can still draw triangles under that, right? :3

15:00 <Cepheid> I'm not sure if it'll work under Windows, though, as an ES context is specific to mobile devices.

15:01 <Cepheid> If you explicitly want to create Android apps using OpenGL ES, I would advise actually making an Android project.

15:01 <Cepheid> Using C/C++ would require using an Android Native execution library.

15:01 <RazorSharpFang> I've heard that SDL does support android.

15:02 <Cepheid> Let's see..

15:02 <Cepheid> Yeah, there's a tutorial for it.

15:03 <Cepheid> http://www.dinomage.com/2013/01/howto-sdl-on-android/

15:03 <Cepheid> http://blog.stuff-o-matic.com/post/2013/10/20/ASGP-s-Android-Port-Part-IV%3A-building-the-APK And this too.

15:03 <Cepheid> I haven't tried either, so I can't comment on them.

15:04 <RazorSharpFang> Hmm, I don't have glew. Where'd you grab glew from?

15:04 <Cepheid> http://glew.sourceforge.net/

15:05 <Cepheid> But yeah, you really, really should use GLEW when you can.

15:05 <Cepheid> There's thousands of different functions from hundreds of extensions.

15:07 <Cepheid> BRB.

15:08 <RazorSharpFang> I'm going to have to figure out how to link this...

15:09 <Cepheid> What compiler you using?

15:09 <RazorSharpFang> Visual Studio

15:09 <Cepheid> Two ways I know of, provided the libraries are in the right place.

15:10 <Cepheid> First, and probably the most portable manner since non-supporting compilers can just ignore it..

15:10 <RazorSharpFang> Am I not supposed to include gl before glew?

15:11 <Cepheid> Yeah, it includes the GL files for you.

15:11 <RazorSharpFang> Ah makes sense.

15:11 <Cepheid> You just need to include glew.h

15:11 <Cepheid> Meanwhile, for linking, assuming the files are in the right place..

15:11 <Cepheid> "#pragma comment(lib, glew32.lib)" I think should work.

15:11 <Cepheid> I haven't used the pragma method of linking in a long time.

15:12 <Cepheid> Which is silly since it's probably the most portable thing Microsoft has ever done.

15:12 <Cepheid> Compilers are free to ignore the #pragma line if they don't understand it, so it won't cause problems with other compilers.

15:13 <Cepheid> Apparently it'll work with clang.

15:15 <Cepheid> GCC, not so much.

15:16 <Cepheid> The other way is to specifically list the libraries in the project settings.

15:16 <Cepheid> Open the project settings, go to C/C++ section, there should be a linker/library subsection.

15:16 <Cepheid> You can add extra libraries there.  You specify them in a window where you list one library per line.

15:17 <RazorSharpFang> Yeah, I need to do that as I'm getting unresolved external symbols.

15:18 <Cepheid> Even with the #pragma comment(lib, ...)?

15:18 <Cepheid> Oh.

15:18 <Cepheid> You're supposed to enclose the library name in quotes.

15:18 <Cepheid> #pragma comment(lib, "glew32.lib")

15:18 <RazorSharpFang> I have done that, yes.

15:19 <Cepheid> Hum.

15:20 <Cepheid> I'll have to investigate, then.

15:21 <RazorSharpFang> It's specifically complaining about __imp_glMatrixMode

15:21 <Cepheid> That'd be OpenGL.

15:21 <Cepheid> opengl32.lib

15:22 <Cepheid> You'll need to link in SDL2.lib and SDL2main.lib as well.

15:22 <Cepheid> I assume you've figured that out though.

15:22 <RazorSharpFang> It's compiled!

15:22 <RazorSharpFang> But the program can't start because it's not finding glew32.dll :3

15:23 <RazorSharpFang> Just a quick fix away.

15:25 <Cepheid> That means either putting it in the executable directory or the Windows/System32 folder.

15:25 <Cepheid> Or WoW64 folder.  I forget which one, on 64-bit.

15:25 <RazorSharpFang> ... Oh no.

15:26 <Cepheid> What?

15:26 <RazorSharpFang> OpenGL has 0 on the bottom and counts vertically up doesn't it?

15:26 <Cepheid> Hmm?

15:26 <Cepheid> What do you mean?

15:26 <Cepheid> Oh, that.

15:26 <Cepheid> Do you want it the inverse?

15:26 <RazorSharpFang> [0,0] is bottom left isn't it?

15:26 <Cepheid> Yeah, I know what you mean now.

15:26 <Cepheid> Do you want [0,0] at the top-left?

15:26 <RazorSharpFang> For whatever reason that seems to be the norm everywhere else.

15:27 <Cepheid> Yes or no. :P

15:27 <Cepheid> Go to the glOrtho function, line 56.

15:27 <Cepheid> Or therabouts.

15:27 <RazorSharpFang> Is it just swapping top and bottom inputs? :3

15:28 <Cepheid> The third and fourth parameter specify bottom and top.  Swap them so the function call reads glOrtho(0, 640, 480, 0, -1, 1)

15:28 <Cepheid> OpenGL by default prefers [0,0] be at the lower-left, because mathematics.  But there's nothing stopping you from swapping it.

15:28 <Cepheid> Since it's a 3D API, you can just set up an appropriate matrix.

15:29 <RazorSharpFang> What does orthographic projection even mean?

15:29 <Cepheid> No perspective divison.

15:29 <Cepheid> ER, division*

15:29 <Cepheid> It basically just flattens everything before presenting it to the screen.

15:29 <Cepheid> It results in "2D" style rendering.

15:30 <Cepheid> If you want more traditional 3D, you use glFrustum instead.

15:31 <Cepheid> Meanwhile, an explanation of the setup you're using.  You're currently in OpenGL 2.1. https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/

15:31 <Cepheid> It's pretty much the most compatible version of OpenGL, but lacks a lot of later functionality.

15:31 <Cepheid> You might still be able to get that functionality due to extensions, which GLEW handles.

15:31 <RazorSharpFang> As long as I can draw anti-aliased triangles I should be good.

15:32 <Cepheid> Ah, for anti-aliasing..

15:32 <Cepheid> You need to set another GL attribute.

15:32 *** Joins: Persona (Tilde@Pony-joa7q9.dgbc.9fgu.6000.2605.IP)

15:34 <Cepheid> Add to the SDL_GL_SetAttribute lines the following:  SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 1); and then...

15:34 <Cepheid> SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, #); where # is the number of samples.  Usually 1, 2, 4, 8 or 16.

15:34 <Cepheid> Alternatively, just force-enable it in your video card's settings.

15:35 <RazorSharpFang> Which one is likely to be most compatible?

15:35 <Cepheid> Context is needed.  Do you mean the numbers 1, 2, 4, 8, 16, or the force-enable?

15:36 <RazorSharpFang> The numbers yeah.

15:36 <Cepheid> Pretty much any of them.

15:36 <Cepheid> The more you use, the slower the performance, but the better the quality.

15:37 <Cepheid> If you want a conservative limit, set it to no higher than 8.

15:37 <Cepheid> My advice for learning OpenGL, Razor?

15:38 <Cepheid> Right now, what I showed you is called immediate mode.

15:38 <Cepheid> That is, you issue commands, and they're performed immediately.  Unfortunately, immediate mode isn't the most performant.

15:38 <Cepheid> It's great for simple learning and practice, but you won't use it in full, complete programs.

15:38 <Cepheid> You'll want to learn about Vertex Array Objects and Buffer Objects.

15:39 <Cepheid> These are the modern ways of improving throughput in rendering.

15:39 <Cepheid> It's harder to use, though.

15:39 <Cepheid> Like, a lot harder.

15:40 <RazorSharpFang> Because g-cards are so fast, it's better to give them data in big chunks right?

15:41 <Cepheid> There's a few reasons, actually.

15:42 *** Quits: danwellby (danwellby@The.lone.griffon) (Connection closed)

15:42 <Cepheid> I believe the glBegin(), glVertex(), glEnd() sends it either piecemeal, or collects the data into a buffer, then shoves it over to the GPU.

15:42 <Cepheid> In either case, the same buffer is not re-used.

15:43 <Cepheid> So there's a data transfer from CPU to GPU side each time, which kills performance.

15:43 <Cepheid> Vertex Array Objects and Buffer Objects are different.  Vertex Array Objects save a bunch of state information about buffer arrays of varying type with themselves.

15:44 <Cepheid> And they're stored on the GPU-side, so switching them around is fast and easy.

15:44 <Cepheid> Buffer Objects, meanwhile, are pretty much what their names suggest.  They're allocated buffers on the GPU side.

15:44 *** Joins: danwellby (danwellby@The.lone.griffon)

15:45 <Cepheid> You create 'em, shove data into 'em, and the system does a data transfer when best appropriate.  Then utilize them in drawing commands.  Since the data's all on the GPU side already, it's fast to use, and the buffer isn't immediately discarded after use.

15:46 <Cepheid> Of course, this implies staticness.  You can map regions of the buffer back to CPU-side to modify them(Some even go so far as to let you modify GPU memory, depending on implementaton.) and make changes to the buffer.

15:46 <Cepheid> Ultimately, the difference in performance is insane.

15:46 <Cepheid> But, like I said, harder to set up.

15:48 <Cepheid> If I tried to use my current engine by drawing each tile separately with glBegin(), glEnd() calls, the performance would drop down into the sub-60 range of FPS.

15:48 <Cepheid> The current setup is around 1000-2000 FPS range, depending on the tiles.

15:49 <RazorSharpFang> Hmm, I'm not getting anything drawn on my code, but yours is working. Hmmmm.

15:49 <Cepheid> Show me yer code.

15:49 <RazorSharpFang> https://pastebin.com/MHV4aaYF

15:51 <Cepheid> Because you're not drawing within the bounds of the screen.

15:51 <Cepheid> What're you trying to do?

15:52 <RazorSharpFang> How is it not within the bounds of the screen?

15:53 <Cepheid> SCREEN_WIDTH = 960.  960 - 25 = 935. 935 & 960 > 640.  Same with SCREEN_HEIGHT stuff >= 480.

15:53 <RazorSharpFang> I was originally using my SCREEN_WIDTH/HEIGHT values, but that wasn't working.

15:53 <RazorSharpFang> I'm still drawing the original triangle at (25,25,50,50,75,75)

15:54 <Cepheid> Yeah, because 25/50/75 < 640 and 480.

15:54 <Cepheid> Are you trying to set up a 16:9 viewport size?

15:54 <RazorSharpFang> Yeah.

15:54 <Cepheid> Change the 640 and 480 in the glOrtho and the glCreateWindow with your SCREEN_WIDTH and SCREEN_HEIGHT respectively.

15:55 <RazorSharpFang> I'm confused as to how [25,25] isn't a pixel in the viewport.

15:56 <Cepheid> Hooboy, this'll take some time to explain.

15:57 <Cepheid> Vertices are arbitrary, unitless.  By themselves, they don't represent pixels.  They just represent points for primitives like triangles, lines, points and squares.

15:57 <Cepheid> What translates their actual location is a vector-matrix multiply.

15:58 <Cepheid> In typical graphics, you have three matrices.  A Model matrix, which represents the "world."  Any transformations applied to it are relative to an origin point of (0,0,0)

15:58 <Cepheid> Then you have your View matrix.  This is the camera.

15:58 <Cepheid> You adjust the view matrix, your viewpoint changes.

15:58 <Cepheid> Then you got the projection matrix.

15:59 <Cepheid> This takes everything and translates it to screen coordinates.

15:59 <Cepheid> Then clipping is performed by a viewport specification.

16:00 <Cepheid> By default, your world and view matrices are set to the identity matrix, so vectors passed in come out the same.

16:00 <Cepheid> That is, (1,1,1) * Identity Matrix = (1,1,1)

16:02 <Cepheid> Guh, this explanation is actually hard to do.

16:04 <Cepheid> The projection matrix maps coordinates to the "screen".  So for example, if the projection matrix is set to 0, 1, 1, 0(left, right, bottom, top), then a vertex at 1/1 will be at the upper-right corner of the screen.

16:04 <RazorSharpFang> I've gotten this so far: (Text done in paint) https://imgur.com/Lf0oCax

16:04 <Cepheid> If you specified 0.5/0.5, the vertex would be placed in the middle of the screen.

16:05 <Cepheid> Er, lower-right corner, not upper-right.  I forgot that the swapped bottom/top inverts things.

16:05 <ADragonDreaming> Warrior of Sunlight, Stabby McTaco

16:05 <Cepheid> Anyways, set the matrix to 0, 640, 480, 0, then 640,480 represents the lower-right.  320,240 represents the middle instead.

16:05 <Cepheid> This is irrespective of the actual screen size.

16:06 <Cepheid> If your screen size is 1024x768, and you use a 0,640,480,0 orthographic projection matrix, then 640,480 will represent the pixel at 1024,768.

16:06 <RazorSharpFang> As it happens, I'm using 960x540. :3

16:06 <Cepheid> Meanwhile, 320, 240 corresponds to 512/384.

16:07 <Cepheid> Basically, if you want flat, 2D, and coordinates to roughly correspond to pixel locations, you use an orthographic projection matrix the same size as the window/screen.

16:07 <RazorSharpFang> Ooh, this makes stretching-scaling the default if you let the window be resized.

16:08 <Cepheid> More or less.

16:08 <Cepheid> There's an easy way to handle 16:9 using a resolution-independent manner.

16:08 <Cepheid> IE:  No matter the resolution, it'll always look the same, so long as it's a multiple of 16:9.

16:08 <Cepheid> Basically, use an orthographic projection matrix of 0,16,9,0

16:09 <Cepheid> You'll have to then specify coordinates in fractions of 16 and 9 instead

16:10 <Cepheid> As for sizing the window and using non-16:9 resolutions, that's a bit trickier.

16:10 <RazorSharpFang> I suppose letter-boxing would be difficult.

16:11 <Cepheid> Not super difficult, but it is a bit more complicated, yes.

16:13 <Cepheid> Let me figure it out, and I'll pastebin it.  I need to do this code anyways.

16:14 <RazorSharpFang> Ah, resizing just has everything drawn in the bottom-left corner.

16:14 <Cepheid> Probably messes up the matrix stuff, I'm not sure how SDL handles it all.

16:18 <RazorSharpFang> Using SDL_GetTicks() I can see that my drawing is taking less than a millisecond to complete. :3

16:20 <RazorSharpFang> A whole four triangles.

16:20 <Cepheid> Throw the triangle drawing into a loop of 1000, or 10000.

16:21 <Cepheid> Should start seeing the time increase pretty quickly.

16:22 * DashedRainbows stretches and pants. good morning

16:35 * Cepheid is having trouble with this. =.=;

16:35 <Cepheid> Because it involves MATH.

16:37 <RazorSharpFang> Maths is always hard.

16:37 <RazorSharpFang> It'd probably be easier to just only support 16x9 resolutions.

16:40 *** Joins: Aliznia (Aliznia@Pony-50jav3.rev.sfr.net)

16:42 <Aliznia> Rate my ass pls  https://techtun.es/photoid028655161453    

16:42 <RazorSharpFang> Oof

16:45 <ADragonDreaming> Hey Googie

16:45 <Cepheid> Not a good idea, RazorSharpFang.  Supporting only 16:9 pisses off a lot of folks.

16:45 <RazorSharpFang> Could be worse, could support only a fixed non-standard resolution. :3

16:45 <Cepheid> Heh.

16:45 <ADragonDreaming> what, like 15x12?

16:45 <Aliznia> Rate my ass pls  https://techtun.es/photoid028655161453    

16:46 <Cepheid> As it is, my game currently runs at 640x480 internally, and is scaled up to the actual resolution.

16:46 <RazorSharpFang> Does it stretch if you put it fullscreen?

16:46 <ADragonDreaming> You could do the whole "Blacked out portions to the sides" for widescreen

16:47 <Cepheid> That's the plan, ADragonDreaming.

16:47 <ADragonDreaming> aha

16:47 <Cepheid> I'll probably do what La-Mulana does, actually.

16:47 <Cepheid> They fill the black space with images.

16:49 <RazorSharpFang> I've done it! I have... my "circle" : https://imgur.com/9itKAG7

16:50 <ADragonDreaming> ...that's an octagon.

16:50 <RazorSharpFang> It's a beautiful circle.

16:50 <RazorSharpFang> I'm surprised I actually got the code completely right the first try.

16:53 <Cepheid> Technically an N-gon, but it's a start.

16:53 <Cepheid> Now subdivide it further.  Up to ceil(2rPI) tiles.

16:53 <Cepheid> Er, times*

16:54 <RazorSharpFang> As you said, there's no real good way to draw curves and whatnot.

16:54 <Cepheid> Yes.

16:54 *** Quits: Aliznia (Aliznia@Pony-50jav3.rev.sfr.net) (Connection closed)

16:57 <RazorSharpFang> 32 triangles looks pretty good.

17:00 <Cepheid> Yeah, as the number increases, it starts to look better.

17:01 <Cepheid> There's a point where it becomes indistinguishable from a rasterizing algorithm, though.

17:01 <Cepheid> I presume the exact point would be approximately 2rPI triangles.

17:04 *** Joins: Eternia (coco@Pony-79c.vhq.48.199.IP)

17:08 <DerpyBot> New post on Equestria Daily by Sethisto: Starlight Glimmer Day - 3 Day Reminder!  [ http://tinyurl.com/yxvrynal ]

17:17 <RazorSharpFang> I wonder how hard it would be to be able to, as I've done with a circle, approximate arbitrary curved shapes...

17:17 * Schism returns from the store. With flesh! Delicious, nutritious flesh of the formerly living.

17:18 <Eternia> Have a good day everyone

17:18 *** Quits: Eternia (coco@Pony-79c.vhq.48.199.IP) (Quit: https://tinyurl.com/ycampat7)

17:21 <Cepheid> There we go, figured out what I was doing wrong.

17:21 <Cepheid> RazorSharpFang:  Depends on the shape.

17:22 <Cepheid> If you're talking curved lines, you can just use GL_LINES instead of triangles.  If you want thicker lines, you can enable line smoothing, then specify the line thickness via glLineWidth(), but there are problems with that API.

17:23 <Cepheid> Namely, it's limited in how thick the lines can be, and the accuracy is limited.

17:23 <Cepheid> For example, on one card, line thicknesses might be limited to factors of 0.125.

17:23 <Cepheid> While on another, it's 0.250.

17:23 <Cepheid> Or some other weird fraction.

17:23 <RazorSharpFang> Let's suppose I'm only talking about solid shapes. I'd call these "Fills"

17:24 <Cepheid> So curved shapes.

17:25 <Cepheid> Like in modern vector graphics, such as SVG or flash stuff.

17:25 <Cepheid> Where you specify a shape using a bunch of "Paths", either straight or curved, and are then filled in based on the relevent data.

17:26 <RazorSharpFang> If the shape is "concave" (What does that mean if the shape is curved?) then you can draw a lot of triangles from the centre point. (Good luck figuring that out)

17:27 <RazorSharpFang> .... I'm starting to get the feeling that there's a lot of maths involved with graphical drawing.

17:28 <Cepheid> There is.

17:28 <Cepheid> Linear algebra, brush up on it.

17:29 <Cepheid> It gets trickier when you start dealing with self-intersection and such.

17:30 <RazorSharpFang> I suppose any non-concave (?) curved shape could be broken into multiple concave (?) shapes.

17:30 <Cepheid> Convex polygons are polygons with an interior angle that's greater than 180 degrees.

17:31 <Cepheid> ER, less than.

17:31 <Cepheid> Meanwhile, concave is greater than 180.

17:31 <RazorSharpFang> Right, but does that definition make sense for shapes with curved boundaries?

17:31 *** Quits: cabbage (cabbage@Pony-qqqjcp.sntcca.sbcglobal.net) (Ping timeout: 121 seconds)

17:31 <Cepheid> They have the same problem as polygons comprised of straight lines.

17:31 <Cepheid> Outlines are easy.

17:32 <Cepheid> Filled shapes are the real problem.

17:33 <Cepheid> And yes, curved shapes are subject to the same problems.

17:33 * DashedRainbows goes around sniffing everyhorse

17:33 *** Quits: ArchPegasusMichael (Poni@Keep.In.A.Friendly.And.Pony.Place) (Ping timeout: 121 seconds)

17:33 *** Joins: ArchPegasusMichael (Poni@Keep.In.A.Friendly.And.Pony.Place)

17:34 <RazorSharpFang> Actually...

17:34 <RazorSharpFang> I'm fine with //CERTAIN// convex polygons. I can't handle polygons where there is fill that cannot be reached from the centre without going outside the shape via a straight line.

17:35 *** Joins: cabbage (cabbage@Pony-qqqjcp.sntcca.sbcglobal.net)

17:35 <Cepheid> Convex is trivial, yeah.

17:37 *** Joins: Eternia (coco@Pony-79c.vhq.48.199.IP)

17:38 <RazorSharpFang> I should draw some shapes to illustrate what I mean.

17:39 *** Quits: Eternia (coco@Pony-79c.vhq.48.199.IP) (Quit: https://tinyurl.com/ycampat7)

17:43 <RazorSharpFang> https://imgur.com/29pgOcy - A shape that has points within it that intersect with a line drawn from the perimetre to the centre.

17:43 <RazorSharpFang> A shape like that would be a problem for me.

17:45 <Cepheid> Mmm, that'll work, yeah.

17:46 <RazorSharpFang> The black dot being the "centre" of the shape.

17:46 <RazorSharpFang> But I don't know how to calculate the centre of an arbitrary polygon, or what the centre of an arbitrary polygon actually means.

17:52 *** Quits: Cyan_Spark (Cyan_Spark@sparks.only.last.so.long) (Quit: Also on Discord)

17:54 <Cepheid> Can't help you there, I don't know the math for it.

17:55 <Cepheid> I don't deal with parametric curves.

17:55 <RazorSharpFang> I don't even know what that means. :3

17:56 <Cepheid> Bezier curves and such.

17:56 <RazorSharpFang> But I'd probably start by pulling apart the curves present in the raw shapes into discrete lines by a precision value anyhow.

17:58 <DerpyBot> New post on Equestria Daily by Sethisto: Animation: Pony and Magical Artifact [ http://tinyurl.com/y59ot7zl ]

18:00 <RazorSharpFang> Let's see... flash curves look like they're beziers...

18:02 <RazorSharpFang> Now I need to somehow open the flash swf file, and obtain the curve information...

18:03 <RazorSharpFang> First I'd have to uncompress it...

18:07 <RazorSharpFang> What I'm actually interested in is the shape data...

18:11 <RazorSharpFang> It's nice that the data appears to be byte-aligned.

18:13 <RazorSharpFang> It's also really nice that the spec for SWF files provided example implementations for parsing through bits of it.

18:16 <RazorSharpFang> I really need a hex editor/viewer. Is there one you'd recommend me, Cepheid ?

18:21 <Cepheid> Hex Workshop(Paid), HxD(Free last I checked)

18:25 <RazorSharpFang> Looks good.

18:26 <Cepheid> Right, got a method for calculating the correct glOrtho values for a given aspect ratio.

18:28 *** Quits: ArchPegasusMichael (Poni@Keep.In.A.Friendly.And.Pony.Place) (Ping timeout: 121 seconds)

18:31 <Cepheid> It's a garbage method, honestly, but it works.

18:34 <RazorSharpFang> How many bits is a `size_t` ?

18:35 <Cepheid> https://en.cppreference.com/w/cpp/types/size_t

18:35 <Cepheid> Implementation defined, no definitive answer.

18:36 <RazorSharpFang> Hrmm.

18:37 <Cepheid> That page implies it's at least equal in size to the pointer type of the architecture.

18:37 <RazorSharpFang> Well, a char must be at least a byte, a short must be at least two bytes, and a long must be at least four bytes.

18:38 <Cepheid> Assuming that is dangerous.

18:38 <RazorSharpFang> Those are part of the C spec.

18:38 <Cepheid> https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models

18:38 <Cepheid> At least, sure.

18:38 <RazorSharpFang> That's all I need. A guarantee of /at least/

18:38 <Cepheid> Fair enough.

18:39 <RazorSharpFang> It's annoying that I'm going to be working with values that are not byte aligned though.

18:39 <Cepheid> size_t, based on the above definition, is guaranteed to be equal to the size of a pointer.

18:40 <Cepheid> Because on a 64-bit machine, the maximum address is 0xFFFFFFFFFFFFFFFF.  Heavens help you if you ever address that.

18:43 <Cepheid> Yeah, on my laptop under Linux, it's 8 bytes.

18:43 <RazorSharpFang> Why is my compiler warning me about fopen being insecure?

18:44 <Cepheid> That's Microsoft being stupid.

18:44 <Cepheid> They have their own methods that are "safe" for the OS.

18:48 *** Joins: RyuImperator (RyuImperato@Pony-m3e4g8.dip0.t-ipconnect.de)

18:48 *** Joins: Nedemai (Nedemai@Pony-f3d.g65.158.104.IP)

18:52 *** Joins: ArchPegasusMichael (Poni@Keep.In.A.Friendly.And.Pony.Place)

18:53 *** Joins: MikeyPony (MikeyPony@Pony-27t.7v4.205.213.IP)

18:54 <MikeyPony> Hi

18:56 <RazorSharpFang> I guess I'm making an SWF file parser now. :3

18:57 <MikeyPony> hmm?

18:58 <RazorSharpFang> Doing game-development... in a roundabout way.

19:02 <RazorSharpFang> It's going to be easier to do this if I don't compress the SWF files at export.

19:05 <RazorSharpFang> So far I'm grabbing the headers, checking the signature, reading the file version, and the filesize. :3

19:06 <RazorSharpFang> I need to read... five bits? Somehow???

19:08 <DerpyBot> New post on Equestria Daily by Sethisto: Animated Shorts: Cadences First Report / Kim Puff the Fluffle [ http://tinyurl.com/yxsa3g6z ]

19:09 *** Quits: ADragonDreaming (IceChat9@Pony-tpdjag.livnmi.sbcglobal.net) (Ping timeout: 121 seconds)

19:11 *** Joins: ADragonDreaming (IceChat9@Pony-tpdjag.livnmi.sbcglobal.net)

19:12 * Cepheid wanders off to take a shower.

19:13 <RazorSharpFang> I hate values that are less than a byte, or less than full bytes.

19:13 <Cepheid> RazorSharpFang:  & operator, and bit shifting.

19:13 <RazorSharpFang> I still hate it though.

19:14 <Cepheid> Say you have a bit in location 9 of a 16-bit integer.  ((IntegerVar >> 8) & 0x01)

19:14 <Cepheid> Anyways, shower.

19:14 <RazorSharpFang> I'm confused if I need the big endian end or the small endian end.

19:14 *** Parts: MikeyPony (MikeyPony@Pony-27t.7v4.205.213.IP) ()

19:16 <RazorSharpFang> I think it's little endian.

19:19 <RazorSharpFang> I'm going to need to write a subroutine for this.

19:24 *** Joins: Stormspark (stormspark@Pony-25m.dcd.98.172.IP)

19:40 *** Joins: Ali (Ali@Pony-cvibue.iplsin.sbcglobal.net)

19:40 *** ChanServ sets mode: +qo Ali Ali

19:41 <RazorSharpFang> I'm supposed to be doing game development, but here I am coding a SWF file interpreter.

19:42 * Ali headtilts at RazorSharpFang

19:48 <RazorSharpFang> I hate SWF files already.

20:15 <Cepheid> Heh.

20:15 <Cepheid> Razor, why SWF files?  Because an editor exists for tweening and such already for it?

20:18 <Cepheid> Because if you're looking for a way to load vector graphics akin to Flash, but don't need any of the programming, or special animation effects(*YET*), you might fare better parsing SVG.

20:24 <RazorSharpFang> Well, I can animate in flash, but I don't know SVGs, and I know flash can't export to SVGs.

20:26 <Cepheid> SVGs can be animated, last I checked.  Not as well as flash, I don't think, but yeah, fair enough.

20:27 <Cepheid> Hum, while I have this case open, where the hell is that other USB connector on my motherboard..?

20:28 *** Joins: PinkieShy (coolm@Pony-ck81je.67-212-45-net.sccoast.net)

20:29 <Cepheid> There's 1-2, and 3-4 is supposed to be next to it.

20:29 <Cepheid> Oh.  They're both used up.  Okay then.

20:38 <RazorSharpFang> It's super annoying to deal with integer values that aren't bit-aligned, but they're less than a 2-byte but less long than a one-byte.

20:39 <Cepheid> Welcome to the hell that is data parsing.

20:39 <RazorSharpFang> Thanks I hate it.

20:41 <Cepheid> Awe, but it's fun!

20:41 <RazorSharpFang> Yeah, I can't keep working when I'm tired like this. It's almost 5 AM, sleepy time.

20:42 <Cepheid> Go to bed man.

20:42 <RazorSharpFang> :waves:

20:43 *** Quits: RazorSharpFang (RazorSharpF@Pony-mq83t3.tpgi.com.au) (Connection closed)

20:50 <PinkieShy> uhh.. o.o

20:50 <Cepheid> Hmm?

20:50 <PinkieShy> Nothing here but its just something odd happening to me. Might just need to get some allergy meds to take..

20:51 <Cepheid> Define weird.

20:51 <Cepheid> Er, something odd*

20:51 <PinkieShy> Looks like 2 hive bumps or more on my leg itching when i haven't came in contact with anything today.. it has just been itching since i've been woken

20:51 <PinkieShy> itching off and on..

20:52 <Cepheid> If they aren't spreading, it's fine.

20:52 <Cepheid> Though do they have little red spots on them, like, really small?

20:52 <PinkieShy> No its skin coloured.

20:53 <PinkieShy> No redness.. just dry skin.

20:54 *** Quits: RyuImperator (RyuImperato@Pony-m3e4g8.dip0.t-ipconnect.de) (Connection closed)

20:54 <PinkieShy> Probably nothing to worry about :)

20:56 *** Joins: Fn (Eogan@Pony-0sb9hl.dip0.t-ipconnect.de)

20:56 *** Joins: FruitNibbler (Eogan@Pony-0sb9hl.dip0.t-ipconnect.de)

20:58 <DerpyBot> New post on Equestria Daily by Makenshi: MLP Comics Music: Chiptune Brony - The Riches of Abyssinia [Soundtrack] [ http://tinyurl.com/y4kyhgg7 ]

21:08 <DerpyBot> New post on Equestria Daily by Sethisto: Drawfriend Stuff (Pony Art Gallery) #2923 [ http://tinyurl.com/yxsa8yld ]

21:08 <Cepheid> So, I uh, spent my money on a new video card.  I'm not completely bankrupt, though.  I went for a moderate-end, still-an-impressive-upgrade card.  RTX 2060.  I can run MHWorld at 1920x1080, highest settings, 60 FPs. >.>

21:10 <Cepheid> Let's see if I can do 4k at 30FPS.

21:13 <Cepheid> Disable the volumetric fog that adds nothing to the visuals, and yeah, I can.

21:36 *** Joins: JonTheVGNerd (JonTheVGNer@Pony-ifa.2r2.42.24.IP)

21:38 *** Joins: MikeyPony (MikeyPony@Pony-27t.7v4.205.213.IP)

22:23 *** Quits: ADragonDreaming (IceChat9@Pony-tpdjag.livnmi.sbcglobal.net) (Ping timeout: 121 seconds)

22:25 *** Joins: ADragonDreaming (IceChat9@Pony-tpdjag.livnmi.sbcglobal.net)

22:25 <Cepheid> Welcome back, ADragonDreaming

22:44 *** Joins: HyperDash (HyperDash@Pony-obvko9.wa.comcast.net)

22:44 *** Quits: HyperDash (HyperDash@Pony-obvko9.wa.comcast.net) (Connection closed)

23:04 *** Quits: Thelema5 (Thelema5@is.a.curious.pone) (Ping timeout: 121 seconds)

23:05 * DashedRainbows sniffs PinkieShy and barks

23:06 * PinkieShy hands DashedRainbows some pork chops and fries

23:08 * DashedRainbows noms and wags her tail

23:08 <DerpyBot> New post on Equestria Daily by Sethisto: Drawfriend - Equestria Girls / Anthro MLP Art Gallery #94 [ http://tinyurl.com/y2k8c47s ]

23:12 <PinkieShy> Haven't had pork chops in so long.. i forgot how they taste.. i missed this flavor.. :3

23:28 *** Joins: Pony|85697 (Pony85697@Pony-i454b4.cable.virginm.net)

23:35 * DashedRainbows sits by PinkieShy and licks

23:45 *** Quits: MikeyPony (MikeyPony@Pony-27t.7v4.205.213.IP) (Quit: )

23:50 <PinkieShy> welp those people last night are getting 'investigated into' by VRChat staff from what they saw in the video.

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!