• Programming - WAYWO - March 2013
    1,001 replies, posted
[QUOTE=Dr. Evilcop;39861936][video=youtube;2eXniAsrlfY]http://www.youtube.com/watch?v=2eXniAsrlfY[/video] Added the ability to define the collision box and position relevant to the object. For objects that do this and are not defined as above the player by default, it dynamically decides whether to render above or below the player.[/QUOTE] You just made me realize a massive flaw in the engine I am working on, thanks. Time to write my collision/object classes again.
I've got some basic COLLADA conversion working, just got TriangleSets working, need to implement the rest of the primitives.
[QUOTE=laylay;39861586]help i spawned too many [IMG]https://dl.dropbox.com/u/99765/fortblox/fortblox_100313_044155.png[/IMG] Should be able to handle this >60fps but I'm doing everything so sloppy right now. I should probably convert dr kleiner or something for the player model. Would be more fun to look at.[/QUOTE] Stream some more!
I am not surprised that this does/doesn't work based on the php version. function GetVal(&$arr, $ret = null) { return isset($arr) ? $arr : $ret; } GetVal($array['key']); //Depending on the version, Php will touch '$array['key']' setting it to null before passing it. I may try mono asp.net since I have enough trouble finding a decent host let alone a windows host.
[QUOTE=laylay;39861586][t]https://dl.dropbox.com/u/99765/fortblox/fortblox_100313_044155.png[/t]][/QUOTE] It's very impressive that you managed to get source to handle that many NPCs. Do you have access to the l4d branch or something?
Must be NextBot.
moo [img]https://pbs.twimg.com/media/BE_juyhCcAMYd1v.jpg:large[/img] [editline]10th March 2013[/editline] fuck YES [img]https://pbs.twimg.com/media/BE_zjQ5CEAAXRyH.jpg:large[/img]
[QUOTE=high;39863134]I am not surprised that this does/doesn't work based on the php version. function GetVal(&$arr, $ret = null) { return isset($arr) ? $arr : $ret; } GetVal($array['key']); //Depending on the version, Php will touch '$array['key']' setting it to null before passing it. I may try mono asp.net since I have enough trouble finding a decent host let alone a windows host.[/QUOTE] The correct solution is to switch to Ruby
Following [url=http://www.kathekonta.com/rlguide/index.html]this[/url] easy tutorial, I am making my first game ever. [img]http://filesmelt.com/dl/aroguelike1.jpg[/img] It's a roguelike. This is super fun!
Getting there [img]http://i.imgur.com/fctn8EZ.png[/img] Need to work on the enemy AI, at the moment their priority is to kill me so they will just smash through asteroids to try and get to me, killing themselves
Hey WAYWO, it's been a while since I've posted here. [url=http://q3k.org/switchboard/main.html]Here[/url]'s a stupid string/cable simulation thing in JS+Canvas, and [url=http://code.hackerspace.pl/q3k/switchboard/tree/]here[/url]'s its source code.
Tried to make something like the PS3 Homescreen effect with the little particles Without effect: [video=youtube;zdDmIiPLyhg]http://www.youtube.com/watch?v=zdDmIiPLyhg[/video] Final effect: [video=youtube;h19DT0_zgws]http://www.youtube.com/watch?v=h19DT0_zgws[/video]
[QUOTE=q3k;39864836]Hey WAYWO, it's been a while since I've posted here. [url=http://q3k.org/switchboard/main.html]Here[/url]'s a stupid string/cable simulation thing in JS+Canvas, and [url=http://code.hackerspace.pl/q3k/switchboard/tree/]here[/url]'s its source code.[/QUOTE] That's pretty cool, doesn't detect mouse movement / dragging in chrome though.
I'm on a roll today [media]http://www.youtube.com/watch?v=LP9ZBUpYQIo[/media]
[QUOTE=q3k;39864836]Hey WAYWO, it's been a while since I've posted here. [url=http://q3k.org/switchboard/main.html]Here[/url]'s a stupid string/cable simulation thing in JS+Canvas, and [url=http://code.hackerspace.pl/q3k/switchboard/tree/]here[/url]'s its source code.[/QUOTE] I played with it a bit and at one point I flung it so hard it went off screen :O
[QUOTE=FlashStock;39865273]That's pretty cool, doesn't detect mouse movement / dragging in chrome though.[/QUOTE] Works fine here
[QUOTE=Richy19;39865356]Works fine here[/QUOTE] Doesn't work for me.
OpenGL resource allocation in another thread, probably not the best assignment as first multithreading project. Anyone having experience with that?
[QUOTE=WeltEnSTurm;39865378]OpenGL resource allocation in another thread, probably not the best assignment as first multithreading project. Anyone having experience with that?[/QUOTE] I've worked with it, its a complete pain in the ass and the documentation you can find for it is mostly straight up wrong and will crash [editline]10th March 2013[/editline] I dont exactly remember exactly what I was having issues with, but basicaly you just call [code]wglCreateContextAttribsARB(window DC, original RC, NULL);[/code] to get a new shared context for each thread, make that active, then you must create a texture within the context you want to load the data from, otherwise it'll just straight out crash (you can use it from any other shared context fine though, just dont upload any data)
[QUOTE=FlashStock;39865273]That's pretty cool, doesn't detect mouse movement / dragging in chrome though.[/QUOTE] Works on Cromium for me.
[QUOTE=FlashStock;39865273]That's pretty cool, doesn't detect mouse movement / dragging in chrome though.[/QUOTE] Doesn't work on Opera. *pause for gasp of surprise*
[QUOTE=FlashStock;39865273]That's pretty cool, doesn't detect mouse movement / dragging in chrome though.[/QUOTE] [QUOTE=Richy19;39865356]Works fine here[/QUOTE] [QUOTE=mobrockers2;39865374]Doesn't work for me.[/QUOTE] [QUOTE=krix;39865586]Works on Cromium for me.[/QUOTE] [QUOTE=BlkDucky;39865672]Doesn't work on Opera. *pause for gasp of surprise*[/QUOTE] gosh darnit webdev is hard
Fuckin' projection matrix. What should I do now? I am trying to learn the ins and outs of 2d development with opengl 3+ ( not ready to move onto 3d just yet ). What should I do to test my current knowledge on this matrix transformation stuff? [IMG]http://i.imgur.com/KFc9tJx.png[/IMG]
Works fine on Netscape.
Worked some more on my SSAO and obj reading this weekend. Before my obj parser just had some basic functionality. I know the obj format already is a very basic format but imagine my parser then. Didn't have support for groups and such. So I gave myself a challenge which was to load the sponza model. It wasn't that hard, it just took time since I had to rearrange a lot of stuff but it was worth it in the end. [img]http://oi46.tinypic.com/2uo1l61.jpg[/img] [img]http://oi49.tinypic.com/2qsq96v.jpg[/img] Still some minor things to fix. My obj parser doesn't always read materials properly. If you got a good eye you can see that the flower pots use the same material as the flowers. The SSAO is improved but there are still things to tweak. I guess it looks "ok" but it could look a lot better.
[QUOTE=q3k;39865771]gosh darnit webdev is hard[/QUOTE] Remove the margin on body and it works fine
I have successfully rendered a single texture using an entity system. Am I cool yet? [t]http://i.imgur.com/dS9n1Qy.png[/t] I'm using [URL="https://github.com/thelinuxlich/artemis_CSharp"]Artemis (C# port)[/URL] if anyone else wants to check out entity systems.
[QUOTE=Tobba;39865478]I've worked with it, its a complete pain in the ass and the documentation you can find for it is mostly straight up wrong and will crash [editline]10th March 2013[/editline] I dont exactly remember exactly what I was having issues with, but basicaly you just call [code]wglCreateContextAttribsARB(window DC, original RC, NULL);[/code] to get a new shared context for each thread, make that active, then you must create a texture within the context you want to load the data from, otherwise it'll just straight out crash (you can use it from any other shared context fine though, just dont upload any data)[/QUOTE] What can and can't I do? I think somewhere was mentioned VAOs aren't shared
Anyone know if GLSL acts upon offscreen vertices/pixels?
Two years ago I was working through Project Euler (in order) and got stuck on #44. I just spent a few hours thinking through it with my girlfriend and we came up with a Ruby script that solves it in 0.4 seconds. Feels good.
Sorry, you need to Log In to post a reply to this thread.