--- Log opened Sun Oct 31 00:00:15 2021 |
00:13 | | ErikMesoy [Bruker@Nightstar-5dnqhq.bb.online.no] has quit [Connection closed] |
01:11 | <&McMartin> | Hell yes, just got render-to-texture working |
02:08 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
02:15 | | Degi [Degi@Nightstar-0h4lke.pool.telefonica.de] has quit [Ping timeout: 121 seconds] |
02:17 | | Degi [Degi@Nightstar-e71jpu.pool.telefonica.de] has joined #code |
02:35 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code |
02:35 | | mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ |
03:11 | | Degi_ [Degi@Nightstar-7t6iej.pool.telefonica.de] has joined #code |
03:14 | | Degi [Degi@Nightstar-e71jpu.pool.telefonica.de] has quit [Ping timeout: 121 seconds] |
03:14 | | Degi_ is now known as Degi |
04:20 | | Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has joined #code |
04:20 | | mode/#code [+qo Vorntastic Vorntastic] by ChanServ |
04:36 | <&McMartin> | Unfortunately for me, now render to *screen* seems to be misbehaving. |
04:50 | | abudhabi__ [abudhabi@Nightstar-s7vgaf.adsl.tpnet.pl] has joined #code |
04:50 | < catalyst> | that sounds detrimental |
04:53 | | abudhabi_ [abudhabi@Nightstar-jvr1rc.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds] |
04:56 | <&McMartin> | It is, but I think I've found the problem. |
04:56 | <&McMartin> | It looks like render-to-texture misbehaves when the texture being rendered to is larger than the screen. |
04:59 | <&McMartin> | ... also Windows Defender is blowing up my programs as I build them, what the Hell, dudes |
05:12 | <&McMartin> | Ah, that's their heuristics freaking out at unsigned code, I guess. (???) |
05:16 | <&McMartin> | I suppose that's what WM_GETMINMAXINFO is for. |
05:50 | <&McMartin> | Aha! SCIENCE! |
05:50 | <&McMartin> | *** S C I E N C E *** |
06:02 | <&McMartin> | The internet tells me that my Z-buffer is the wrong size. |
06:25 | <&McMartin> | Yeah, that does seem like it would make sense, OK |
07:29 | <~Vorntastic> | Man i had a problem in that vein a while back |
07:32 | <~Vorntastic> | Set my depth buffer up with a bit depth i thought was sensible and got https://media.discordapp.net/attachments/329404715521802241/877281183724093460/unknown.png |
07:32 | | Kindamoody[zZz] is now known as Kindamoody|out |
07:41 | <~Vorntastic> | (24) |
07:41 | <~Vorntastic> | (is the right depth) |
07:55 | | ErikMesoy [Bruker@Nightstar-5dnqhq.bb.online.no] has joined #code |
07:55 | | mode/#code [+o ErikMesoy] by ChanServ |
08:21 | <&McMartin> | Yeah, it turns out the issue here is that the depth buffer is shared across all render targets in DX9, and if you do the Standard Lazy Thing, it's the size of your window/viewport |
08:21 | <&McMartin> | Which means that your texture gets cut off if it's a render target and bigger than the screen |
08:23 | <&McMartin> | But yeah, that would be "the Z-buffer has the wrong *format*" for you |
08:23 | <&McMartin> | Here the format is fine but it has the wrong number of pixels in it. |
09:54 | | Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code |
10:08 | <&McMartin> | ... but it looks like the easiest solution is to just disable the Z-Buffer entirely because I'm 2D and don't need it! |
10:08 | <&McMartin> | :tada: |
10:49 | | VirusJTG [VirusJTG@Nightstar-b00.oti.104.208.IP] has quit [Connection closed] |
10:49 | | VirusJTG [VirusJTG@Nightstar-b00.oti.104.208.IP] has joined #code |
10:49 | | mode/#code [+ao VirusJTG VirusJTG] by ChanServ |
11:47 | < Emmy> | McMartin, you are so shallow... |
11:47 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [[NS] Quit: -a- Connection Timed Out] |
11:47 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
13:10 | | Kindamoody|out is now known as Kindamoody |
13:26 | | gnolam [lenin@Nightstar-j9ajs0.priv.bahnhof.se] has quit [[NS] Quit: Das Reboot] |
13:27 | | gnolam [lenin@Nightstar-j9ajs0.priv.bahnhof.se] has joined #code |
13:27 | | mode/#code [+o gnolam] by ChanServ |
13:44 | <&ToxicFrog> | pfft |
14:07 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
14:07 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
14:19 | | catalyst_ [catalyst@Nightstar-1undih.dab.02.net] has joined #code |
14:23 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds] |
15:00 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
15:03 | | catalyst_ [catalyst@Nightstar-1undih.dab.02.net] has quit [Ping timeout: 121 seconds] |
16:30 | | Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
18:54 | | gnolam_ [quassel@Nightstar-j9ajs0.priv.bahnhof.se] has quit [Connection reset by peer] |
19:08 | <&McMartin> | All these characters are cardboard, and thanks to this "alpha" thing sometimes you can see right through them! |
19:29 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
22:10 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection reset by peer] |
22:12 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
22:24 | | JustLurk [justbob@ServerAdministrator.Nightstar.Net] has joined #code |
22:24 | | JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [NickServ (RECOVER command used by JustLurk)] |
22:24 | | mode/#code [+o JustLurk] by ChanServ |
22:24 | | JustLurk is now known as JustBob |
22:29 | | Kindamoody is now known as Kindamoody|out |
22:29 | | Kindamoody|out is now known as Kindamoody[zZz] |
23:02 | | Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds] |
23:12 | <&ToxicFrog> | Wow this code gets way easier to organize when I remember that `delay` exists |
--- Log closed Mon Nov 01 00:00:16 2021 |