• What are you working on? December 2011 Edition
    3,353 replies, posted
[QUOTE=Ziks;33953233]If it doesn't work for you please can you post your card and the highest OpenGL version supported by your drivers.[/QUOTE] Surprisingly it works perfectly on linux, GTX 260. Kudos to you.
[QUOTE=Naelstrom;33955340]Surprisingly it works perfectly on linux, GTX 260. Kudos to you.[/QUOTE] That's a relief, I tried to keep linux in mind while writing but I hadn't had time to test it myself.
[QUOTE=Ziks;33953233][url=http://anyhub.net/file/3EuI-release.7z][img]http://f.anyhub.net/4LAJ[/img][/url] Should be fixed on nVidia cards now. I forgot to write a GL2 version of some shaders so if you have an old card it may not work. If it doesn't work for you please can you post your card and the highest OpenGL version supported by your drivers. [editline]29th December 2011[/editline] There's a known bug when you have a reflective surface crossing another surface, fixing that now.[/QUOTE] Works fine here, Windows 7 x64, ATI Radeon HD5750.
[QUOTE=Ziks;33955098]If it doesn't work for you try this: [url]http://anyhub.net/file/OKM-debug.7z[/url] If it still doesn't work then can you upload the debug.log it generates and send it my way. Thank you everyone who has tested so far, I should note that in the game I'm hoping to use this in you will never get more than like 10 mirrors at a time. [editline]29th December 2011[/editline] Ghost was an old thing that I removed earlier today, forgot to take that text out though. Thanks for spotting it. [editline]29th December 2011[/editline] Happy 0x100'th post[/QUOTE] Black screen. [url]http://pastebin.com/8ggGbk6g[/url] (Same card, nVidia GeForce GT 420M)
[QUOTE=supersnail11;33955495]Black screen. [url]http://pastebin.com/8ggGbk6g[/url] (Same card, nVidia GeForce GT 420M)[/QUOTE] Try this: [url]http://anyhub.net/file/4Red-debug.7z[/url]
[QUOTE=Bang Train;33954881]if() goto: is 1 je vs [code] for() { for() { ... if() { blah = true; break; } } if(blah) break; } [/code] thats 1 jne for the first if 1 register set to true (may involve copying an old register to memory to make room as well) the jmp for break then finally another je if blah is true. so 1 instruction vs 4 instructions (possibly more if no available registers)[/QUOTE] If you need every cycle then you shouldn't be writing C.
I don't know what you're even talking about but could it be for branching reasons?
[img]http://i.imgur.com/wEo6u.png[/img] Really cool. Are you going to make it into a game?
[QUOTE=Bang Train;33954881]if() goto: is 1 je vs [code] for() { for() { ... if() { blah = true; break; } } if(blah) break; } [/code] thats 1 jne for the first if 1 register set to true (may involve copying an old register to memory to make room as well) the jmp for break then finally another je if blah is true. so 1 instruction vs 4 instructions (possibly more if no available registers)[/QUOTE] Optimizing C/C++ on such a small scale is silly as the optimizer will do a way better job when compiling.
[QUOTE=Jookia;33955860]If you need every cycle then you shouldn't be writing C.[/QUOTE] Sure, because bearing in mind small optimisations while writing code is only something you should only be doing in asm
[img]http://i55.tinypic.com/fp2qud.png[/img]
[QUOTE=Ziks;33955822]Try this: [url]http://anyhub.net/file/4Red-debug.7z[/url][/QUOTE] It works, but there's no text on the screen. [editline]29th December 2011[/editline] [url]http://pastebin.com/6Sgnr3Ew[/url]
[QUOTE=supersnail11;33956028]It works, but there's no text on the screen. [editline]29th December 2011[/editline] [url]http://pastebin.com/6Sgnr3Ew[/url][/QUOTE] Fingers crossed: [url]http://anyhub.net/file/4sXT-debug.7z[/url] And thank you for testing this for me, you've been a great help. [editline]29th December 2011[/editline] [QUOTE=Vampired;33955921][img]http://i.imgur.com/wEo6u.png[/img] Really cool. Are you going to make it into a game?[/QUOTE] Thank you. I'm working on this with a friend who thought of a game based on light, although I think he wants to keep the game idea secret for now so I can't say much more. You can guess that it will be a puzzle game.
[QUOTE=esalaka;33955886]I don't know what you're even talking about but could it be for branching reasons?[/QUOTE] Pretty much this: [QUOTE=Icedshot;33955937]Sure, because bearing in mind small optimisations while writing code is only something you should only be doing in asm[/QUOTE]
[QUOTE=Ziks;33956127]Fingers crossed: [url]http://anyhub.net/file/4sXT-debug.7z[/url] And thank you for testing this for me, you've been a great help. [editline]29th December 2011[/editline] Thank you. I'm working on this with a friend who thought of a game based on light, although I think he wants to keep the game idea secret for now so I can't say much more. You can guess that it will be a puzzle game.[/QUOTE] Success!
[video=youtube;DZ5nPUYrDO4]http://www.youtube.com/watch?v=DZ5nPUYrDO4[/video] I added a bunch of stuff like different signs for math. and a beep noise when you get a problem wrong which weren't captured for some reason.
[QUOTE=Icedshot;33955937]Sure, because bearing in mind small optimisations while writing code is only something you should only be doing in asm[/QUOTE] Unless the Linux kernel needs to break a nested loop a million times per second, it could do just fine with if statements. Performance isn't the reason goto is used there. Linus just thinks that it doesn't harm the flow if used right, and I agree with that.
[QUOTE=Ziks;33955374]That's a relief, I tried to keep linux in mind while writing but I hadn't had time to test it myself.[/QUOTE] Just a tip, sometimes you'll get weird context errors in linux/OSX unless you include OpenTK.dll.config, as it maps opengl32.dll to libGL.so or the OSX equivalent library.
I have no idea how to skin these scrollbars. :/ [IMG]http://img405.imageshack.us/img405/173/audiophilia201112291811.png[/IMG]
Anyone know a good tutorial for opengl using sfml2?
[QUOTE=Exosel;33958597]Anyone know a good tutorial for opengl using sfml2?[/QUOTE] Most old 1.6 tutorials will work, with some slight adjustments.
[QUOTE=thisBrad;33957636]I have no idea how to skin these scrollbars. :/ [IMG]http://img405.imageshack.us/img405/173/audiophilia201112291811.png[/IMG][/QUOTE] the volume bar, but vertical.
[QUOTE=Ehmmett;33958845]the volume bar, but vertical.[/QUOTE] I think he means he can't work out how to implement the skin style for the scrollbars, not what skin they should have.
An inventory that i made over the night. [img]http://i1235.photobucket.com/albums/ff439/ertyxdh00/RPG2011-12-3002-56-27-86.gif[/img]
[QUOTE=RebelSlug;33959005]An inventory that i made over the night. [url]http://i1235.photobucket.com/albums/ff439/ertyxdh00/RPG2011-12-3002-56-27-86.gif[/url][/QUOTE] [img]http://i53.tinypic.com/5yspvt.png[/img] "Hmpfmpfffnnnpf" - That guy with a red shirt
Regarding that Super Meat Boy database debacle, how was it even found that it was connecting to a database?
I got bored so I decided to start coding a text-based adventure game in Batch. [IMG]http://i942.photobucket.com/albums/ad265/1996Langley/tbag.png[/IMG]
probably by looking at imports
[QUOTE=Ehmmett;33959088]Regarding that Super Meat Boy database debacle, how was it even found that it was connecting to a database?[/QUOTE] swift and shift (i.e. turb) is insane and probably went looking for it somewhere. or maybe he was monitoring outgoing network connections and it appeared there???
Ah, I had assumed it was something like that. [editline]29th December 2011[/editline] thanks
Sorry, you need to Log In to post a reply to this thread.