IRC logs of Libera.Chat #BZFlag for Saturday, 2024-01-13

macsformeJuest: and what are those? do you mean the ability to install dependencies system-wide?00:43
*** Zehra <Zehra!~Yukari@user/yukari> has joined #bzflag01:45
*** SpringTank is now away: No clients connected to this core right now.01:46
Juestmacsforme: yeah, i mean, i dont have homebrew installed, it seems i can still compile with a path not found warning02:00
Juestim talking about if there's any benefits about using homebrew with bzflag besides being able to use brew libraries and compile against it02:01
Juestblast007: how can i generate a larger font set? also how is the profont outline achieved?02:01
*** ahs3- <ahs3-!~ahs3-@user/ahs3-> has quit IRC (Remote host closed the connection)02:02
* Zehra jumps into the chat02:02
*** BulletCatcher <BulletCatcher!~bc@user/bulletcatcher> has quit IRC (Ping timeout: 245 seconds)02:02
ZehraI think you can generate fonts from via TextTool202:02
ZehraFrom readme: PLEASE NOTE: if you increase the font sizes resulting in larger texture sizes, please make sure to edit the default "maxTextureSize" BZDB setting as well to avoid the BZFlag client downsampling your textures.02:04
blast007Juest: if you're building from the 2.4 branch, you can skip the need for brew and use our bzflag-dependencies repo02:04
*** ahs3- <ahs3-!~ahs3-@2603-6081-2802-32d4-f3f4-702b-d814-dbac.res6.spectrum.com> has joined #bzflag02:04
Juestdone that02:04
blast007so why are you asking about brew then?02:05
blast007or were you replying to Zehra?02:05
Juestbecause i saw a warning about its path missing02:05
blast007a warning from what, and what was the warning?02:05
Juestld: warning: search path '/opt/homebrew/lib' not found02:11
ZehraI don't have a mac, but it seems you are missing a path or something.02:11
JuestZehra: it's because i don't have homebrew installed02:12
Juesti am using the bzflag-dependencies repository and Xcode02:12
blast007okay... but where are you seeing that error?02:13
Juestblast007: what zehra said about fonts is the way to go? how about the outline in pro font? what ttf was used as a base?02:13
Juestin xcode compile log02:13
Juestbuild log*02:13
*** SpringTank is back02:14
Juestwhen it attempts to link BZFlag.app02:14
blast007it's probably so that people who *want* to use brew can still use it02:14
blast007but it's just a warning02:14
blast007and yes, our texttool2 is how we generate fonts02:14
blast007it's in tools/TextTool2/02:15
Juestokay, i am looking to upgrade the profont size02:15
Juestin bzflag i notice it has an outline02:16
Juestthat is not present in the actual font02:16
Juesthow do i generate that?02:16
blast007https://tobiasjung.name/profont/  there's one there called "ProFont ttf »tweaked«" that says it has outlines.02:16
Juesti like it because its readable02:16
Juestah i see02:16
Juestty02:16
Juestblast007: can profont be considered adding back to bzflag?02:17
Juestsince its MIT licensed02:18
Juestand, didnt bzf use to have a font selector in options?02:18
blast007I believe it did have an option to pick between a serif or sans-serif font before, but I don't think it showed specific font options02:20
Juestthat's one thing02:22
Juestim talking about the mono fonts used through the game02:22
Juestyou could change that via gui02:22
Juestwhen it offered toga sans, luxi mono and profont02:22
Juestor toga mono i dont remember02:22
*** SpringTank is now away: No clients connected to this core right now.02:27
*** SpringTank is back02:29
blast007I think I'm misremembering.  I'm not seeing a menu option to configure fonts, but I am see a configuration value for sansSerifFont and serifFont, and we removed the serifFont option in 2.4.402:31
*** BulletCatcher <BulletCatcher!~bc@user/bulletcatcher> has joined #bzflag03:42
macsformeas blast007 stated, we have multiple header/library paths configured so that libraries from either our package or homebrew can be utilized... and yes, that warning is a known issue, but a solution was not immediately apparent... there are also hundreds of other warnings when compiling with clang right now, so one more should not be a huge deal04:02
Zehra2.5.x. likely has an interesting glitch. (Testing from IPv6 branch.)04:11
ZehraTested on the HiX map: While remaining on the second level of the map. (Resting on one of the boxes.)... Firing shots into a no-rico setting.... and no rico occurs (as expected).04:13
ZehraHowever face away and turn into the boxes... same boxes which had no rico... a rico occurs and thus a self-kill occurs.04:13
ZehraI'm not sure how the rico calculation is done in this case, but it seems if you fire into an area of no-rico early/quick enough... you get a rico, before it realizes it should be no-rico.04:17
ZehraTested in distances of less than 10 world units. (I am unsure and have not tested with much greater distances, so outcomes uncertain with greater distances.)04:18
macsformeas far as fonts go, I don't think you can get any better than this :-) https://forums.bzflag.org/viewtopic.php?t=1904104:24
ZehraIs it normal for plugin_utils to add 1MB or so to the compile size?04:27
Zehrakoth is less than 200KB and sample_plugin comes out to 1.2MB04:28
Zehraor maybe it's my compile settings, I'll check tomorrow.04:30
*** Zehra <Zehra!~Yukari@user/yukari> has quit IRC (Quit: Leaving)04:30
*** FastLizard4 is back05:03
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has quit IRC (Ping timeout: 252 seconds)05:12
*** cods <cods!~fred@tuxee.net> has quit IRC (Ping timeout: 264 seconds)05:26
*** cods <cods!~fred@tuxee.net> has joined #bzflag05:26
*** FastLizard4 is now away: AWAY from keyboard06:49
*** SpringTank is now away: No clients connected to this core right now.07:11
*** SpringTank is back07:11
*** SpringTank is now away: No clients connected to this core right now.08:09
*** SpringTank is back08:09
*** SpringTank is now away: No clients connected to this core right now.08:40
*** SpringTank is back08:40
*** SpringTank is now away: No clients connected to this core right now.09:52
*** SpringTank is back09:52
*** SpringTank is now away: No clients connected to this core right now.10:39
*** SpringTank is back10:41
*** _I_Died_Once <_I_Died_Once!~I_Died_On@c-73-184-170-223.hsd1.ga.comcast.net> has joined #bzflag11:46
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has quit IRC (Read error: Connection reset by peer)12:02
*** SpringTank is now away: No clients connected to this core right now.13:03
*** SpringTank is back13:04
Juestoh i see 14:00
*** SpringTank is now away: No clients connected to this core right now.14:05
Juestblast007: how far has been openal looked into for bzf?14:37
blast007Juest: https://github.com/BZFlag-Dev/bzflag/pull/15814:46
blast007My original motivation for switching to OpenAL was to get rid of the audio popping issue, but I actually fixed that recently.14:48
blast007If we wanted feature parity with our current audio code, we'd need to put a layer before OpenAL, since it doesn't take into account a propigation delay due to distance.  There's also another thing that our audio code does that is interesting, but probably unnecessary. It's possible to hear a sound twice if you hear then sound and then, say, teleport or respawn further from the sound source.  ...14:51
blast007... The sound wave can pass you multiple times, and our code will (in theory) make it so you hear that again.14:51
AgathaWow that's really cool; and I'm surprised I haven't noticed it before15:29
*** FastLizard4 is back16:05
*** SpringTank is back16:14
*** SpringTank is now away: No clients connected to this core right now.16:40
Juestblast007: so it has support for infinite doppler?16:44
*** SpringTank is back16:44
Juesti see, so openal would bring doppler support?16:46
blast007our audio code already has a doppler effect16:46
blast007what do you mean by "infinite doppler"?16:47
Juestah sorry, i misunderstood16:58
Juestsomething like repeated doppler i meant16:58
Juestidk, what you said made me think in doppler16:58
Juestanyways17:05
Juestthe part of hearing the sound again after a respawn is unrealistic17:05
blast007unrealistic how?17:10
*** cods <cods!~fred@tuxee.net> has quit IRC (Ping timeout: 264 seconds)17:11
blast007cuz that's literally how it would work in real if if you could be in two places17:11
*** cods <cods!~fred@tuxee.net> has joined #bzflag17:12
blast007real life if*17:12
Juestohh17:12
Juesti stand corrected17:12
Juestbut what if you hear it first then teleport, you dont hear it again unless it repeats17:12
blast007if you teleport further away, then yes, you could hear it again, because the wave would cross your path again17:14
blast007but in practice, you probably never notice it even if it happens, because the sound wave is moving rather fast (so it might be rare to even happen), the teleporter sound is loud (so it would cover up the sound), and you might not associate that repeated sound with the original anyway17:16
Juestinteresting17:16
Juestoh i see17:16
blast007a sound source doesn't get removed until the wave has left the playing area (or more specifically, until it has traveled 1.414 times the world size)17:20
blast007we could remove that feature and make the sound system more efficient by just removing a sound source immediately after the sound has finished playing17:21
blast007Hmm.. I wonder what happens if a sound source starts playing, and before the wave reaches you, you teleport closer to the sound source.  I don't know if the sound would immediately play, or if you'd just never hear it (because the wave never moved across your current location).17:23
Juestis it too much hassle to keep track where the playhead was so it syncs and starts playing after you teleported?17:31
Juestwell actually, just raise the volume mid-playback in that case17:32
Juestor lower it depending on the case17:32
Juestor move the playhead17:32
Juestas necessary17:32
Juestif you move closer it would be at a later point of the playhead17:32
Juestbecause sound travels17:32
blast007what do you mean by playhead?17:35
Juestthe playback position of the sound17:35
blast007why would we do that?17:35
Juestto adjust accordingly based on the position, assuming the sound travels in distance17:35
blast007I have no idea what you're trying to accomplish17:36
Juestso for example, if you move close from a large distance the sound might've already finished playing at the source but started playing at the original position17:36
Juestand viceversa, teleporting away causes the sound to start playing later depending on the distance17:37
Juestso it would just stop as you teleport and start playing from the beginning when it travelled the distance to the teleport destination17:38
blast007also, the speed of sound doesn't seem to behave as it's documented.  I lowed it to 30, which should be 30 meters per second, but it behaves more like 0.25 meters per second.17:39
*** FastLizard4 is now away: AWAY from keyboard17:40
*** FastLizard4 is now away: GONE - Screen Detached and Disconnected from IRC (I'm probably asleep, at work, or doing something in real life)17:59
*** Sgeo <Sgeo!~Sgeo@user/sgeo> has joined #bzflag20:58

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!