@TheNinthWorld: How do you render 3D vectors, Blocks and so one in C++? I don't even know, how to render an animated Image... How does rendering 3D things work in programming code? Please tell or make a tutorial. I always wanted to Script an engine to render 3D images.
@TheReasonWhyGuy Very true; It's how people learn to make games. Challenge yourself to make something that you enjoy. I'm In my Freshman year of Computer Science college and I'm working on a clone of one of my favourite games, Gradius 3 from the snes in C++.
I need to finish a thought before posting, TRIPLE POST AWAY!!!
I would also love to get my hands on the source for this, just so I could look through to see if I understand anything XD. Although I could see how you wouldn't want to do that from a legal stand point. It might be bad to give it an exact clone of MC.
@pimeval789 You'll need to study the basics of C++ first. Go through a tutorial of creating a console application, then move to graphics. Don't rush things, you'll regret it.
@DrunkenWaffle I would also add that you should start with Allegro5 for simple 2d graphics, with a little googling I found some awesome tutorials with it and managed to recreate pong fairly easily.
You can do so much things in C++ compared to java, it's just that the first time someone does something its 'revolutionary'. You can make a clone pretty easily on C++ that works much better.
@live785412 A trick you can do that will save you a load of cpu is to only render blocks that are adjacent to air blocks. That way you are only rendering blocks that you can see and not wasting power on those that you cant.
@live785412 Well, if the map has a lot of caves, then it will start to lag your computer a bit, but since minecraft only renders blocks within a (tiny, short, normal, far) view distance most computers can handle a heavily caved area. However, minecraft does have an option to turn on Advanced OpenGL which only renders what you can see on screen. I dont know how he was able to do this, but it seems like it sacrifices CPU for GPU.
Im just learning opengl and what not, but some of the things it does mention is view clipping, basically only drawing what can be seen from the camera. I think one technique would be to use LoS equations, but I'm not 100% positive on that.
@TheNinthWorld Refering to "A trick you can do that will save you a load of cpu is to only render blocks that are adjacent to air blocks. That way you are only rendering blocks that you can see and not wasting power on those that you cant." In addition also every block wich is adjacent to non opaque blocks will be rendered.
@live785412 Sorry, you're incorrect. Minecraft only loads visible blocks. The blocks underneath do not render until exposed. (you'd see what I'm talking about if you ever encountered a map error and could see through the earth.) The math is sound, but you don't know the engine.
but the idea of minecraft is total random world generation, which is the main problem in my opinion, making an engine work is not quite as difficult as all the random creations and it looking like stuff in real like, hills, caves, lakes, tunnels, not the engine itself, but that's just my opinion o.o
holy shit
dude
this is amazing!
shadow212222 1 day ago
skyblock :P
josipbabok2 1 month ago
@TheNinthWorld: How do you render 3D vectors, Blocks and so one in C++? I don't even know, how to render an animated Image... How does rendering 3D things work in programming code? Please tell or make a tutorial. I always wanted to Script an engine to render 3D images.
Please and thangs.
Regards,
Jeff.
crackbio 1 month ago
People who attack clones, READ THIS
"Now, I don't plan on making an exact replica of Minecraft, this is just a little project for me to test my programming skills"
This is why most programmer make game clones... it's so they can learn how to program a wider variety of things :P
TheReasonWhyGuy 2 months ago 2
@TheReasonWhyGuy Very true; It's how people learn to make games. Challenge yourself to make something that you enjoy. I'm In my Freshman year of Computer Science college and I'm working on a clone of one of my favourite games, Gradius 3 from the snes in C++.
syberwolff 2 weeks ago
@syberwolff HAHAHA OMG... I fellow gradius 3 fan :3
TheReasonWhyGuy 2 weeks ago
Fail did you just import a model?
0ChrisMackle0 3 months ago
Nice, i have starting making something like minecraft in opengl to.
linkinl1 3 months ago
I need to finish a thought before posting, TRIPLE POST AWAY!!!
I would also love to get my hands on the source for this, just so I could look through to see if I understand anything XD. Although I could see how you wouldn't want to do that from a legal stand point. It might be bad to give it an exact clone of MC.
TarousDT 3 months ago
Any chance of source?
MagicalFlump 3 months ago
@TheNinthWorld : I am new to C++ and i can not find eny tutorials on how to make a screen???? Can you help me??
pimeval789 4 months ago
@pimeval789 You'll need to study the basics of C++ first. Go through a tutorial of creating a console application, then move to graphics. Don't rush things, you'll regret it.
DrunkenWaffle 4 months ago
@DrunkenWaffle I would also add that you should start with Allegro5 for simple 2d graphics, with a little googling I found some awesome tutorials with it and managed to recreate pong fairly easily.
TarousDT 3 months ago
@TarousDT After of course learning how C++ works. Pointers, classes, inheritance, all that fun stuff.
TarousDT 3 months ago
@TarousDT Ah, good point. I found Allegro 4.2.3 to be easier, but I have not tried Allegro 5.
DrunkenWaffle 3 months ago
@pimeval789 a good graphics libary is CImg.
andrewmtbfreak 3 months ago
You can do so much things in C++ compared to java, it's just that the first time someone does something its 'revolutionary'. You can make a clone pretty easily on C++ that works much better.
BlackOps78321 4 months ago
Nice job!
Keep up with the good work!
Subscribed! :D
mikeh961 5 months ago
Looks nice, keep developing it ;)
C0d3Dr4g0n 6 months ago
well, Can you render 5'120'000 blocks (5120000 is a count of blocks in current loaded map in minecraft - 200x200x128 (xyz)) ?
if you done, please tell me.
live785412 7 months ago
@live785412 A trick you can do that will save you a load of cpu is to only render blocks that are adjacent to air blocks. That way you are only rendering blocks that you can see and not wasting power on those that you cant.
TheNinthWorld 7 months ago 15
@TheNinthWorld Ohhh ! Really COOL (minecraft have air block type) But...
What will be if map will be have much caves?
Sorry for my English =(
live785412 7 months ago
@live785412 Well, if the map has a lot of caves, then it will start to lag your computer a bit, but since minecraft only renders blocks within a (tiny, short, normal, far) view distance most computers can handle a heavily caved area. However, minecraft does have an option to turn on Advanced OpenGL which only renders what you can see on screen. I dont know how he was able to do this, but it seems like it sacrifices CPU for GPU.
TheNinthWorld 7 months ago
@TheNinthWorld
Thank you verYYYY much!
live785412 7 months ago
@TheNinthWorld
Im just learning opengl and what not, but some of the things it does mention is view clipping, basically only drawing what can be seen from the camera. I think one technique would be to use LoS equations, but I'm not 100% positive on that.
iceshadow625 5 months ago
@TheNinthWorld you did this only with c++ ? because i learn it atm
Sildur123 5 months ago
This has been flagged as spam show
@TheNinthWorld Refering to "A trick you can do that will save you a load of cpu is to only render blocks that are adjacent to air blocks. That way you are only rendering blocks that you can see and not wasting power on those that you cant." In addition also every block wich is adjacent to non opaque blocks will be rendered.
theblackside1000 1 month ago
@live785412 Sorry, you're incorrect. Minecraft only loads visible blocks. The blocks underneath do not render until exposed. (you'd see what I'm talking about if you ever encountered a map error and could see through the earth.) The math is sound, but you don't know the engine.
killofthedayshow 2 months ago
Looks nice, but now try to implement procedural generation.. ;P
bartjoboy 7 months ago
but the idea of minecraft is total random world generation, which is the main problem in my opinion, making an engine work is not quite as difficult as all the random creations and it looking like stuff in real like, hills, caves, lakes, tunnels, not the engine itself, but that's just my opinion o.o
iK0cc4 7 months ago
CAN I GET THE SOURCECODE ???
Seriously , i plan to make a nds clone of mc with devkitarm and opengl and it would help me .
Hugobros3 8 months ago 8
@Hugobros3 If you plan on doing that, you should write it yourself.
bergice1 4 weeks ago
Very impressive work.
Markyparky56 8 months ago
i have no idea how to program like you did but i am watching a bunch of C++ videos hopefully they will help me out.
brandonwild11 10 months ago
@brandonwild11 They wont.
MrVirtualCoder 8 months ago
Amazing job so far!
thedevfiles 10 months ago
so shit
toolblox 10 months ago
@toolblox Bet you can't do better ;)
MinecraftVixen 9 months ago
Fix the rotation, my dear.
visualeffectschannel 11 months ago
First Coment on this master piece,well done sir. With love:Awesome Heavy
NekoHunterx3 1 year ago