• What Are You Working On? April 2015
    1,741 replies, posted
[QUOTE=Ken Chan;47462611]Update on my VConsole for Source 1: Switched to use [b]C++'s ListView[/b] for better presentation, sadly it doesn't support per-item coloring :/[/QUOTE] Huh?
I think he meant .NET's Framework's ListView, and he's writing it in C++. [editline]5th April 2015[/editline] Also, I'm fairly certain, [url=http://stackoverflow.com/questions/3400146/how-do-i-make-the-items-in-a-listview-a-different-color]you can change the individual item's ForeColor property,[/url] Ken. Just retrieve the appropriate constructs in C++, as the example shown is in C#.
Finally managed to make a good .obj file importer to OpenGL. As far as I can see, it loads it fully working with optimized element buffers. [img]https://dl.dropboxusercontent.com/u/99717/OpenGL/CorrectTextureLoading.jpg[/img] Elements: 4467 vertices: 4031 Without optimized element buffers, there would be 4467 * 3 = 13401 vertices. Obligatory video of 1000 robots spinning: (Still at 60 fps) [vid]https://dl.dropboxusercontent.com/u/99717/OpenGL/1000RobotsSpinning.webm[/vid]
[QUOTE=Syntox;47462668]Hi facepunch, I did an LED thing for my RPi [vid]http://a.pomf.se/ufefuz.webm[/vid] The code is an absolute mess but I'll try my best to make it presentable :v: The song is [URL="https://www.youtube.com/watch?v=MGKFLGrmjfw"]C2C - Down The Road[/URL] for the curious[/QUOTE] How do you do this sort of stuff? What should I search online to get tutorials about things like this?
[QUOTE=BoowmanTech;47463511]How do you do this sort of stuff? What should I search online to get tutorials about things like this?[/QUOTE] Retrieve an FFT representation of the audio channel data or retrieve loudness data, and then translate that to a series of LEDs, illuminating more as your feedback values increase. Simple audio visualization stuff. I remember playing around with this a few years ago when I wrote lbass, a native Lua module for LÖVE. [img_thumb]http://i.imgur.com/TdXo1.png[/img_thumb] [editline]5th April 2015[/editline] I eventually did take that driving test.
[QUOTE=andrewmcwatters;47464041]Retrieve an FFT representation of the audio channel data or retrieve loudness data, and then translate that to a series of LEDs, illuminating more as your feedback values increase. Simple audio visualization stuff. I remember playing around with this a few years ago when I wrote lbass, a native Lua module for LÖVE. [img_thumb]http://i.imgur.com/TdXo1.png[/img_thumb] [editline]5th April 2015[/editline] I eventually did take that driving test.[/QUOTE] what [img]http://i.imgur.com/4mNsd5M.png[/img]
i think this was before or around fpp? [editline]5th April 2015[/editline] three years is a lot of time, this was back when bukkit was cool [img_thumb]http://i.imgur.com/Y5QZL.png[/img_thumb] stgn was still around [img_thumb]http://i.imgur.com/pdMSA.png[/img_thumb] [img_thumb]http://i.imgur.com/pl33C.jpg[/img_thumb] [img_thumb]http://i.imgur.com/jTxBv.jpg[/img_thumb] i was working with source still [img_thumb]http://i.imgur.com/7lugE.jpg[/img_thumb] this was before tom was popular and getting retweeted by skrillex [img_thumb]http://i.imgur.com/TZf2J.jpg[/img_thumb] gran pc, luastoned, and i were still the lua mafia and doing cool things with the facepunch lua sdk, and doing stuff for waywo [img_thumb]http://i.imgur.com/cbBvr.png[/img_thumb] [img_thumb]http://i.imgur.com/cv3NP.png[/img_thumb] [img_thumb]http://i.imgur.com/bK3RZ.png[/img_thumb] that facemark was a thing for a while, and that spread out to lmao pics [img_thumb]http://i.imgur.com/kY3G0.png[/img_thumb] overv and party were still trying to create a facepunch app lol [img_thumb]http://i.imgur.com/P0ur0.png[/img_thumb] i think three years ago i was still working on hl2sb, too, before steam changed its underlying steamapp mounting and moved over to steampipe, greatly diminishing my desire to work with source, but still before source sdk 2013 came out [img_thumb]http://i.imgur.com/TwqXP.jpg[/img_thumb] remember that spawn menu? that was gonna be cool garry got mad at the progress i was making and closed my thread [img_thumb]http://i.imgur.com/oin01.png[/img_thumb] rick was working on some cool game, but we never got to see where that went [img_thumb]http://i.imgur.com/4QzQB.png[/img_thumb] a lot of other stuff happened, too knight game ii was goty, we heard the last from kopimi, this was one of the final years hentie was a regular poster and before(?) he headed off to apple it was after hezzy tried to steal customers from brohoster, and when elpishost was taking some of the place of the early minecraft hosting community i bet only a fraction of the people here remember this stuff waywo moves in generations, only a small amount have stuck around for roughly the last half decade or so? i think we occasionally get some people who trickle in from the gmod community, wanting to grow as developers, sorta like how things have always been anyway sorry for the history lesson, but that was only one particular year i guess man think of all the things that have gone on since the beginning of waywo [editline]5th April 2015[/editline] excuse the typos
We need highlights from all threads for v100 Someone get started [editline]6th April 2015[/editline] Holy shit never mind, this is only v54 - it'd take nearly 4 years of monthlies to get to v100 [editline]6th April 2015[/editline] How about v64, that's a nice number right? [editline]6th April 2015[/editline] Which will be feb 2016
[QUOTE=BoowmanTech;47463511]How do you do this sort of stuff? What should I search online to get tutorials about things like this?[/QUOTE] The basic idea is getting music data in chunks, running it through an [URL="http://en.wikipedia.org/wiki/Fast_Fourier_transform"]FFT[/URL] implementation(I recommend not spending lots of time implementing your own, use [URL="http://kissfft.sourceforge.net/"]kissFFT[/URL] or [URL="http://docs.scipy.org/doc/numpy/reference/routines.fft.html"]numpy.fft[/URL] instead for example), run some sort of [URL="http://en.wikipedia.org/wiki/Window_function"]window[/URL] function on the data, sort the frequencies into levels, and then do some power spectrum math. After that you can get all creative on how you want to visualize the levels. I struggled with finding any tutorials, but I found looking at others implementations helped a lot in understanding the steps involved. I recommend looking into the code over at [URL="https://bitbucket.org/togiles/lightshowpi"]LightshowPi[/URL], more spesifically the [I]synchronized_lights.py[/I] and [I] fft.py[/I] files This [URL="http://dsp.stackexchange.com/questions/14183/how-to-analyze-audio-input-spectrum-correctly/14186#14186"]stackexchange[/URL] question might also help you. Hope it helps :v:
[QUOTE=andrewmcwatters;47464132]words[/QUOTE] I believe I've been around since the get-go and I don't remember most of that stuff, although I did take a hiatus of sorts for a few years. What year was this?
2012, later events creeping into 2013 it's a drop the the pool of everything that's happened here, and some of what i mentioned implies you were following other aspects of fp's surrounding communities some of the people i mentioned were regulars at some point in time, but no longer are, too
[QUOTE=Syntox;47464894]The basic idea is getting music data in chunks, running it through an [URL="http://en.wikipedia.org/wiki/Fast_Fourier_transform"]FFT[/URL] implementation(I recommend not spending lots of time implementing your own, use [URL="http://kissfft.sourceforge.net/"]kissFFT[/URL] or [URL="http://docs.scipy.org/doc/numpy/reference/routines.fft.html"]numpy.fft[/URL] instead for example), run some sort of [URL="http://en.wikipedia.org/wiki/Window_function"]window[/URL] function on the data, sort the frequencies into levels, and then do some power spectrum math. After that you can get all creative on how you want to visualize the levels. I struggled with finding any tutorials, but I found looking at others implementations helped a lot in understanding the steps involved. I recommend looking into the code over at [URL="https://bitbucket.org/togiles/lightshowpi"]LightshowPi[/URL], more spesifically the [I]synchronized_lights.py[/I] and [I] fft.py[/I] files This [URL="http://dsp.stackexchange.com/questions/14183/how-to-analyze-audio-input-spectrum-correctly/14186#14186"]stackexchange[/URL] question might also help you. Hope it helps :v:[/QUOTE] The thing is I never looked at tutorials or anything related to this kind of stuff. I've only programmed in Unity using C# so I never tried something like that. What I was looking for is a name of this type of work so I know what to look for not this specifically. I know someone posted something similar but he was using his keyboards lights :D I am just wondering what exactly this is and if I were to look at tutorials what should I look for.
Me and Ziks have been working on vehicles this weekend. [vid]http://files.facepunch.com/layla/2015/April/06/2015-04-06_02-37-41.mp4[/vid] Still need to tweak the handling a lot.
I've realized now that sponza should not take 3 minutes to load by anyone's estimate. I think I'm caving in and using this : [url]https://github.com/syoyo/tinyobjloader[/url] which loads sponza in less than a second. The only thing left for me is to pack the data to be interlaced and generate the tangents and bitangents. Which seems like a lot of work, so maybe I should change my own loader to use maps instead.
[QUOTE=andrewmcwatters;47464132] i think three years ago i was still working on hl2sb, too, before steam changed its underlying steamapp mounting and moved over to steampipe, greatly diminishing my desire to work with source, but still before source sdk 2013 came out [img_thumb]http://i.imgur.com/TwqXP.jpg[/img_thumb] remember that spawn menu? that was gonna be cool garry got mad at the progress i was making and closed my thread [img_thumb]http://i.imgur.com/oin01.png[/img_thumb] [/QUOTE] Woah wait what is that? Some game before garry's mod?
Added hinges to doors so they swing about. [vid]http://files.facepunch.com/layla/2015/April/06/2015-04-06_04-32-12.mp4[/vid]
[QUOTE=Fourier;47465803]Woah wait what is that? Some game before garry's mod?[/QUOTE] [url]https://code.google.com/p/hl2sb/[/url]
[QUOTE=layla;47465878]Added hinges to doors so they swing about. SAN ANDREAS UNITY DOOR HINGE VIDEO [/QUOTE] I swear to god if you guys end up making a playable half-remake of San Andreas in Unity I will literally eat a CD containing a txt file of everything bad I've said about Facepunch, Unity, and coding in general. [sp]Edit: dude berkin shut the hell up who fucking told you[/sp]
Plot twist: MilkBiscuit is a sentient CD drive.
[QUOTE=MilkBiscuit;47465969]I swear to god if you guys end up making a playable half-remake of San Andreas in Unity I will literally eat a CD containing a txt file of everything bad I've said about Facepunch, Unity, and coding in general.[/QUOTE] We have no plans other than just having fun coding on the weekend, that's all this is. Source is here [url]https://github.com/Metapyziks/SanAndreasUnity[/url]
More progress on my mp game: Gameplay video with my friend from the other day: [hd]http://www.youtube.com/watch?v=o5XJKyUItTE[/hd] Working on usable items. Right now there are only 2 items, night vision and the boombox thing and they spawn randomly around the map. Now that I have the base for them done I can start adding more: [vid]http://a.pomf.se/pctckk.mp4[/vid]
[QUOTE=layla;47465386]Me and Ziks have been working on vehicles this weekend. Still need to tweak the handling a lot.[/QUOTE] Wow, your version of Source has come on a lot since I was last here!
[QUOTE=Darkwater124;47464795]We need highlights from all threads for v100 Someone get started [editline]6th April 2015[/editline] Holy shit never mind, this is only v54 - it'd take nearly 4 years of monthlies to get to v100 [editline]6th April 2015[/editline] How about v64, that's a nice number right? [editline]6th April 2015[/editline] Which will be feb 2016[/QUOTE] Luckily we skip Februarys.
I found Jon Skeet's Twitter account and saw him mention this (by name. There may be a better recording.): [video=vimeo;68320506]http://vimeo.com/68320506[/video] I'm a bit tempted to make a SkeetLinq library now :v: (I'd make the unary + cache the sequence though, his use is a bit too far on the "actually not useful" side.)
[QUOTE=layla;47465386]Me and Ziks have been working on vehicles this weekend. Still need to tweak the handling a lot.[/QUOTE] The car might be too light, but not sure.
[VID]https://a.pomf.se/mtlopz.webm[/VID] does anyone know a cute font?
[QUOTE=BoowmanTech;47464977]The thing is I never looked at tutorials or anything related to this kind of stuff. I've only programmed in Unity using C# so I never tried something like that. What I was looking for is a name of this type of work so I know what to look for not this specifically. I know someone posted something similar but he was using his keyboards lights :D I am just wondering what exactly this is and if I were to look at tutorials what should I look for.[/QUOTE] The work would go under [I]"music visualization", "spectrum visualization" or "spectrum analyzer"[/I] or something along those lines. In Unity you could use [URL="http://docs.unity3d.com/ScriptReference/AudioSource.GetSpectrumData.html"]AudioSource.GetSpectrumData[/URL], which would do most of the calculations for you if I'm correct
[QUOTE=Tamschi;47466960]I found Jon Skeet's Twitter account and saw him mention this (by name. There may be a better recording.): [video=vimeo;68320506]http://vimeo.com/68320506[/video] I'm a bit tempted to make a SkeetLinq library now :v: (I'd make the unary + cache the sequence though, his use is a bit too far on the "actually not useful" side.)[/QUOTE] Am I a bad person if I immediately start thinking how I could use those hacks to do magical things? So far I've only seen the first part with savable await state. It actually seems like an extremely useful thing if you can encapsulate it into something usable. You could actually backtrack to a valid state on some error. That sounds amazing!
Hope I'm not spamming too much/with too little things. But here is some basic lighting and spec highlights. [img]https://dl.dropboxusercontent.com/u/99717/OpenGL/LightAndSpec.png[/img]
[QUOTE=Tamschi;47466960]I found Jon Skeet's Twitter account and saw him mention this (by name. There may be a better recording.): [video=vimeo;68320506]http://vimeo.com/68320506[/video] I'm a bit tempted to make a SkeetLinq library now :v: (I'd make the unary + cache the sequence though, his use is a bit too far on the "actually not useful" side.)[/QUOTE] Hey I was at this talk :D Went to it when I was supposed to do crew stuff because !!!
Sorry, you need to Log In to post a reply to this thread.