|
Post by Power Supersport on Apr 21, 2015 16:04:49 GMT
Can someone recongnize what this looks like? It's minecraft terrain generation in 3D Rad! WOW! It took me so much time to find a way how to do it... Here is the answer... --"Heigthmap"-- /Image is resized manually to be better visible on the forum! It's original size is 64x64/Rad reads every pixel from the heigthmap and sets heigth for block by color intensity... Still the generation is little bit laggy (you may find that there is little incompatibility with the heigthmap)... What I found is that image format .PBM (Portable Bit Map) can be read by 3DRad (iFileByteRead()) I will post results for the game later... I can post the script later, but for now let's see guyz what do you think...
|
|
|
Post by NicusorN5 on Apr 21, 2015 19:07:14 GMT
Very awsome !BTW if you try to remake Minecraft try Unity or Java,Mincraft in 3D Rad will do 1-5 fps even on 4 GB of Ram and 4Ghz of procesor speed.About procesor one guy overclocked on to 7.5 Ghz lol
|
|
|
Post by Power Supersport on Apr 21, 2015 19:11:01 GMT
My challenge is to make it in Rad... good framerate depends on many factors, not only that the engine is poor at cloning physics... I will see how far I can get... BTW There will be LOD (Chunks in minecraft). So you will be able to see how far you can look...
And also, I achieved save game... I mean saving worlds from Rad...
|
|
|
Post by NicusorN5 on Apr 21, 2015 19:13:17 GMT
WOW Saving in 3D Rad! This thing would save the 3D Rad from getting "Worst Game Engine"
|
|
|
Post by Power Supersport on Apr 21, 2015 19:16:57 GMT
Of course... But it wasn't the hardest part... I think that from all of what I done this is the easiest part... The terrain generation was the hardest! It was a real struggle... Finally I found this .PBM format which gives me ability to read it's bytes...
It is not a random generation but it will give the players ability to chose their heigthmap, giving them the option to set up their own world...
That's the best part... Phew!
|
|
|
Post by NicusorN5 on Apr 21, 2015 19:19:55 GMT
Can u add tress and lakes it would be awsome
|
|
|
Post by NicusorN5 on Apr 21, 2015 19:22:05 GMT
Oh forgot MINECRAFT WORLD IS NOT INFINITE!IT HAVE A LIMIT x: 32.000 blocks y:256 blocks z: 32.000 blocks This limit and loading chuncks thing saves frame-rate from the original Minecraft .
|
|
|
Post by Power Supersport on Apr 21, 2015 19:27:25 GMT
Minecraft world is not infinite... it seems that the world is infinite, but it can't be... Would splash your PC even the most powerful broken_keyboard . Pretty much because infinite has no dimension. So what I will do is to use one seamless heigthmap to make the world infinite (or just bigger than a box of 64 blocks) by wrapping the same or another heigthmap to another chunk... Trees? I think that I can do this... I think that there is a way doing this... I will post progress if successful... Also Villages will be a good Idea, but let's don't get so far for now... lemme just make for now the stone, bedrock, ores etc. ground blocks that are main. Lakes can be also made... I think that you need to have really good skills in logic to make such a game...
|
|
|
Post by NicusorN5 on Apr 22, 2015 19:00:17 GMT
What?You wanna say infinite is null? BTW Did u see the "Farlands" (location 3200,0,0)I tried this location and my game crash broken_keyboard
|
|
|
Post by Power Supersport on Apr 22, 2015 19:39:21 GMT
Just searched for far lands... Probably it would crash because far lands are laggy and unstable...
I meant by "Infinite has no dimension" that you cant measure the infinite... there is a border... infinite is a term that minecraft uses to measure the large terrains that it generates...
|
|
|
Post by Power Supersport on Apr 23, 2015 6:33:59 GMT
Hey, what you're gonna tell about this logo... or loading page?
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Apr 23, 2015 12:32:43 GMT
man this looks really good, i've never played minecraft(yes never) but the sandbox thing is real cool, lets see when i get to play it or will i be playing a 3d rad mine craft?, power you have the answer
|
|
|
Post by Power Supersport on Apr 23, 2015 14:44:06 GMT
I think that everyone wants to play and try a good 3D rad game to get some encourage. Because what we see is that 3D rad is a little bit "failed engine" because there are few games, developed in 3D rad which worth trying and playing, and buying rarely... To say directly... I know that you're gonna try it... By the way, I pretty much like designing logos... that's one of my best... Thanks for appreciation!
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Apr 23, 2015 17:19:06 GMT
by the way i like designing logos too,(you know that right?) tell me if you need any help power
|
|
|
Post by Power Supersport on Apr 23, 2015 17:42:53 GMT
Of course...
|
|
|
Post by Power Supersport on Apr 26, 2015 18:56:22 GMT
I DID IT ! ! ! TERRAIN GENERATION + LOD (CHUNKS) IS DONE AND COMPLETELY FUNCTIONAL ! ! ! Ok, shouting away... Just It took me 2 whole days (Saturday and Sunday are holidays) to make this hard thing... Let me explain... we all know that 3DRad runs smoothly over 2048 imposters (blocks)... If you run a texture that is 512x512 and want to generate a terrain with it... well simply your PC will crash ("End program" -> "Don't Send report"...) which will make you mad . That's because all of the blocks are: 512 X 512 = 262144 blocks! W O W ! ! ! LOT OF THEM! Just mentioned that the computer will run smooth at 2048 (how is compared 2048 with 262144... you can answer by yourself) The biggest problem was that I can't simply generate 262144 imposters and hide the farthest, so I see far to 20 meters for example... Hidden or not, the imposters are heavy for the PC... Instead of that I made a cycle (for) function that reads these 262144 image pixels and the script memorizes them by array which doesn't steal the framerate: int [] block (262144); The only thing that left was to generate these 2048 imposters and making them to move according to these points. The other big problem was that I can't read these 262144 points at every single loop of the script because the "for()" function runs smoothly over 2048 cycles again. HOW? HOW? HOW? HOW? to do it... This was messing my head all the time... HOW? ...... .................................................. Finally I blow up with something incredible that I'm sure that minecraft uses also... ChunkTimer += 1;
if (ChunkTimer > 256) ChunkTimer = 0;
for (int i=0;i<256;i++) {
if (ChunkTimer == i) {
for (int m=0;m<1024;m++) { ...
I don't know what you're gonna understand but I'm gonna tell you as simple as I can... ChunkTimer is a timer... It makes possible to read all these 262144 points without losing a single FPS... (cool, isn't it)... You just lose refresh speed... So here we have reading 1024 blocks per 256 script loops... (1024 X 256 = 262144... TA DAAAA!) And again the big problem... Numbering the imposters... (not much TA DAA now... )... but anyway As you see there is "int m"... this integer WAS the imposter number... well... I don't want to show the results that this caused because of risk to destroy my script... There was a big mess of imposters everywhere, moving on every single loop... Combined the iVectorLength() to make them visible only when I'm close... The problem is simply named OVERLAPPING... Causing an imposter to be set with the same number... this causes the previous imposter to disappear and take the new place... anyway... I burdened you with much logic... ha? I'm gonna tell you simply what I done as last result... because it's useless to tell you more about my struggle... Even I don't want to remember again... Check out the ScannerDemo.3dr demo project... There are created 100 particle imposters... on every shot the next imposter is handled... BOOOM! This blew up my mind again... Logic: If I am close to point, put the next imposter to it... If there is no Imposter, take the first one (0); Guyz... worked perfectly... !!! ... With so much text maybe I explained why the headlines are capitalized... It was a real struggle... And last... I know that you may not experience anything before you try it... gonna post results soon...
|
|
|
Post by F1Andre on Apr 27, 2015 15:53:01 GMT
Firstly... WOW, just WOW. You did an amazing job. I ran the game at the lowest possible resolution and it still lags heavily. The weird thing is that my pc looks like running at normal, as if it is on standby and no apps running.
|
|
|
Post by Power Supersport on Apr 27, 2015 15:54:35 GMT
That's my mistake... just forgot to compile the game with lower view distance... gonna compile additional one with decreased...
|
|
|
Post by Power Supersport on Apr 27, 2015 15:57:13 GMT
Just a moment...
|
|
|
Post by F1Andre on Apr 27, 2015 16:01:38 GMT
Oh thanks. The more I think about this minecraft concept the more I realize what potential it holds for 3d rad. I am not sure as to how long you have worked on this, but with more time the frame rate can run at a smooth 57 fps. Keep up the good work and make a kickass game.
|
|