code logs -> 2020 -> Sat, 27 Jun 2020< code.20200626.log - code.20200628.log >
--- Log opened Sat Jun 27 00:00:24 2020
00:41
<&McMartin>
https://twitter.com/zackbanack/status/1275791669904932864
00:42
< catalyst>
that is amazing
00:45
<~Vornicus>
what.
01:08 VirusJTG_ [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
01:11
<&ToxicFrog>
holy shit
01:15
<&McMartin>
The best part is that if the file dialog did this, MessageBox really should have too.
01:31 Kindamoody is now known as Kindamoody[zZz]
02:04 VirusJTG_ [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [[NS] Quit: Leaving]
02:31 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
02:58 Degi [Degi@Nightstar-6p74l6.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
02:59 Degi [Degi@Nightstar-pdiqoc.dyn.telefonica.de] has joined #code
03:12 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
03:13 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
03:13 mode/#code [+o Reiv] by ChanServ
03:50 catalyst [catalyst@Nightstar-rfrqc5.dab.02.net] has quit [Ping timeout: 121 seconds]
04:24 * McMartin reads more about Direct3D.
04:24
<&McMartin>
I must take back and qualify one of my earlier statements.
04:25
<&McMartin>
I had said, a few days ago, that Direct3D 9 occasionally caused you to lose all the data you had in the GPU memory and thus required you to reset and reconfigure the device, and that one of the advances in DX10 (and then actually used in DX11) was that this was no longer necessary.
04:25
<&McMartin>
This is not *quite* true.
04:25
<&McMartin>
DX11 and friends can still hit this scenario.
04:26
<&McMartin>
However, the scenario hits on DX9 when the user shifts focus to or from a full-screen application.
04:26
<&McMartin>
... it hits on DX11 when the user hot-swaps your graphics driver mid-run.
04:29 JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [Ping timeout: 121 seconds]
04:47 JustBob [justbob@ServerAdministrator.Nightstar.Net] has joined #code
04:47 mode/#code [+o JustBob] by ChanServ
04:48 JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [[NS] Quit: ]
04:48 JustBob [justbob@ServerAdministrator.Nightstar.Net] has joined #code
04:48 mode/#code [+o JustBob] by ChanServ
04:57 JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [[NS] Quit: ]
05:00 JustBob [justbob@ServerAdministrator.Nightstar.Net] has joined #code
05:00 mode/#code [+o JustBob] by ChanServ
05:01 JustLurk [justbob@ServerAdministrator.Nightstar.Net] has joined #code
05:01 JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [NickServ (RECOVER command used by JustLurk)]
05:01 mode/#code [+o JustLurk] by ChanServ
05:01 JustLurk is now known as JustBob
05:06 catalyst_ [catalyst@Nightstar-asqt8s.dab.02.net] has joined #code
05:06 JustLurk [justbob@ServerAdministrator.Nightstar.Net] has joined #code
05:06 JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [NickServ (RECOVER command used by JustLurk)]
05:06 mode/#code [+o JustLurk] by ChanServ
05:06 JustLurk is now known as JustBob
05:06 JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [[NS] Quit: ]
05:07 JustBob [justbob@ServerAdministrator.Nightstar.Net] has joined #code
05:07 mode/#code [+o JustBob] by ChanServ
05:43 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed]
05:43 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
05:43 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
06:23 Kindamoody[zZz] is now known as Kindamoody
07:02 * McMartin gets a nice 3D plot out of his DX9 program.
07:03
<&McMartin>
I'm not doing anything special here, but the whole program weighs in at 11KB.
07:03
<&McMartin>
That's promising.
07:35 Vorntastic [uid293981@Nightstar-ks9.9ff.184.192.IP] has joined #code
07:35 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
08:43 celticminstrel [celticminst@Nightstar-olm4vg.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
09:21 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
09:26
<~Vorntastic>
Linear algebra: still unreasonably effective
09:44
<&McMartin>
What brings this up
09:47
<~Vorntastic>
Was thinking about the camera, was working out focused zoom
10:00
<~Vorntastic>
And - granted, this is all head work, I haven't written it down - it looked hard for a while but then I noticed that there was a simple way
10:10
<~Vorntastic>
Specifically: getting the box rotated correctly is easy, but placing the box correctly looked hard, but it's: 1. Find the cam-space and world-space coordinates in the old zoom; world - new_orientation * cam gives a point on the line in the center of the camera, intersect that line with the plane of allowed camera locations.
10:12
<~Vorntastic>
I forgot to keep numbering steps noooo I'm an internet recipe writer noooo
10:16
<~Vorntastic>
(where orientation actually includes the sizing of the box, so sans location it gives the right thing just offset)
10:21 catalyst_ [catalyst@Nightstar-asqt8s.dab.02.net] has quit [Ping timeout: 121 seconds]
10:39 catalyst [catalyst@Nightstar-9r3fv7.dab.02.net] has joined #code
10:45 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
11:20
<~Vorntastic>
Ok let's see. Basics of data storage: I have a tiled world, and care about corners, edges, tiles. It feels like better would be to have a single cell structure that contains all of them, and explicitly nil cells/edges beyond the end.
11:23
<~Vorntastic>
I need to be able to... Manage cell transitions; grass grows, etc. This is a lot and we don't want every cell to be checked all the time.
11:29
<~Vorntastic>
This suggests that cells need timers and need to activate when their timer expires; there are fucktons of these though, so I need a heapoid of timing things
11:32 * Reiver muses
11:32
<&Reiver>
How often are you checking your edges?
11:34
<~Vorntastic>
*checking* them, uh, occasionally, thing is you need to put things like fences on edges
11:34
<&Reiver>
right
11:34
<&Reiver>
How often are you checking for adjacency, eg, "From one cell to its neighbours"?
11:36
<~Vorntastic>
Oh that. That I'm not certain of. Cellular automata type stuff is certainly a thing that happens; if you play ottd you can see it doing flooding, for instance
11:36
<&Reiver>
right
11:36
<~Vorntastic>
Similarly, fire and pollution spread, vehicles et al need to path
11:38
<~Vorntastic>
These are all squares though so explicit graph adjacency isn't really a problem. Why do you ask?
11:39
<&jerith>
Vorntastic: A common mechanism for that sort of thing is to keep sets of "cells with pending grass growth", etc.
11:39
<~Vorntastic>
Yes, that's the aim of the heapoid
11:40
<&jerith>
Ah.
11:40
<~Vorntastic>
Where i can put all the tiles into a pile and see what the score is
12:00 catalyst [catalyst@Nightstar-9r3fv7.dab.02.net] has quit [[NS] Quit: -a- IRC for Android 2.1.56]
13:10 celticminstrel [celticminst@Nightstar-olm4vg.dsl.bell.ca] has joined #code
13:10 mode/#code [+o celticminstrel] by ChanServ
13:25 Kindamoody is now known as Kindamoody|afk
13:35 Kindamoody|afk [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
15:19 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:19 mode/#code [+qo Vornicus Vornicus] by ChanServ
17:15 Vorntastic [uid293981@Nightstar-ks9.9ff.184.192.IP] has quit [[NS] Quit: Connection closed for inactivity]
18:50 Kindamoody|afk [Kindamoody@Nightstar-v552ts.tbcn.telia.com] has joined #code
18:50 mode/#code [+o Kindamoody|afk] by ChanServ
21:03 Kindamoody|afk [Kindamoody@Nightstar-v552ts.tbcn.telia.com] has quit [Ping timeout: 121 seconds]
21:17 Kizor is now known as Shirley
22:06 Kindamoody|afk [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
22:06 mode/#code [+o Kindamoody|afk] by ChanServ
22:07 Kindamoody|afk is now known as Kindamoody
22:22 Vornicus is now known as Misty
22:24
<~Misty>
hah. Hey mcm you know how you were talking about dx9 the other day and how you had to be careful tabbing out?
22:24
<~Misty>
turns out Borderlands missed a step, and forgot to include protection during zone loads
22:24
<&McMartin>
Welp
22:26
<&McMartin>
That's going to be an exceptionally painful place to get it right, come to think of it.
22:27
<&McMartin>
Since that's "you lost some of the data you were loading as you were loading it in"
22:27
<~Misty>
and it is also the place where I am most likely to tab away, so~
22:37
<&McMartin>
For my little projects I get to cheat; there will not be loading screens because I can completely reprovision all my VRAM in the space of a single frame
22:37
<&McMartin>
And if it fails again, then, well, do it all again, who will notice?
22:39
<~Misty>
hah
22:42
<&McMartin>
Resets aside, texture management on DX9 appears to be a vastly bigger buttpain than it is in OpenGL, and it's not a walk in the park in OpenGL either.
22:47
<&McMartin>
https://cdn.discordapp.com/attachments/462366590344888332/725943491733225552/D0e5eerWoAMbkJ0.png
22:48
<~Misty>
borderlands has some kickass texture load in transitions.
23:06 Pinkhair [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Connection closed]
23:07 Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code
23:24 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
23:51 Misty is now known as Vornicus
23:53 Shirley is now known as Kizor
--- Log closed Sun Jun 28 00:00:25 2020
code logs -> 2020 -> Sat, 27 Jun 2020< code.20200626.log - code.20200628.log >

[ Latest log file ]