HOME | DD

Published: 2008-01-08 23:22:53 +0000 UTC; Views: 5986; Favourites: 20; Downloads: 132
Redirect to original
Description
************************************************************************THIS WAS NOT MADE BY ME. IT IS ONLY MODIFICATION.
Original work belongs ot Go worship him cuz he is shiny golden god
************************************************************************
So made this and made it open source with no restriction to usage. So he lacked one thing in this and I tough that I can add it. It was rotation. It was added in an hour so it is not well optimized and kind of messy at the moment. And I am going to sleep. I will clean it up and add comments till the end of the week. After that I will repost it with source
Well I changed how movement works. Reasons are that I don’t know how to make it work in a way it did before and figuring it out could take some time. So I went on easier and faster way cuz I had only half an hour. Well as usually I got caught up and spent more time and got it to work. Now I am sleepy and my head hurts
Controls:
Ok. Turn caps lock on and use mouse to move. Direction of moving is direction from center to mouse. Speed is length of this line.
Use Up/Down to zoom and Left/Right arrows for rotation.
Use space to return to centre of the map with no rotation.
Click on menu header at the bottom to bring it up. Use it to change map. Click on header again to hide it.
Edit: Hmm. Zoom seems to be little bit strange. Didn’t understand something in the code it seems. Will check it tomorrow.
Edit 2:
Added more changes. Movement method was kind of annoying so I made little change. Now it moves only with caps lock turned on. And also hitting space will return coordinate to centre of the map and will set rotation to 0.
And I changed initial class a little more. Not much just added function to change map on the fly. You can click on the menu in the bottom of the screen. It will fly out. Then click on header again to hide it. Use options to change how map looks.
And link to the source: [link]
Related content
Comments: 44
wonderwhy-ER In reply to sashimi-chef [2008-01-13 10:20:07 +0000 UTC]
It does? Hmm it does not dissaper for me... Can you give more pecifics? Like were you on edge of map? Were you zoomed out or in and so on?
👍: 0 ⏩: 1
sashimi-chef In reply to wonderwhy-ER [2008-01-14 11:06:42 +0000 UTC]
As in, when i zoom out so i can see the whole map. When i rotate enough, it disappears beyond a line and reappears when it rotates further.
👍: 0 ⏩: 1
wonderwhy-ER In reply to sashimi-chef [2008-01-14 12:38:03 +0000 UTC]
Ouh. There are some bugs with clipping with high zoomout.
👍: 0 ⏩: 0
wonderwhy-ER In reply to lyc [2008-01-09 10:22:50 +0000 UTC]
Mmm. Not realy. Doom was made kind of differently... Not on voxels at lest but some priciples are alike.
👍: 0 ⏩: 1
lyc In reply to wonderwhy-ER [2008-01-09 10:57:01 +0000 UTC]
it's basically the same 2.5d raycasting technique, except "voxel engines" use heightmaps.
👍: 0 ⏩: 1
wonderwhy-ER In reply to lyc [2008-01-09 12:04:43 +0000 UTC]
Mmm. He haven't made any camera or any other raycasting. It just some formulas that simulate it in a way. Tough as i said it is very hard to use it for any game or other alike thing. He seem wan't to learn something about raycasting to rewrite it as it should have been done. I will find some articles for him later. Thinking on helping other guy with cool game he makes. And for now my BD and exams ;( + work.
👍: 0 ⏩: 1
lyc In reply to wonderwhy-ER [2008-01-09 13:29:24 +0000 UTC]
yeah i have exams too quite soon
👍: 0 ⏩: 1
wonderwhy-ER In reply to lyc [2008-01-09 14:02:07 +0000 UTC]
Where and for who you study? I mean programm orentation?
👍: 0 ⏩: 1
lyc In reply to wonderwhy-ER [2008-01-09 15:53:07 +0000 UTC]
i'm studying via a correspondence university in south africa, previously (until 2006) i was at the university of cape town. studying maths and computer science (together called scientific computing).
👍: 0 ⏩: 1
wonderwhy-ER In reply to lyc [2008-01-09 15:58:22 +0000 UTC]
Heh cool. May i ask few questions. First is recarding the disciplines yo have in you course. MAy be there is page with that? As if i was thinking to go to it and was researching what disciplines i will learn.
And second is about e-learning methods in your universety. Any systems for digital studying managment? Does something like that is used in your universety? I think some example will be needed. I study at one universty and my brother in another. In his such system as WebCT is used. Thet means that you can pass tests in the web page under your account. And you can send your homework results in it and discuss it in forum like way with teacher. Any things like that?
👍: 0 ⏩: 1
lyc In reply to wonderwhy-ER [2008-01-10 00:38:14 +0000 UTC]
yeah we have some sort of online study manager thing, but it's complete shit... quite often unavailable, the lecturers don't answer messages, ... it's a really shitty university all in all.
[link]
👍: 0 ⏩: 1
wonderwhy-ER In reply to lyc [2008-01-10 09:02:35 +0000 UTC]
Ok checked. Well at least you program is not as blured as mine. We have such things as Pedagogks and phylosophy and many other ****... Well thanks for info. And well it's almost everywhere is like that. My have many problems too and two others there are in my city have some too. Tough i am starting to consider mine as one with most problems for few resons... And it sadns me. It all can bedifferent. It jsut that old guys on the top may not be understanding modern needs...
👍: 0 ⏩: 1
lyc In reply to wonderwhy-ER [2008-01-10 09:49:41 +0000 UTC]
south africa is hardly a perfect place either, i can assure you. that university (unisa) is just about the most ridiculously easy and low standard one in the world i think... well, at least in the end i get a degree, with very little work
in your case, why not emigrate elsewhere?
👍: 0 ⏩: 1
wonderwhy-ER In reply to lyc [2008-01-10 10:43:40 +0000 UTC]
Cuz of Europian derectives in High education it becomes alike in all countryes... So there is no much differance here actualy. May be going to USA MIT would be good idea but it is far far away and far too expensive for me...
👍: 0 ⏩: 1
lyc In reply to wonderwhy-ER [2008-01-10 12:46:19 +0000 UTC]
i have a friend at mit, and i dunno how useful it would be for most people to go there... it's extremely theoretical, which won't help at all for "normal" jobs.
👍: 0 ⏩: 1
wonderwhy-ER In reply to lyc [2008-01-10 12:55:16 +0000 UTC]
Well i am selfeducating for noral jobs anyways and in my universety i spend too much time on many things that will not help in in normal job eather but they are parctical and take a lot of time... For example i need to make course work about modern programming on Ada with usage of multythreading, programming patterns and many other things. Problem is that half time job plus study plus such thing(and there are many many others) as kearning this Ada on which i will not programm in my whole life(i will not cuz it is horrific actualy) and use a lot of things and it all in 3 months... So i suppose you already know how it is done. Something that barly works and wel more lies in report then some practical things. I don't see any point in such practical knowlage... Let it be better non pracitcal teorectical but i will decide how to use it in my practical works my self...
👍: 0 ⏩: 1
lyc In reply to wonderwhy-ER [2008-01-10 13:39:42 +0000 UTC]
it seems to me that university is a lot more about "i can see a major project through to its completion, no matter what the hardship" than real education. mark twain famous said, "i have never let my schooling interfere with my education" -- that's the way i have always lived
👍: 0 ⏩: 1
wonderwhy-ER In reply to lyc [2008-01-10 13:57:38 +0000 UTC]
well in my case i can't get to the next course if i will not let it to interfre with my halftime job and my real education. without making all thouse countless and 50-80% pointless homeworks, labs, course works i will not get to the next course. I went to listen and learn and i end up proving something all the time instead... I still listen but cost for uni + time i must spend on thosue works instead of spending it on self education in thisg i REALLY need... Well i starting to thing that this education system does not work anymore. At least for me. I start to feel that it held me back instead of showing how to go forward... I am starting to think "what's the point then?" and it is sad...
👍: 0 ⏩: 1
lyc In reply to wonderwhy-ER [2008-01-10 14:08:00 +0000 UTC]
i think we both know well what the point is, and it's no romance story of love for knowledge... simply a matter of money (getting paid what you are worth, which sadly only happens with the right pieces of paper).
anyway, these days will pass
👍: 0 ⏩: 1
wonderwhy-ER In reply to lyc [2008-01-10 14:29:04 +0000 UTC]
Well not really. I was going to learn more. I don't have real issues with money or something. There is not so many flashers of my level here and there are cliebts which want complex things so i more or less dictate prices my self in my half time. And in future i look in direction of making gaming community site. I already have lot of ideas and some things made for it. Just waiting to finish with study and i do learn some good things. I just pains me that those are some 20-30% of time i spend on learning makes sense... And don't learn for diploma. It jsut some pieace of paper for me. It does not actualy prove anything... I wen to lsiten and to look my self... So that's why i am wondering about all those questions...
👍: 0 ⏩: 0
cepums [2008-01-09 07:31:10 +0000 UTC]
aaaa
sapratu...
biju izbraucis no kartes..
vispaar tiiri inchiigi.. nav ne vaines
👍: 0 ⏩: 1
wonderwhy-ER In reply to cepums [2008-01-09 09:19:18 +0000 UTC]
pladies. bet ka es teicu es tikai pameginaju izmajnit kaut ko darba kuru killthemouse izdarija. Vel lai izdarit Flash Voxel enginu ir daudz ko citu ko vajag izdarit.
👍: 0 ⏩: 0
cepums [2008-01-09 07:30:04 +0000 UTC]
nesapratu...
man raada tikai sviitru kas seko pelei..
un kad spiezhu bultas - ta tikai fons mainaas.. un cipari... bet nekas nenotiek
👍: 0 ⏩: 0
awesty [2008-01-09 01:23:09 +0000 UTC]
That is awesome man.
But when you zoom and rotate the terrain get cropped kinda.
👍: 0 ⏩: 1
wonderwhy-ER In reply to awesty [2008-01-09 09:16:59 +0000 UTC]
Ouh didin't understoot. There is optimisation in killthemouse algorithm. Something that supposengly does not draw too far things. I am not shore if i will try to correct it now. May be you wana try?
👍: 0 ⏩: 1
awesty In reply to wonderwhy-ER [2008-01-09 10:09:53 +0000 UTC]
If you cant do it I doubt I will be able to
👍: 0 ⏩: 1
wonderwhy-ER In reply to awesty [2008-01-09 10:21:52 +0000 UTC]
Heh. Well who know It's kind of wrong to give up with out a fight
👍: 0 ⏩: 0
N-Dr01d [2008-01-09 00:47:32 +0000 UTC]
Wow, this is so cool and fast!!..
Is there any application of this (yet?). Like a game that uses this?.
👍: 0 ⏩: 1
wonderwhy-ER In reply to killthemouse [2008-01-09 09:14:46 +0000 UTC]
Hhehe. I tough of some fly craft or something. Tough i am still thinking on how to use it in a right cuz things we draw should be inputed in to the VoxelLand drawing process in a right iteration...
👍: 0 ⏩: 1
killthemouse In reply to wonderwhy-ER [2008-01-09 10:09:37 +0000 UTC]
I think it would be best to keep VoxelLand purely for drawing voxel landscapes. We could have a container class though that handles the entire isometric 3d engine... then to that we could add a class for drawing sprites in pseudo-3d, drawing non-heightmap based voxels, etc.
Then changes in the camera's position, zoom and perspective can all be handled in one place but it can all be kept modular and fast! That's the dream in my head, anyway
👍: 0 ⏩: 1
wonderwhy-ER In reply to killthemouse [2008-01-09 10:21:19 +0000 UTC]
Eh. I have many dream of different thigns my self. Check last journal. Open source is good but lacks feedback for creators in my taste.
👍: 0 ⏩: 0
killthemouse [2008-01-09 00:30:34 +0000 UTC]
Nice work! I guess open source is pretty awesome if it produces great results this fast!
Looking forward to seeing how you did it! Zoom and rotation don't seem to play too nice though... but that is at least partly my fault since the zoom is a bit crufty to begin with.
👍: 0 ⏩: 1
wonderwhy-ER In reply to killthemouse [2008-01-09 09:10:32 +0000 UTC]
Yeah. I havn' reasearched too diply how you calculate those things. I suppose that it is connected to horizont. Anyways i think it shold be built with camera or something like that in mind... It seems that when you zoom in usual version it does not zoom to the center but to the left top corner.
👍: 0 ⏩: 1
killthemouse In reply to wonderwhy-ER [2008-01-09 09:27:57 +0000 UTC]
Yeh, I've been looking at it again today and there's a lot of problems with it stretching towards the horison, and no real options for if I want to move the camera in a non-2d plane.
So i'm going to have to learn some more maths! Do you know of any good resources for basic 3d programming?
👍: 0 ⏩: 1
wonderwhy-ER In reply to killthemouse [2008-01-09 10:20:18 +0000 UTC]
Hmm. I need to go to work now. I will look for some good articles. What you used there is called "the algorithm of a painter" where thigns that are at back are draw first. Now so bad and not so good. But i suppose there is no better way in voxel engine. I will try to find some articles on basics at evening.
👍: 0 ⏩: 0