• What are you working on? February 2012
    3,497 replies, posted
  • While working on a puu.sh crawler (unsure if I should GitHub it). I found out that puu.sh allows you to upload html pages. Probably not too big of an issue (in terms of accessing peoples puush.me accounts) seeing as it uses a different domain for uploads. Although it is still bad because now you can't really trust puu.sh links. [url]http://puu.sh/iaGG[/url]
  • Beckmann distribution for specularity is a little sexier than Blinn-Phong [IMG]http://dl.dropbox.com/u/33076954/beckmann.PNG[/IMG] Specular only: [IMG]http://dl.dropbox.com/u/33076954/beckmann_pspec.PNG[/IMG] equation for the interested [IMG]http://upload.wikimedia.org/wikipedia/en/math/5/1/a/51a3b1d34064d543af3683b7ede4bcc4.png[/IMG] Implementation for the bored: [cpp] double ale = acos(dotm(nnorm, t1)); double rough=0.1; double spec_light=pow(M_E, -(tan(ale)*tan(ale))/(rough*rough))/(3.141592*rough*rough*cos(ale)*cos(ale)*cos(ale)*cos(ale)); double ambient_light=ambient; double diffuse_light=drc*(dotm((nlight), nnorm)); double light=ambient_light + diffuse_light + spec_light;[/cpp] where t1 (normally referred to as H) is calculated per frame as: [cpp]v3d t1=(nlight+ncamera)/((nlight+ncamera).magnitude());[/cpp] Edit: Are there code tags specifically for c++ here still? Edit 2: Many thanks to filthy java scum below me
  • Got interrupts working, added an interface for JavaScript to 'listen' on certain interrupts: [img]http://i.imgur.com/2kyOO.png[/img] [img]http://i.imgur.com/qDNFo.png[/img] In this case, I've hooked a JS function up to interrupt 32, which happens to be IRQ 0 - the system timer.
  • Merged in the SDL 2.0 branch. Thanks to Valgrind I noticed I was overflowing the stack with gigantic objects, plus I tracked down that I wasn't setting a variable and instead creating a variable with the same name in a constructor. Feels good to be back after an RSI attack. Also sorry for laughing at the Javascript OS, that's pretty neat.
  • [QUOTE=high;34846566]While working on a puu.sh crawler (unsure if I should GitHub it). I found out that puu.sh allows you to upload html pages. Probably not too big of an issue (in terms of accessing peoples puush.me accounts) seeing as it uses a different domain for uploads. Although it is still bad because now you can't really trust puu.sh links. [url]http://puu.sh/iaGG[/url][/QUOTE] You can upload anything to puush, including videos and executables.
  • [QUOTE=swift and shift;34846104]It lives! [img]http://i.imgur.com/rhX6l.png[/img][/QUOTE] Wow, it's like a BSOD that actually makes sense. This could turn out amazing.
  • [QUOTE=Ortzinator;34844152]Have you guys seen the new Visual Studio interface? [img]http://dl.dropbox.com/u/313489/caps/vs11.png[/img] But seriously... [url]http://blogs.msdn.com/b/visualstudio/archive/2012/02/23/introducing-the-new-developer-experience.aspx[/url][/QUOTE] If I had to come into work and sit down and use that everyday, I would need to be put on zoloft. The dark theme looks half assed.... UGHHHH Can i just upgrade the compiler and keep the UI from 2010?
  • Everyone loves a good Heidrich–Seidel anisotropic distribution, right? Its for modelling specular highlights on objects with small parallel grooves. Or at least, thats how wikipedia tells it [IMG]http://dl.dropbox.com/u/33076954/Heidrich%E2%80%93Seidel%20anisotropic%20distribution.PNG[/IMG]
  • [QUOTE=Icedshot;34847966]Everyone loves a good Heidrich–Seidel anisotropic distribution, right? Its for modelling specular highlights on objects with small parallel grooves. Or at least, thats how wikipedia tells it [IMG]http://dl.dropbox.com/u/33076954/Heidrich%E2%80%93Seidel%20anisotropic%20distribution.PNG[/IMG][/QUOTE] Yeah, that's what it looks like. Like one of those materials that make the high pitched noise when you drag your nail over them.
  • [QUOTE=GranPC;34847702]You can upload anything to puush, including videos and executables.[/QUOTE] Which is fine. Its just you shouldn't serve the html uploads as html pages. That is just asking for abuse/exploitation.
  • [QUOTE=NotMeh;34847981]All I see is shiny soccer balls and a bunch of foreign names.[/QUOTE] You're going to love my Cook–Torrance model. It uses the beckmann distribution, as well as a fresnel term, though not using schlick's approximation because i have no idea how that works, plus a geometric attenuation term for simulation of microfacet self shadowing! You times these all together, then divide by the dot product of the camera with the pixel normal. Want to know more about the geometric attenuation term? Well, i'm afraid i have fuck all idea how it works, so i cant explain it to you [IMG]http://dl.dropbox.com/u/33076954/Cook-torrence-maybe.PNG[/IMG]
  • [QUOTE=high;34848123]Which is fine. Its just you shouldn't serve the html uploads as html pages. That is just asking for abuse/exploitation.[/QUOTE] I remember that norton was complaining about a random puu.sh scraper earlier in this thread, that could maybe be why
  • [QUOTE=nekosune;34848390]I remember that norton was complaining about a random puu.sh scraper earlier in this thread, that could maybe be why[/QUOTE] Yeah, mine, and I told you it was probably trying to display something that wasn't an image as an image.
  • [QUOTE=Capsup;34846382]What kind of techniques are you using for that? I've been wanting to do something like that myself for a while, but I haven't really been able to figure out where to start. Any directions?[/QUOTE] Well right now it just does a simple check for a couple things (respect towards player, morale, etc) then depending on those stats sets a sentence grabbed from a specific array (different arrays for different moods) to a global string. That string is what you see outputted there. It's nice because you can just throw in more sentences whenever. I might break it up further into a beginning, middle, and an end so everything they say is unique, but i'd want to get some other stuff done up before that.
  • [QUOTE=GranPC;34848444]Yeah, mine, and I told you it was probably trying to display something that wasn't an image as an image.[/QUOTE] Oh yeah, I still wonder what that image as not image was, it was taking a lot of cpu.
  • [QUOTE=Ortzinator;34844152]Have you guys seen the new Visual Studio interface? [img]http://dl.dropbox.com/u/313489/caps/vs11.png[/img] But seriously... [url]http://blogs.msdn.com/b/visualstudio/archive/2012/02/23/introducing-the-new-developer-experience.aspx[/url][/QUOTE] This is truly awful design It wouldn't shock me if the next version of Office is literally a white screen with nothing on it and the UI elements are "designed" to appear as you hover over them [quote]We didn't want to distract users from their document by confusing them with the tools they need to write it. To that end we have hidden the entire interface and the user is simply presented with a blank page. We think it looks clean and beautiful and we are going to use it in all our applications going forward. [img]http://i.imgur.com/R7j0s.png[/img] [/quote] [editline]24th February 2012[/editline] also hi im back, havent posted in WAYWO for ages
  • It's true.. Remember how Office 2003 had toolbars and the next version had a ribbon? [IMG]http://new.tinygrab.com/7cfbd51783bedcfc737e17add1dbf444244e0ee7a0.png[/IMG]
  • Oh man, the Ribbon GUI. Call me "afraid of change" or whatever but I hate it as much now as I did when I saw it the first time.
  • My completely original top-down Zombie shooter iPhone App Zombie Blitz got released yesterday! Sales are bit crap so far, however that's what I expected to be honest. [URL="bit.ly/ZombieBlitz"]Link[/URL] for anyone interested, and here's a promo code for someone to use: WNW6PA7K3EYX. Some screenshots: [IMG]http://dappergoat.co.uk/img/zgScreen3.png[/IMG] [IMG]http://dappergoat.co.uk/img/zgScreen4.png[/IMG]
  • How about we just go back to this [IMG]http://new.tinygrab.com/7cfbd51783b18712422e240733788bf3bf30b86b6b.png[/IMG] And this [IMG]http://new.tinygrab.com/7cfbd51783b7f8c896c3333d17c480e7bae77f9490.png[/IMG]
  • [QUOTE=icantread49;34846415]it's funny because he's getting a free playbook and you're not ;)[/QUOTE] don't worry, i'm waiting on an email for my beat-synced maze generator app.
  • [QUOTE=Epic Sandwich;34849675]My completely original top-down Zombie shooter iPhone App Zombie Blitz got released yesterday! Sales are bit crap so far, however that's what I expected to be honest. [URL="bit.ly/ZombieBlitz"]Link[/URL] for anyone interested, and here's a promo code for someone to use: WNW6PA7K3EYX. Some screenshots: [IMG]http://dappergoat.co.uk/img/zgScreen3.png[/IMG] [IMG]http://dappergoat.co.uk/img/zgScreen4.png[/IMG][/QUOTE] Interested in any sales trends you get. With Snabbbo we found that we'd get about 1-5 sales a day, then we made it free for a day we'd get 50,000 downloads in a single day, then back to pay it was back to 1-5 a day again. Obviously Snabbo isn't that fantastic and revolutionary but it seems like making games for iphone is 1% game dev and 99% marketing.
  • [QUOTE=garry;34849960]Interested in any sales trends you get. With Snabbbo we found that we'd get about 1-5 sales a day, then we made it free for a day we'd get 50,000 downloads in a single day, then back to pay it was back to 1-5 a day again. Obviously Snabbo isn't that fantastic and revolutionary but it seems like making games for iphone is 1% game dev and 99% marketing.[/QUOTE] garry did you see this [QUOTE=icantread49;34841760]wanna take my spot this saturday for the trade-off project? i'd rather work on it later on so if you wanna swap, let this serve as my note of agreement to i300[/QUOTE] [editline]24th February 2012[/editline] since you wanna get balls deep this weekend
  • [QUOTE=garry;34849960]Interested in any sales trends you get. With Snabbbo we found that we'd get about 1-5 sales a day, then we made it free for a day we'd get 50,000 downloads in a single day, then back to pay it was back to 1-5 a day again. Obviously Snabbo isn't that fantastic and revolutionary but it seems like making games for iphone is 1% game dev and 99% marketing.[/QUOTE] On day one it got 16 downloads, then yesterday a further 4. Which was pretty disappointing, however I think you're right about the marketing thing, unfortunately I just don't have the time/budget for any big advertising campaigns etc. I think the way to make money in the App Store now is the freemium model; free with In App Purchases. Zombie Blitz actually has a few IAPs in it, so I might consider making it free in the near future just to see what the impact is.
  • I kind of like the ribbon for Office, but it would be terrible in Visual Studio. Leave the development GUI for developers, IE people who are okay with tons of buttons and shit because we know what they do.
  • [img]http://dl.dropbox.com/u/1106779/BugReport.PNG[/img] Best. Bug report. EVER!
  • [QUOTE=Robber;34850177][img]http://dl.dropbox.com/u/1106779/BugReport.PNG[/img] Best. Bug report. EVER![/QUOTE] I think every programmer can relate.