Original Post
I'm developing a software 3D-engine that's only able to render lines and rectangle with volume. By that I mean lines become 'walls' and rectangles form solid boxes. Drawing everything on te screen isn't that difficult, my biggest problem is sorting the objects. Rendering can only be done back-to-front since I don't have any z-buffer or something like that. Code for computing one object is in the 'view' of another is already there, I just don't know how to sort it correctly. Quicksort isn't possible, since every object has to be tested to every other (there isn't a simple distance number or something like that). Also tried insertion, that's not an option too. Maybe a combination of diffirent sorts? I really don't know it anymore, stuck on this for a long, long time... [crying]