1. Post #2241
    calzoneman's Avatar
    February 2008
    460 Posts
    Imgur works fine here, in both Chrome and Firefox, with full reloads.
    Could it somehow be based on if you're currently logged in to an imgur account or not?


    I have no issue with imgur pictures at all. Can see them all perfectly fine. Using Chrome on Windows 7 if it matters.

    Since I'm posting, anyone know why D3DX10CreateEffectFromFile wouldn't return an error message but still be invalid?
    As we already mentioned, imgur is blocking hotlinking by referrer so if for whatever reason, by your actions or your browser's default, your browser is not sending facepunch.com in the Referrer header then the images will be visible.

    As I've also mentioned, it doesn't matter if you can see them, if you want to get feedback or have other people see your images then don't use imgur.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Disagree Disagree x 2 (list)

  2. Post #2242
    Gold Member
    Lexic's Avatar
    March 2009
    6,118 Posts
    Works in a stock install of safari which appears to report referrers correctly.
    Does anyone have one of those image scripts that prints the browser's referer into a png?
    Referer test.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  3. Post #2243
    quality poster
    Dennab
    August 2009
    12,242 Posts
    I have no issue with imgur pictures at all. Can see them all perfectly fine. Using Chrome on Windows 7 if it matters.

    Since I'm posting, anyone know why D3DX10CreateEffectFromFile wouldn't return an error message but still be invalid?
    i might be stating the obvious but if i recall correctly DX functions don't return an actual error, if they fail you need to use something like GetLastError() to check it.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  4. Post #2244
    Gold Member
    darkrei9n's Avatar
    November 2007
    5,139 Posts
    i might be stating the obvious but if i recall correctly DX functions don't return an actual error, if they fail you need to use something like GetLastError() to check it.
    That particular function takes a pointer argument which if there's an error, it writes the error into that argument. Even then it still returns hresult with a value of E_FAIL if you don't provide that argument.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  5. Post #2245
    Gold Member
    Lord Ned's Avatar
    April 2006
    3,702 Posts
    i might be stating the obvious but if i recall correctly DX functions don't return an actual error, if they fail you need to use something like GetLastError() to check it.
    That's either pre-DX10 code or OpenGL related. As of DX10/11 it will return an HRESULT - S_OK, E_INVALIDARG, etc.

    I saw his post in the other thread and don't spot anything too out of the ordinary unfortunately.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  6. Post #2246
    ben1066's Avatar
    August 2009
    960 Posts
    Hm, so I decided to make my own game engine. Anyone used irrKlang before? Looks nice and the license is quite permissive, and the 20 max price license for 65 isn't too shabby...
    Reply With Quote Edit / Delete Windows 8 United Kingdom Show Events

  7. Post #2247
    T3hGamerDK's Avatar
    January 2011
    2,551 Posts
    Hm, so I decided to make my own game engine. Anyone used irrKlang before? Looks nice and the license is quite permissive, and the 20 max price license for 65 isn't too shabby...
    Whats wrong with OpenAL and the like?
    Reply With Quote Edit / Delete Linux Denmark Show Events

  8. Post #2248
    Gold Member
    dvondrake's Avatar
    August 2006
    2,329 Posts
    Hm, so I decided to make my own game engine. Anyone used irrKlang before? Looks nice and the license is quite permissive, and the 20 max price license for 65 isn't too shabby...
    Haven't used it for C++ (is it even for C++?), but its C# implementation was very nice and easy to use. Pretty worth it I'd say, makes things a lot easier on yourself if you're into using middleware like that.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  9. Post #2249
    itty-bitty pretty kitty
    Dennab
    September 2008
    9,837 Posts
    Works in a stock install of safari which appears to report referrers correctly.
    Does anyone have one of those image scripts that prints the browser's referer into a png?
    Referer test.
    Works for me.

    Here's an abuse of an anti-hotlinking system to give you a referrer test.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Informative Informative x 2 (list)

  10. Post #2250
    Gold Member
    Chandler's Avatar
    February 2006
    1,406 Posts
    Whats wrong with OpenAL and the like?
    OpenAL isn't actually an open standard, it's basically just Creative (the most ironically named technology company ever) and one dude who has an open source implementation. There's also one other proprietary driver, but no one uses it. Also:

    * It doesn't allow for anything neat like audio shaders
    * it's spec hasn't been updated since about 2004
    * the implementations out there all have different feature sets (so you have EAX on Creative's and NOT EAX on the OpenAL Soft)
    * it'd probably be worth the money to just buy the right to use someone else's hard work.

    Also, please note that just because it has Open in the name doesn't mean it is actually open. Because that would make sense
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 1Informative Informative x 1 (list)

  11. Post #2251
    Team Hamster
    Mordi's Avatar
    January 2012
    312 Posts
    OpenAL isn't actually an open standard, it's basically just Creative (the most ironically named technology company ever) and one dude who has an open source implementation. There's also one other proprietary driver, but no one uses it. Also:

    * It doesn't allow for anything neat like audio shaders
    * it's spec hasn't been updated since about 2004
    * the implementations out there all have different feature sets (so you have EAX on Creative's and NOT EAX on the OpenAL Soft)
    * it'd probably be worth the money to just buy the right to use someone else's hard work.

    Also, please note that just because it has Open in the name doesn't mean it is actually open. Because that would make sense
    Thanks for the heads-up. I was thinking of using it. It's "games that use openAL"-list seemed impressive. I've used an FMOD-wrapper before, and that was quite wonderful. However, it has some issues when it comes to licensing...
    Reply With Quote Edit / Delete Windows 7 Norway Show Events

  12. Post #2252
    Gold Member

    October 2008
    3,838 Posts
    * It doesn't allow for anything neat like audio shaders
    I'm pretty sure irrKlang doesn't allow audio shaders either, just a bunch of standard effects like reverb, echo, flanger, chorus, etc (which OpenAL also supports)
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  13. Post #2253
    Gold Member
    darkrei9n's Avatar
    November 2007
    5,139 Posts
    That's either pre-DX10 code or OpenGL related. As of DX10/11 it will return an HRESULT - S_OK, E_INVALIDARG, etc.

    I saw his post in the other thread and don't spot anything too out of the ordinary unfortunately.
    I figured it out. My constructor takes a pointer to a ID3D10Device, except I kept making the argument equal to a uninitialized pointer that's part of the class... Boy do I feel stupid

    Nevermind DirectX is still being a dick.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  14. Post #2254
    Eudoxia's Avatar
    July 2009
    6,009 Posts
    Audio shaders? I don't even understand what GLSL is and you can now shade audio?

    I need to catch up with all this stuff.

    Re language: Added basic word macros, like those of C. Most of the basic instructions are done, so I've moved on to implementing function definition and polymorphism.

    I think type polymorphism will be harder. (Like, creating a generic function that acts on some sequential data structure to count the length, even if this data structure is polymorphic and can hold ints or strings or more of itself.)
    Reply With Quote Edit / Delete Windows 7 Uruguay Show Events

  15. Post #2255
    Nigey Nige's Avatar
    June 2010
    1,337 Posts
    Garry should reduce the price on custom titles more often
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Disagree Disagree x 7 (list)

  16. Post #2256
    www.bff-hab.de
    Dennab
    February 2009
    7,832 Posts
    Garry should reduce the price on custom titles more often
    Why, so everyone has a title?
    Reply With Quote Edit / Delete Windows 7 Germany Show Events

  17. Post #2257
    itty-bitty pretty kitty
    Dennab
    September 2008
    9,837 Posts
    Why, so everyone has a title?
    No, so everyone can give everyone else page-stretching titles.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 2Funny Funny x 1 (list)

  18. Post #2258
    Map in a box's Avatar
    July 2009
    7,073 Posts
    Works for me.

    Here's an abuse of an anti-hotlinking system to give you a referrer test.
    That anti hotlinking system is silly, they waste more bandwidth having that big alert than the image uses itself.

    Edited:

    Why, so everyone has a title?
    No, so I have a higher chance to be boostar'd gold membership
    Reply With Quote Edit / Delete Windows XP United States Show Events Dumb x 9Funny x 2Agree x 1Disagree x 1Optimistic x 1 (list)

  19. Post #2259
    Gold Member
    ChristopherB's Avatar
    October 2008
    2,422 Posts
    
    #define PROGRAM "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>."
    
    
    Forgive my ignorance, but what does that line accomplish? Is it an inside joke?
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 4 (list)

  20. Post #2260
    Gold Member
    danharibo's Avatar
    July 2006
    4,433 Posts
    Forgive my ignorance, but what does that line accomplish? Is it an inside joke?
    It's the program to be run, http://en.wikipedia.org/wiki/Brainfuck
    Reply With Quote Edit / Delete Linux United Kingdom Show Events Agree Agree x 3Informative Informative x 1 (list)

  21. Post #2261
    Eudoxia's Avatar
    July 2009
    6,009 Posts
    Forgive my ignorance, but what does that line accomplish? Is it an inside joke?
    It aliases the string that represents the Brainfuck program to be run as 'PROGRAM', so instead of writing

    Code:
    parse("++++++++++...blahblahblah" ,&len)
    he can just write

    Code:
    parse(PROGRAM, &len);
    Reply With Quote Edit / Delete Windows 7 Uruguay Show Events

  22. Post #2262
    www.bff-hab.de
    Dennab
    February 2009
    7,832 Posts
    I once thought about the possibility of creating a brainfuck interpreter out of transistors
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Optimistic Optimistic x 2Useful Useful x 1Funny Funny x 1 (list)

  23. Post #2263
    Gold Member
    Chandler's Avatar
    February 2006
    1,406 Posts
    I'm pretty sure irrKlang doesn't allow audio shaders either, just a bunch of standard effects like reverb, echo, flanger, chorus, etc (which OpenAL also supports)
    Correct. Most APIs offer basic standard effects (OpenAL offers those effects because they are pretty much built into every platform it was originally released for ). However, irrKlang takes the issue of an audio content pipeline out of the equation by just automatically handling a variety of file types, or just not caring. As long as you get it something in a format that it understands, it'll handle the heavy lifting. You need to pipe the raw PCM data into OpenAL, which means you spend a lot of time using someone else's loader or writing your own and then having to worry about resource management.

    Audio shaders? I don't even understand what GLSL is and you can now shade audio?

    I need to catch up with all this stuff.

    Re language: Added basic word macros, like those of C. Most of the basic instructions are done, so I've moved on to implementing function definition and polymorphism.

    I think type polymorphism will be harder. (Like, creating a generic function that acts on some sequential data structure to count the length, even if this data structure is polymorphic and can hold ints or strings or more of itself.)
    I used the phrase shaders to describe something can be (possibly) run on the GPU to modify a buffer of memory. I should have used the phrase audio kernel, as it's a bit more accurate as to what it actually does to the audio (and makes more sense in terms of audio)

    You can do basically anything now with if you use OpenCL. Coincidentally we represent raw audio data (PCM) as floating point values which is kind of what OpenCL is geared towards . Sine waves all up in this. Someone could probably write their own audio/sound layer (OpenSL is taken currently ) spec and just have it piggy back off of OpenCL, and it would most likely blow OpenAL out of the water, assuming you didn't get litigated into oblivion by Creative for coming up with a good innovative idea.
    Reply With Quote Edit / Delete Mac United States Show Events Winner Winner x 1 (list)

  24. Post #2264
    quality poster
    Dennab
    August 2009
    12,242 Posts

    got vaulting working, the camera movement needs to be polished a bit and currently we don't have a vaulting animation but now players can move through a hall full of obstacles without losing momentum
    Reply With Quote Edit / Delete Windows 7 United States Show Events Winner Winner x 8Artistic Artistic x 1 (list)

  25. Post #2265
    RUBY OVERLORD
    swift and shift's Avatar
    November 2011
    2,115 Posts
    Forgive my ignorance, but what does that line accomplish? Is it an inside joke?
    poor man's constants
    Reply With Quote Edit / Delete Mac Australia Show Events Agree Agree x 2 (list)

  26. Post #2266
    Kate Adams
    COBRAa's Avatar
    June 2009
    970 Posts
    Edited:



    Works for me as well. Even manually cleared the cache with (ctrl+shift+del)



    Perhaps it has something to do with what country you're in? (USA here)
    Works fine for me too; I live about ~20min drive away from Garry so it's definitely not location. Possibly the ISP?

    Edited:

    If they blocked referring from FP, then wouldn't they all break and not half?

    Edited:

    Ah, I solved it. They block "www.facepunch.com", but not "facepunch.com".
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Funny Funny x 8Useful Useful x 1Informative Informative x 1 (list)

  27. Post #2267
    itty-bitty pretty kitty
    Dennab
    September 2008
    9,837 Posts
    I once thought about the possibility of creating a brainfuck interpreter out of transistors
    That would be a brainfuck just to build.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Dumb Dumb x 3Disagree Disagree x 1Optimistic Optimistic x 1 (list)

  28. Post #2268
    Icedshot's Avatar
    April 2010
    2,313 Posts
    Works fine for me too; I live about ~20min drive away from Garry so it's definitely not location. Possibly the ISP?

    Edited:

    If they blocked referring from FP, then wouldn't they all break and not half?

    Edited:

    Ah, I solved it. They block "www.facepunch.com", but not "facepunch.com".
    That seems completely moronic
    Reply With Quote Edit / Delete Windows Vista United Kingdom Show Events Agree Agree x 18 (list)

  29. Post #2269
    Gold Member
    Neo Kabuto's Avatar
    November 2008
    5,641 Posts
    They block "www.facepunch.com", but not "facepunch.com".
    Well, at least we have a workaround for now.
    Reply With Quote Edit / Delete United States Show Events

  30. Post #2270
    calzoneman's Avatar
    February 2008
    460 Posts
    That seems completely moronic
    Disabling hotlinking in the first place is completely moronic. It's the perfect way to lose legitimate traffic while wasting bandwidth.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 6 (list)

  31. Post #2271
    Person
    geel9's Avatar
    June 2008
    5,563 Posts
    snip
    Reply With Quote Edit / Delete Windows 8 United States Show Events Dumb Dumb x 5Funny Funny x 2 (list)

  32. Post #2272
    itty-bitty pretty kitty
    Dennab
    September 2008
    9,837 Posts
    nullspin.com
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 4Informative Informative x 1Winner Winner x 1 (list)

  33. Post #2273
    origamiguy's Avatar
    September 2011
    181 Posts
    EDGE: Trigger sequencing

    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Winner Winner x 11Programming King Programming King x 3Zing Zing x 1 (list)

  34. Post #2274
    voodooattack's Avatar
    October 2009
    1,933 Posts


    God damn GVariants.

    If I get this to work I could do pretty much anything flash related there is. Flex remoting, RTMP server/client, etc.

    I also can't sleep, which is evidently productive.

    Edited:

    Actually, it works but it crashes immediately.
    Reply With Quote Edit / Delete Windows 7 Egypt Show Events

  35. Post #2275
    I JERK MY COCK UNTIL IT'S SORE TO MLP RULE 34
    nomad1's Avatar
    July 2010
    3,711 Posts
    Decided to see if Directional Lighting was possible in FPSC without coding a modification.
    This was my result. Guess I have something new to put in my competition entry. Hopefully you can see it correctly... (Sorry if this is the wrong place to put this, Not sure where else to plunk this)



    Now to figure out how to have light bounce!
    Reply With Quote Edit / Delete Windows 7 Canada Show Events Artistic Artistic x 10 (list)

  36. Post #2276
    garry's Avatar
    September 2001
    12,325 Posts
    Looks cool origamiguy
    Reply With Quote Edit / Delete Windows 7 Show Events Agree Agree x 12Friendly Friendly x 2Dumb Dumb x 1 (list)

  37. Post #2277
    Gold Member
    HeroicPillow's Avatar
    July 2009
    4,485 Posts



    Oops

    .. I think i forgot to enable depth testing when I added transparency.
    (They're all at the same height)

    Oh well, at least I know a fair amount about surface shaders now.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  38. Post #2278
    Gold Member
    iPope's Avatar
    October 2008
    1,774 Posts
    So I don't know how many of you have heard of Codecademy.com but it's a site for interactive teacher for programming by having exercises and focusing around making the student code little and often to build up their understanding by experimentation.

    The cool thing is that a few days ago I got an email from them asking if I would like to help produce the courses for the new python section that they are launching. I said yes and I believe the module I am working on is Loops - For, While and List Comprehensions. I'm pretty excited.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Winner Winner x 10 (list)

  39. Post #2279
    Gold Member
    Jookia's Avatar
    July 2007
    6,768 Posts
    I think I burned myself out trying to make the perfect codebase for a game, after 4 years and barely getting anything on the screen.
    Reply With Quote Edit / Delete Linux Australia Show Events Funny Funny x 10Agree Agree x 2Friendly Friendly x 2 (list)

  40. Post #2280
    Gold Member
    Lexic's Avatar
    March 2009
    6,118 Posts
    Works fine for me too; I live about ~20min drive away from Garry so it's definitely not location. Possibly the ISP?

    Edited:

    If they blocked referring from FP, then wouldn't they all break and not half?

    Edited:

    Ah, I solved it. They block "www.facepunch.com", but not "facepunch.com".
    Didn't Garry disable the www. subdomain recently?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Agree Agree x 2Informative Informative x 1 (list)