• What are you working on? V7
    2,001 replies, posted
More voxel raytracer pics, a [I]little [/I]more high resolution this time [img]http://www.cubeupload.com/files/e5c400voxeltest2.png[/img]
[QUOTE=ZomBuster;19637328]More voxel raytracer pics, a [I]little [/I]more high resolution this time [/QUOTE] Very nice.
lovely menger sponge you got there.
That is badass zom
[IMG]http://img51.imageshack.us/img51/6043/vectorangle.jpg[/IMG] This is my program. The red dot is the player and the green line is the direction of where the player point his gun and you can use your mouse to point it :P You can even move yuor character with the arrow keys :O awesomeeeeee.
[QUOTE=likesoursugar;19638136][IMG]http://img51.imageshack.us/img51/6043/vectorangle.jpg[/IMG][/QUOTE] That hurts my eyes
[QUOTE=turby;19638169]That hurts my eyes[/QUOTE] I'm just using the lines at the moment too actually see the cordinates. I wont use it later on.
I know it sucks when my state manager's header file is 1023 bytes.
[QUOTE=likesoursugar;19638258]I'm just using the lines at the moment too actually see the cordinates. I wont use it later on.[/QUOTE] use gray so it isn't so much eye rape.
[QUOTE=high;19639419]use gray so it isn't so much eye rape.[/QUOTE] much better now.
[QUOTE=ZomBuster;19637328]More voxel raytracer pics, a [I]little [/I]more high resolution this time *images*[/QUOTE] Wow, nice. Do you mind posting the intersection / AO code?
[QUOTE=s0ul0r;19642234]Wow, nice. Do you mind posting the intersection / AO code?[/QUOTE] It just samples along the ray untill it finds a filled square. Then it shoots a bunch of rays in random directions and does the same, and calculates the light depending on the amount of rays that either hit the bounding box or hit the maximum distance.
[QUOTE=ZomBuster;19643114]It just samples along the ray untill it finds a filled square. Then it shoots a bunch of rays in random directions and does the same, and calculates the light depending on the amount of rays that either hit the bounding box or hit the maximum distance.[/QUOTE] What do you mean with sampling along the ray? Does it check every few units if it's inside a square? That's a [I]lot[/I] slower than calculating the intersections (if any) with every square.
debugging your phrasing
Attempting to make a program that creates a hotkey that when pressed takes a picture of the whole screen, or active window and uploads it to my website, then returns the URL to that image.. But http headers and sockets in C++ make me sad.
[QUOTE=Robber;19643221]What do you mean with samples along the ray? It checks every few units if it's inside a square? That's a [I]lot[/I] slower than calculating the intersection (if any) with every square.[/QUOTE] I mean it samples the color at the points,it´s an RGBA array. So it also works with transparent stuff,altough I haven´t done the rendering for that yet.
[QUOTE=Dr Magnusson;19643398]Attempting to make a program that creates a hotkey that when pressed takes a picture of the whole screen, or active window and uploads it to my website, then returns the URL to that image.. But http headers and sockets in C++ make me sad.[/QUOTE] I'd just use curl tbh
I like, basic c++. Its like just java and php. [code] #include <iostream> #include <string> using namespace std; int main() { string test; cout << "Hello!" << endl; cout << "May I ask you a question?(y/n) " << endl; cin >> test; cin.get(); if(test == "y" || test == "yes") { cout << "Cool" << endl; cin.get(); } else { cout << "Fuck you" << endl; } cin.get(); } [/code]
[QUOTE=Wipmuck;19644414]I like, basic c++. Its like just java and php. [code] #include <iostream> #include <string> using namespace std; string test; int main() { cout << "Hello!" << endl; cout << "May I ask you an question?(y/n) " << endl; cin >> test; cin.get(); if(test == "y" || test == "yes") { cout << "Cool" << endl; cin.get(); } else { cout << "Fuck you" << endl; } cin.get(); } [/code][/QUOTE] Why the heck is "test" a global variable? :v: (And it's "[I]a[/I] question")
Hey, i started yesterday. I finally got time to use that website.
nvm.
yess, finally got a decent menu system in. Now I can add buttons/sliders and stuff that control game options without having random functions for each one: [IMG]http://i163.photobucket.com/albums/t315/novemberdobby/menuopts.png[/IMG] and some buttons have videos attached: [IMG]http://i163.photobucket.com/albums/t315/novemberdobby/menuvid.png[/IMG] Now I think it's time to do some refactoring, you wouldn't believe how many lines my draw function is :haw: edit: [IMG]http://i163.photobucket.com/albums/t315/novemberdobby/slideme.png[/IMG]
My languages "compiler" works! :biggrin: It's using Java's serialization feature to save the compiled code. [code]var=3 var2=10 start: print var var++ if var>var2 jump end jump start end:[/code] Output: [code]3 4 5 6 7 8 9 10[/code] It's still missing some important features like functions(easy-medium), different comparison operators (easy), calculating (hard), hard coded values so I wouldn't have to make var2 (medium, but I have to change tons of shit to make the implementation less ugly, so: hard)
Does anyone know a way to make a DirectX overlay using C#? I only seem to find unmanaged ways to do it.
[QUOTE=garry;19644004]I'd just use curl tbh[/QUOTE] That completely ruins the fun of programming for me. I would never learn anything if I just used pre-built libraries for everything more advanced than printing "Hello World"
[QUOTE=Dr Magnusson;19645216]That completely ruins the fun of programming for me. I would never learn anything if I just used pre-built libraries for everything more advanced than printing "Hello World"[/QUOTE] Oh fuck, not this argument again!
[QUOTE=Dr Magnusson;19645216]That completely ruins the fun of programming for me. I would never learn anything if I just used pre-built libraries for everything more advanced than printing "Hello World"[/QUOTE] Not sure if you're learning much making a screenshot uploader.
[QUOTE=honeybuns;19645532]Not sure if you're learning much making a screenshot uploader.[/QUOTE] Start out small, and move up from there bro.
[QUOTE=Dr Magnusson;19645216]That completely ruins the fun of programming for me. I would never learn anything if I just used pre-built libraries for everything more advanced than printing "Hello World"[/QUOTE] I already learnt that shit though, and learnt to just use curl. Have fun though!
Started work on a proper drum machine / sequencer for Android with support for Android 2.x multitouch. Finished first interface design and wrote the render and general application base. Now working on making the buttons work. First pic: [img]http://filebox.me/files/ma3ni5t1v_beatPadOne.jpg[/img]
Sorry, you need to Log In to post a reply to this thread.