[QUOTE=gotskilz4u;27648961]Would it be hard to make a program that reads .bsp file's so you don't have to load up Half-Life or GMod to test it.[/QUOTE]
Maybe you could use [url="http://nemesis.thewavelength.net/index.php?c=83"]Nem's BSP Viewer[/url]?
[editline]25th January 2011[/editline]
Screw that, use his other tool "[url="http://nemesis.thewavelength.net/index.php?p=45"]Crafty[/url]" instead.
[QUOTE=Overv;27648923]As he uses git, he could just commit changes and push them when github.com is back online. Or am I missing something?[/QUOTE]
Too many people do not actually know what GIT can do, and use it exactly the same as SVN.
I made you an android icon for your FP app overv:
[img]http://imgkk.com/i/hpwb.png[/img]
Note that I didn't make it look like crap on purpose, it just turned out that way.
I am sitting in class with twenty minutes left to go before my game is due. It is all done, but I want one more voice clip, and can't exactly record it in class. Is anyone willing to record themselves screaming:
"Die mother functor!"
[QUOTE=yakahughes;27649528]I made you an android icon for your FP app overv:
[img_thumb]http://imgkk.com/i/hpwb.png[/img_thumb]
Note that I didn't make it look like crap on purpose, it just turned out that way.[/QUOTE]
It doesn't look crap IMO.
Ive created a release for my Sprite animator program. nothing fancy, but the basics work:
[url]http://spritimator.tk/[/url]
or direct link to download:
[url]http://data.fuskbugg.se/dipdip/Spritmator.exe[/url]
[img]http://data.fuskbugg.se/dipdip/_______________________________________________________________________________________________________Sk%E4rmklipp.PNG[/img]
[QUOTE=HiredK;27642848]My GLSL environment shader mixed with lightmap.
[img_thumb]http://i53.tinypic.com/snewe8.png[/img_thumb][/QUOTE]
Get a better floor. It looks dirty.
300 posts :smug:
[QUOTE=HiredK;27642848]My GLSL environment shader mixed with lightmap.
[img_thumb]http://i53.tinypic.com/snewe8.png[/img_thumb][/QUOTE]
I feel so much hate for you right now...
[QUOTE=DaMoggen;27650506]It looks dirty.[/QUOTE]
Your mother looks dirty :smug:
[QUOTE=HiredK;27642848]My GLSL environment shader mixed with lightmap.
[img_thumb]http://i53.tinypic.com/snewe8.png[/img_thumb][/QUOTE]
Oh hey.
[QUOTE=layla;27541204][url]http://dl.dropbox.com/u/99765/BSP.rar[/url]
Had this gathering dust so I stripped it down and uploaded the source.
[img_thumb]http://dl.dropbox.com/u/99765/61436276.png[/img_thumb][/QUOTE]
How to post code with c++ syntax? I've seen it before in this thread.
I'm working on a roguelike in C++ with ncurses. It's going pretty smoothly so far, but that's probably because I'm basing it off of the beginning of a roguelike I made with pure C++ (no external libraries besides the basics).
[img]http://img13.imageshack.us/img13/3204/82462182.png[/img]
[QUOTE=likesoursugar;27650906]How to post code with c++ syntax? I've seen it before in this thread.[/QUOTE]
[noparse][cpp][/cpp][/noparse]
[QUOTE=layla;27650928][noparse][cpp][/cpp][/noparse][/QUOTE]
Thanks
Some progress with my socket lib
[cpp]
net::server::TCP server;
// Random structures/classes
s_data_1 data_1(1, 2);
s_data_2 data_2(3,4,'a','b',5);
net::Package pak;
pak.Add(&data_1, sizeof(s_data_1));
pak.Add(&data_2, sizeof(s_data_2));
// Init sockets and Host the server
net::InitializeSockets();
server.Host(net::Address(127,0,0,1,55155));
// Listen for Incoming connections
while(server.ListenForClient() == 0);
std::cout << "Client connected!" << std::endl;
// Send the package
int sendStatus = NET_ERROR_NONE;
while(sendStatus != NET_ERROR_CONNLOST)
{
sendStatus = server.Send(&pak);
}
std::cout << "Lost connection!" << std::endl;
net::ShutDownSockets();
[/cpp]
[QUOTE=likesoursugar;27650977]Thanks
Some progress with my socket lib
[cpp]
net::server::TCP server;
// Random structures/classes
s_data_1 data_1(1, 2);
s_data_2 data_2(3,4,'a','b',5);
net::Package pak;
pak.Add(&data_1, sizeof(s_data_1));
pak.Add(&data_2, sizeof(s_data_2));
// Init sockets and Host the server
net::InitializeSockets();
server.Host(net::Address(127,0,0,1,55155));
// Listen for Incoming connections
while(server.ListenForClient() == 0);
std::cout << "Client connected!" << std::endl;
// Send the package
int sendStatus = NET_ERROR_NONE;
while(sendStatus != NET_ERROR_CONNLOST)
{
sendStatus = server.Send(&pak);
}
std::cout << "Lost connection!" << std::endl;
net::ShutDownSockets();
[/cpp][/QUOTE]
This doesn't mean pretty much anything for me:
[code]while(server.ListenForClient() == 0);[/code]
The 0 should be some defined value as well.
[editline]25th January 2011[/editline]
Dangit, just wanted to end the last sentence with semicolon :P
[QUOTE=_Undefined;27650684]Oh hey.[/QUOTE]
Yes, I specified earlier that I used layla's BSP loader source as an exemple.
[QUOTE=sim642;27651111]This doesn't mean pretty much anything for me:
[code]while(server.ListenForClient() == 0);[/code]
The 0 should be some defined value as well.
[editline]25th January 2011[/editline]
Dangit, just wanted to end the last sentence with semicolon :P[/QUOTE]
Same as
[cpp]
bool clientConnected = false;
while(!clientConnected)
{
clientConnected = server.ListenForClient();
}
[/cpp]
Look at my program trying to copy an image with random positioned polygons with random colors and (kind of) random alpha...
My attempt at a simple genetic program. It only adds a new polygon every generation.
[img]http://filesmelt.com/dl/FP5.png[/img]
yyyyeah...
Maybe I should improve it.
[img]http://filesmelt.com/dl/mona.png[/img]
My name is lisa, my head will explode into many colors.
In case this becomes the next waywo fad, I'd like to reserve all rights and collect $5 from each of you, as well as $200 as I pass go
[QUOTE=Maurice;27651678]Look at my program trying to copy an image with random positioned polygons with random colors and (kind of) random alpha...
My attempt at a simple genetic program. It only adds a new polygon every generation.
[img_thumb]http://filesmelt.com/dl/FP5.png[/img_thumb]
yyyyeah...
Maybe I should improve it.
[img_thumb]http://filesmelt.com/dl/mona.png[/img_thumb]
My name is lisa, my head will explode into many colors.[/QUOTE]
That would make an awesome screensaver.
Loop through My Pictures or something and have the original on the left and then the polygon version being built up on the right.
Well after about 400k (It's slow) generations ... it still looks terrible!
[img_thumb]http://filesmelt.com/dl/mona1.png[/img_thumb]
I could try only accepting polygons with an area bigger as something. Maybe it'll be less Acupuncture.
[editline].[/editline]
320k generations, less alpha, minimum size for triangles
[img_thumb]http://filesmelt.com/dl/mona2.png[/img_thumb] and both together: [img_thumb]http://filesmelt.com/dl/mona11.png[/img_thumb]
[QUOTE=yakahughes;27649528]I made you an android icon for your FP app overv:
[img_thumb]http://imgkk.com/i/hpwb.png[/img_thumb]
Note that I didn't make it look like crap on purpose, it just turned out that way.[/QUOTE]
[url=http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html][quote]Icons should feature non-glossy, textured material[/quote][/url]
[QUOTE=Maurice;27653030]Well after about 400k (It's slow) generations ... it still looks terrible!
[img_thumb]http://filesmelt.com/dl/mona1.png[/img_thumb]
I could try only accepting polygons with an area bigger as something. Maybe it'll be less Acupuncture.
[editline].[/editline]
320k generations, less alpha, minimum size for triangles
[img_thumb]http://filesmelt.com/dl/mona2.png[/img_thumb] and both together: [img_thumb]http://filesmelt.com/dl/mona11.png[/img_thumb][/QUOTE]
I'm guessing you're working out the average colour behind the triangle and using the closest match. I think you should try and take into account big colour changes in the image, so you don't get triangles that go across the edge between her skin and dress. Perhaps use the variance of the triangle relative to the image or something.
[QUOTE=Robber;27653481][url=http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html]Icons should feature non-glossy, textured material[/url][/QUOTE]
That first example icon totally has gloss.
Not a lot, sure, but still.
[QUOTE=Robert64;27653488]I'm guessing you're working out the average colour behind the triangle and using the closest match. I think you should try and take into account big colour changes in the image, so you don't get triangles that go across the edge between her skin and dress. Perhaps use the variance of the triangle relative to the image or something.[/QUOTE]
I am drawing the image with the new polygon, compare it pixel by pixel [only every var²th pixel] and give it a rating by adding the r, g and b differences. Then I check if that rating is better (lower) than it was before.
Yes this is a terrible way to do and that's why it takes so long. It does about 300-400 generations every second.
[QUOTE=Maurice;27651678]
In case this becomes the next waywo fad, I'd like to reserve all rights and collect $5 from each of you, as well as $200 as I pass go[/QUOTE]
You wish :smug:
[url]http://www.facepunch.com/threads/1053131-Genetic-algorithm-used-to-build-a-car[/url]
[QUOTE=Dlaor-guy;27653854]You wish :smug:
[url]http://www.facepunch.com/threads/1053131-Genetic-algorithm-used-to-build-a-car[/url][/QUOTE]
Wow that is awesome.
But of course I didn't expect the genetic thing to be new, I just meant that probably (hopefully! Genetic programming is cool) everyone will attempt doing one.
Which one do you like the most?
[img]http://gyazo.com/5865a7ce70fe37d21c2bccba22a5e9ee.png[/img] [img]http://gyazo.com/0bc5815c4a16df0f547e97d6d50be45f.png[/img]
Rate [img]http://static.facepunch.com/fp/ratings/rainbow.png[/img] for the first one and [img]http://static.facepunch.com/fp/ratings/clock.png[/img] for the second one.
[QUOTE=Overv;27654422]Which one do you like the most?
[img_thumb]http://gyazo.com/f26aa19d9c39d0f10808a09c1cabc073.png[/img_thumb] [img_thumb]http://gyazo.com/488ee97690571105c7639d3222aeb05a.png[/img_thumb]
[i](The first one looks retarded because of the simulator screen density, it looks normal on a real device.)[/i]
Rate [img_thumb]http://static.facepunch.com/fp/ratings/rainbow.png[/img_thumb] for the first one and [img_thumb]http://static.facepunch.com/fp/ratings/clock.png[/img_thumb] for the second one.[/QUOTE]
Gimme a sec pal
[QUOTE=Maurice;27653030]Well after about 400k (It's slow) generations ... it still looks terrible!
[img_thumb]http://filesmelt.com/dl/mona1.png[/img_thumb]
I could try only accepting polygons with an area bigger as something. Maybe it'll be less Acupuncture.
[editline].[/editline]
320k generations, less alpha, minimum size for triangles
[img_thumb]http://filesmelt.com/dl/mona2.png[/img_thumb] and both together: [img_thumb]http://filesmelt.com/dl/mona11.png[/img_thumb][/QUOTE]
Reminds me of [url=http://stackoverflow.com/q/891643/13395]this[/url].
[QUOTE=Overv;27654422]Which one do you like the most?
[img_thumb]http://gyazo.com/f26aa19d9c39d0f10808a09c1cabc073.png[/img_thumb] [img_thumb]http://gyazo.com/488ee97690571105c7639d3222aeb05a.png[/img_thumb]
[i](The first one looks retarded because of the simulator screen density, it looks normal on a real device.)[/i]
Rate [img_thumb]http://static.facepunch.com/fp/ratings/rainbow.png[/img_thumb] for the first one and [img_thumb]http://static.facepunch.com/fp/ratings/clock.png[/img_thumb] for the second one.[/QUOTE]
Can you put the facepunch face inside a square icon?
[QUOTE=Richy19;27654823]Can you put the facepunch face inside a square icon?[/QUOTE]
I'm not making an iPhone app.
Sorry, you need to Log In to post a reply to this thread.