• Programming - WAYWO - V.37
    1,000 replies, posted
[QUOTE=salmonmarine;40120023]Hey guys. I'm an artist, not a programmer, but I've been working with one (Rayboy- he posts here occasionally, you might have heard of him) to make small 2D games for the past 2 and a half years. I have an idea for what i think would be a great game, but he doesn't like it. I drew this up to illustrate it, because it's hard to explain with words. Sort of a Mirror's Edge meets Time Crisis meets Metal Slug sort of thing. If you like this idea, I would do all the textures, animations, and GUI. PM me or find me on Skype/Steam if you're interested.[/QUOTE] DOF transitions when you aim could look so rad.
If the obj file has position, texture coords and normals then the face will be like: f 6/4/1 3/5/3 7/6/5 So that's 1 face of 3 vertices but each vertex indexes the attribute separately. So if 2 vertices share an attribute it's not copied in the file. Whether you render with or without indices, you would still need to have the full contiguous vertices.
XKCD have essentially launched battle of the university CS departments: [url]http://almamater.xkcd.com[/url] You have to try to find a string that gets as close as possible to the given hash. I've posted an entry for my university in joint 8th using only 32 cores. I dread to think what Stanford/Colorado are throwing at this. Using a C implementation using the original code for the algorithm: [url]http://www.schneier.com/code/skein.zip[/url] Anyone else playing?
oh god i wrote a null character to a file in source through hl2sb and the steam client bootstrapper crashed but the engine kept running so every file op then on returned invalid file handles [editline]2nd April 2013[/editline] holy shit the engine just kicked me out of the server with no disconnect reason and when i tried to take a screenshot everything exploded [editline]2nd April 2013[/editline] oh god steam crashed [editline]2nd April 2013[/editline] o lol i guess "rwb" isn't a valid file option
This is what are you working on, not post exactly what you're doing every 10 seconds
[QUOTE=ECrownofFire;40122592]Any suggestions for a decent 3D model format for games?[/QUOTE] I'm really surprised no one has mentioned [url=http://en.wikipedia.org/wiki/COLLADA]COLLADA[/url]. It's honestly a really solid intermediate (XML) model format. Almost every modeling program supports it. Being that it's an intermediate model format, you more or less pick and choose what you need from it. All you need to do is write a converter for it, that is, COLLADA acts as middle-man between the artist's modeling program of choice and your engine's model format. I haven't worked on my [url=https://github.com/inkadnb/rupture]project[/url] in a while but I made posts in the past while writing the COLLADA converter. I'm using [url=http://pycollada.readthedocs.org/en/v0.4/]PyCollada[/url] to convert all the COLLADA files to my format however my implementation is still very early. [url=https://github.com/inkadnb/rupture/blob/master/RuptureCOLLADA/RuptureCOLLADA.py]Here[/url] is an ugly example of converting a COLLADA model to my basic format. [url=https://github.com/inkadnb/rupture/blob/master/RuptureDLL/src/File/REMF.cpp]This[/url] is some more messy code that "loads" the models. Right now it's just dumping some basic information, although all the data is there. In short, COLLADA has tons of great features and it's pretty easy to implement.
[QUOTE=Hexxeh;40126942]XKCD have essentially launched battle of the university CS departments: [url]http://almamater.xkcd.com[/url] You have to try to find a string that gets as close as possible to the given hash. I've posted an entry for my university in joint 8th using only 32 cores. I dread to think what Stanford/Colorado are throwing at this. Using a C implementation using the original code for the algorithm: [url]http://www.schneier.com/code/skein.zip[/url] Anyone else playing?[/QUOTE] Goddamnt it, my university is last
[IMG]http://i.imgur.com/TgKnyOB.png[/IMG] django: black shadow im currently writing this in pygame, its got limited functionality atm. currently its got movement, wall/edge collision and you can switch/use weapons (although they only play a sound for the time being) i hope it one day to be a semi-stealth/action kind of thing.
[QUOTE=Hexxeh;40126942]XKCD have essentially launched battle of the university CS departments: [url]http://almamater.xkcd.com[/url] You have to try to find a string that gets as close as possible to the given hash. I've posted an entry for my university in joint 8th using only 32 cores. I dread to think what Stanford/Colorado are throwing at this. Using a C implementation using the original code for the algorithm: [url]http://www.schneier.com/code/skein.zip[/url] Anyone else playing?[/QUOTE] Are you allowed to enter if you are in college? [editline]2nd April 2013[/editline] My programming teacher just sent me an EMail that I don't have to do any of the test/homework anymore :D. Apparently he same goes for all of my other CS related classes :dance:
[QUOTE=Bladezor;40128673]I'm really surprised no one has mentioned [URL="http://en.wikipedia.org/wiki/COLLADA"]COLLADA[/URL]. It's honestly a really solid intermediate (XML) model format. Almost every modeling program supports it. Being that it's an intermediate model format, you more or less pick and choose what you need from it. All you need to do is write a converter for it, that is, COLLADA acts as middle-man between the artist's modeling program of choice and your engine's model format. I haven't worked on my [URL="https://github.com/inkadnb/rupture"]project[/URL] in a while but I made posts in the past while writing the COLLADA converter. I'm using [URL="http://pycollada.readthedocs.org/en/v0.4/"]PyCollada[/URL] to convert all the COLLADA files to my format however my implementation is still very early. [URL="https://github.com/inkadnb/rupture/blob/master/RuptureCOLLADA/RuptureCOLLADA.py"]Here[/URL] is an ugly example of converting a COLLADA model to my basic format. [URL="https://github.com/inkadnb/rupture/blob/master/RuptureDLL/src/File/REMF.cpp"]This[/URL] is some more messy code that "loads" the models. Right now it's just dumping some basic information, although all the data is there. In short, COLLADA has tons of great features and it's pretty easy to implement.[/QUOTE] When I tried to use it every program only supported [I]part[/I] of it. I didn't find a single import function that was fully compatible with the spec. Edit: The problem is that the format allows multiple ways to specify the same data, so it's possible to write implementations that use a subset of the full specification and are mutually incompatible.
So I've been pissed at a bug in a Linux code coverage program, so today I've narrowed it down to reproducible behaviour, which means I can actually send off a single shell script that shows the problem completely to some developers and see it fixed. So far right now I'm thinking it's in one piece of software, but I still want to check under a different environment. After this, I'll just have some documents to write, and then a drastic planning of my game engine's architecture.
I wouldn't mind checking your Linux bug on my system. Just toss me that shell script, and as long as it's not obviously a bomb I'll run it and tell you the results.
[img_thumb]http://puu.sh/2sw7S[/img_thumb] Almost finished my map designer for a 2d engine I've been working on for some time now, finally decided to implement selecting sections of a texture.
[QUOTE=Mega1mpact;40129421]Are you allowed to enter if you are in college? [editline]2nd April 2013[/editline] My programming teacher just sent me an EMail that I don't have to do any of the test/homework anymore :D. Apparently he same goes for all of my other CS related classes :dance:[/QUOTE] As long as you have an .edu/.ac.uk or equivalent domain, go ahead.
[QUOTE=Hexxeh;40131383]As long as you have an .edu/.ac.uk or equivalent domain, go ahead.[/QUOTE] Nope it's a .nl domain
[QUOTE=Mega1mpact;40131417]Nope it's a .nl domain[/QUOTE] Pick a university to help then. If you're feeling generous, use mine: uclan.ac.uk
[QUOTE=Tamschi;40129946]When I tried to use it every program only supported [I]part[/I] of it. I didn't find a single import function that was fully compatible with the spec. Edit: The problem is that the format allows multiple ways to specify the same data, so it's possible to write implementations that use a subset of the full specification and are mutually incompatible.[/QUOTE] As far as having multiple ways to specify the same data, I only noticed this with geometric primitives. All geometric primitives should be supported by your engine so that's not really a big issue. Yes you can write subsets of the full specification, HOWEVER, you usually need to write complete implementations of those subsets. Support for Geometric primitives is fairly trivial to implement, so there's really no reason you would only implement triangle sets and no other primitives. You'd have to give me a more specific example of the issue you ran into.
[QUOTE=Hexxeh;40131598]Pick a university to help then. If you're feeling generous, use mine: uclan.ac.uk[/QUOTE] Got mine to 416 (280~ out of 3k) not too bad!
I wrote this dumper which is p. nice, but I'm still trying to work my way towards developing a full wiki automation system... [url]https://gist.github.com/andrewmcwatters/5293833[/url] Ideally, I'd like to have some sort of luasocket connection to Sandpedia and immediately update all of the documentation articles, or do it through some external tool after generating the dumps in-game. I'm currently trying to think of a way to generate parameter dumps and such from hl2sb-src at Google Code. [t]http://img824.imageshack.us/img824/2605/sandpedia.png[/t]
[QUOTE=acpm;40132137]I wrote this dumper which is p. nice, but I'm still trying to work my way towards developing a full wiki automation system... [url]https://gist.github.com/andrewmcwatters/5293833[/url] Ideally, I'd like to have some sort of luasocket connection to Sandpedia and immediately update all of the documentation articles, or do it through some external tool after generating the dumps in-game. I'm currently trying to think of a way to generate parameter dumps and such from hl2sb-src at Google Code. [t]http://img824.imageshack.us/img824/2605/sandpedia.png[/t][/QUOTE] Speaking of that, does anybody know any tools for extracting doxygen's information (or just parsing javadoc style comments) such as class descriptions, method description, arguments etc? I'd like to be able to dump all of that into a wiki format like above.
[QUOTE=Hexxeh;40126942]XKCD have essentially launched battle of the university CS departments: [url]http://almamater.xkcd.com[/url] You have to try to find a string that gets as close as possible to the given hash. I've posted an entry for my university in joint 8th using only 32 cores. I dread to think what Stanford/Colorado are throwing at this. Using a C implementation using the original code for the algorithm: [url]http://www.schneier.com/code/skein.zip[/url] Anyone else playing?[/QUOTE] Is it cheating if I use super-computers?
[QUOTE=Bladezor;40131816]As far as having multiple ways to specify the same data, I only noticed this with geometric primitives. All geometric primitives should be supported by your engine so that's not really a big issue. Yes you can write subsets of the full specification, HOWEVER, you usually need to write complete implementations of those subsets. Support for Geometric primitives is fairly trivial to implement, so there's really no reason you would only implement triangle sets and no other primitives. You'd have to give me a more specific example of the issue you ran into.[/QUOTE] You can either inline date directly where it's referenced or link certain kinds. There are 5 different vendor specific extensions for lights. When I tried it, Blender completely ignored normals and someone from the Titan Quest forum wrote that 3ds Max COLLADA import was broken. It's probably relatively painless when exporting from a modelling program and reading the file, but exporting a document with somewhat complicated data that can be read by every program that technically should support it is likely impossible.
[QUOTE=Bladezor;40132380]Is it cheating if I use super-computers?[/QUOTE] Pretty sure XKCD would see such "cheating" as encouraged.
[QUOTE=Bladezor;40132380]Is it cheating if I use super-computers?[/QUOTE] Not at all, if you can lay your hands on it legally it's fair game. I just launched 100 EC2 cc2.8xlarge instances with my optimised C version. That's 3200 threads/1600 cores. Game on bitches. :v:
[QUOTE=Hexxeh;40126942] Anyone else playing?[/QUOTE] For three hours I've been running bruteforcer on eight 3GHz cores written in LuaJIT and was amazed to see 394... but it turns out my Skein implementation was completely wrong :( Would a genetic evolution approach help at all? I don't understand the math behind hashing functions.
[QUOTE=Deco Da Man;40132659]For three hours I've been running bruteforcer on eight 3GHz cores written in LuaJIT and was amazed to see 394... but it turns out my Skein implementation was completely wrong :( Would a genetic evolution approach help at all? I don't understand the math behind hashing functions.[/QUOTE] Hashes usually are highly discontinuous, so no.
Anyone has any experience with SFGUI? I mean why is it so complicated to have two RenderWindows or one RenderWindow and one RenderTexture and only draw GUI elements to onewithout screwing everything up? I mean I would understand if it was just the GUI part that messes up, but for some reason it screws up the entire window and everything drawn on it. It is quite difficult to put into screenshots, but it only draws on a single render element and shifts everything around according to that element. I've read bits and pieces about having to set the active context right but so far my efforts have been fruitless. [editline]2nd April 2013[/editline] Or at least any better alternatives to SFGUI? Something easy to set up and use? I am not looking for anything fancy, it is just getting boring to recompile a program just because I want to change a setting.
"nsa.gov","391" thats not a university...
[QUOTE=Gnomical;40135082]"nsa.gov","391" thats not a university...[/QUOTE] They've opened it up to any domain I believe. People were complaining their school's TLD wasn't included.
So I found out one of my friends was using a Python IDE calle pyScripter and it was basically easy mode coding where it can autocomplete the code you've written, the variables, classes, etc.
Sorry, you need to Log In to post a reply to this thread.