I am new at learning C++, can someone explain me what OpenGL is which you need for 3D and 2D games, is it a programm to download and when yes where can i download it? Or does Visual 2010 already include OpenGL...please help!
@MW3G3rmany You should get comfortable with c++ first. OpenGL is not a program, but a library. There are plenty of tutorials out there for learning opengl. I particularly like swiftless. Any of the good beginner tutorials online can walk you through the basics of getting setup for it.
@EricMorgan1 Well the demo has a couple of dependencies. One of them is the Object Oriented Input System (IOS). You have to download it from sourceforge net. See the readme section "Compile it yourself"
Now I have a computer performace testing program. That's just perfect in testing how your computer is doing with games that has many objects. Thank you :) . Before I can create something similar to this, I will use it.
Hey would you like to join a professional gaming team of 25 people? If your interested contact me at m.meyer@vxtream.com. We are currently developing a 3D MMO.
@Ingrater88 nice :D, look I have basic C++ knowledge and want to make my OpenGL engine, but idk what I should learn first, how you started to learn OpenGL? any key concepts of C++ I should know? :]
@xXxDiukexXx I would start writing OpenGL programs and learn more C++ on the way. If you learn all the concepts first, you are not going to understand what they are good for that easily, because you didn't come across that problem yourself yet.
@xXxDiukexXx Honestly I would do exactly what Ingrater88 just suggested. I learned so much by just leaping in. I learned C++ but then decided to step up and apply it. Key concepts that you'll need to know, I would recommend writing a simple 2D level editor in C++ with OpengGL. You learn a ton in the process of terrain/world editors. After that you should pretty much know plenty of necessary basics. I recommend SFML or GLUT for standard mouse and keyboard input.
Beautiful!! Is there any way that you could help me develop my own code for drawing similar trees? I'd really like to learn how to begin to imitate natural scenery with OpenGL !!
@Ingrater88 Well, I tried that, but it got a little complicated. TO begin with, I only have a macintosh at home and I've never dealt at all with xml files. So, I'm just not sure how to copy it all over and compile it.
Well this most likely is not going to work on a MAC. It was only built for linux and windows as I don't have access to a MAC. The xml files are just a wrapper for the actual shader code, so you might wanna look into the xml files inside ths shader folder.
Very nice, It doesn't look incredible like some of the demos out there, but i'm just starting learning opengl and this must have ALOT of work behind it, and is very very nice, even more so being made by a single person. I can't wait to get far enough that I can make something at least approaching this!
Well if they use a already finished engine or something like XNA which does almost everything for you then yes. But if they write everything from scratch like I did, no definitly not. There are also plenty of things in this demo that you don't see. Debugging tools, a gui, camera path editor, etc.
Wow, very nice work! If i saw this right, you're adjusting the detail level depending on the distance to the objects? And would you mind telling me how much of this is handwork, and how much generated? And what else besides OpenGL did you use? (modeling software, importers, etc).
For modeling I used blender (for the gras shapes) the trees I've got from a friend, don't know what software he used. I wrote the file format importers myself. The used formats are 3ds and a self invented one. I used OIS for input. The landscape and tree / gras / bush positions are read from the coverage.tga in the gfx directory. The landscape is also read from a tga file. I made these using paint / gimp. The gras texture i made from a photo. The coulds are a simple noise texture made in gimp.
Amazing!! I'm looking forward to create my gardens and other green places in opengl (or other CG lib). At least it's not like those quake-style games that all guys want to make :P
The vid is recoreded with 30 FPS but on my system (Core 2 Duo E6600 with geforce 8800 gtx) I get about 60 Fps in the very high quality setting. But it is also possible to kill the best graphics card if you boost the settings to unrealisitc values. Like a 8096x8096 shadow map or 32x antialiasing
This is realy amazing.I m working on a project in visual c++ using opengl and i need to load a .obj file (.3ds or something similar).Is there something you can suggest me?
Look for a file loading library / subroutine online or learn the file format and write it yourself. OpenGL doesn't have any function for loading meshes on its own.
That was superb... Im just starting to learn opengl... And i have a question... There was no graphic program involved in this? I mean, you only used devc++ or microsoft visual studio and typed in all those verticles? If yes... you rox! :)
Shure there are graphic programs involved in this demo. No one does type this number of vertices into a c++ code. That is totaly insane. The trees and bushes are models in the 3ds format and the landscape is generated out of a heightmap.
Thx for reply :)Heh i have an opengl course right now but everything taht we do needs to be typed in by hand... and that sux like you said :)... I know abouth the heightmap b/c im trying to use one instead hand-made verticles but i still dond know how to import 3ds objects into the scene :)... Still - you did a superb forest scene and i woud not change my mind about that:) Congratulations :)
Are you saying everythng I see is coded (and not drawn)? I'm new to computer graphics and I want to dive into opengl programming. I have solid experience in Java, C, Python and a moderate knowledge of C++ but absolutely no knowledge of computer graphics. You got any suggestions or pointers? In the meantime, I already find interesting information about libraries you used in your demos in the readme.txt but I need the basics. Your demos looks amazing!
Impressive.. I'm not even close on learning to use shaders in oGL. The water looks great, grass looks nice n detailed, awesome shadows, the trees are maybe a bit cartoony, and clouds like they're square tiled.. Nevertheless a great demo. Well done..
I am new at learning C++, can someone explain me what OpenGL is which you need for 3D and 2D games, is it a programm to download and when yes where can i download it? Or does Visual 2010 already include OpenGL...please help!
MW3G3rmany 2 months ago
@MW3G3rmany
Try starting with SFML, its a 2D/3D multimedia library, with an interface to OpenGL.
Viel Spaß
noergelstein 2 months ago
@MW3G3rmany You should get comfortable with c++ first. OpenGL is not a program, but a library. There are plenty of tutorials out there for learning opengl. I particularly like swiftless. Any of the good beginner tutorials online can walk you through the basics of getting setup for it.
TheDamped 1 month ago
lol i am gettin huge lag
habroxby 3 months ago
Very nice. I am trying to compile the C::B project on Win7, but I am getting "ld.exe cannot find -lOIS_static"...Any ideas how to fix this?
EricMorgan1 4 months ago
@EricMorgan1 Well the demo has a couple of dependencies. One of them is the Object Oriented Input System (IOS). You have to download it from sourceforge net. See the readme section "Compile it yourself"
Ingrater88 4 months ago
How do you sort the grass from back to front for transparent rendering?
Shadows0fIntent 7 months ago
@Shadows0fIntent The gras is rendered with alpha to coverage. Using that you don't need to do, back to front rendering
Ingrater88 7 months ago
Now I have a computer performace testing program. That's just perfect in testing how your computer is doing with games that has many objects. Thank you :) . Before I can create something similar to this, I will use it.
gailiuxas 7 months ago
This has been flagged as spam show
Hey would you like to join a professional gaming team of 25 people? If your interested contact me at m.meyer@vxtream.com. We are currently developing a 3D MMO.
VisionXtream 8 months ago
realtime?
XeadXhot 8 months ago
@XeadXhot Yes realtime
Ingrater88 8 months ago
@Ingrater88 Be proud. I would be, thats awesome.
XeadXhot 8 months ago
How in the....
MonocleWizard 10 months ago
Looks amazing. How long did it take for you to code all of this? :D
NocturneXIII 10 months ago
perfect place for meditation.
i can almost smell the tree leaves and flowers!
pulsedrop 11 months ago
the grass are cards?
xXxDiukexXx 11 months ago
@xXxDiukexXx yes they are crads in a star pattern
Ingrater88 11 months ago
@Ingrater88 nice :D, look I have basic C++ knowledge and want to make my OpenGL engine, but idk what I should learn first, how you started to learn OpenGL? any key concepts of C++ I should know? :]
ty for your time :3
xXxDiukexXx 11 months ago
@xXxDiukexXx I would start writing OpenGL programs and learn more C++ on the way. If you learn all the concepts first, you are not going to understand what they are good for that easily, because you didn't come across that problem yourself yet.
Ingrater88 11 months ago
@xXxDiukexXx Honestly I would do exactly what Ingrater88 just suggested. I learned so much by just leaping in. I learned C++ but then decided to step up and apply it. Key concepts that you'll need to know, I would recommend writing a simple 2D level editor in C++ with OpengGL. You learn a ton in the process of terrain/world editors. After that you should pretty much know plenty of necessary basics. I recommend SFML or GLUT for standard mouse and keyboard input.
Cheers, Josh
MadPumpkinGames 10 months ago
Hi
Ich habe mir mal eure Quellcodes angesehen. Wieso schreibt ihr Shit wie:
char /*Name*/ = /*Irgend 'ne Funktion mit boolschem Rückgabewert*/ ? 1 : 0;
oder
if(/*Irgend 'ne Funktion mit integralem Rückgabewert*/ == 0){/*Anweisungsblock*/};
Nimmt mich echt wunder...
Und noch zwei Dinge: Wieso renderst du die Skysphere unterhalb des Terrains und werhalb hast du kein Backface-Culling?
Backface-Culling geht so:
glEnable(GL_CULL_FACE);
glFrontFace(GL_CCW);
hiphoper19881988 1 year ago
MY comp specs:
Geforce 8200 integrated 1011 gigs
2 gig ram
AMD Athlon 1.6 GHz
I have ran at 800x600 res and up:
Far Cry 2, Batman Arkham Asylum, Burnout, Grid, Crash Time 3, Left 4 Dead 2, Ashes 2009, Tomb Raider Underworld etc. ALL RUN, NEVER UNDER 15 FPS.
your game 6 - 12 fps....800x600...... from the looks of things ur not a very optimal coder. Reanalyze your programming skills here.
Cavemanbennett 1 year ago
@Cavemanbennett Look like u missed some driver or something like this. Got same (other parts but same power) PC and this gave me ~100fps always.
Vaironie 1 year ago
Nicer than stupid "photorealism"!
domsau2 1 year ago
realy love this fluffy grass and leaves on the tree´s:) way better than boring flat ground and so on:)
Necry3d 1 year ago
Beautiful!! Is there any way that you could help me develop my own code for drawing similar trees? I'd really like to learn how to begin to imitate natural scenery with OpenGL !!
Great upload!
11889music 1 year ago
@11889music
You can download the sourcecode of this demo at 3d.benjamin-thaut.de if you want to look into the shaders and the c++ source to see how I did it.
Ingrater88 1 year ago
@Ingrater88 Well, I tried that, but it got a little complicated. TO begin with, I only have a macintosh at home and I've never dealt at all with xml files. So, I'm just not sure how to copy it all over and compile it.
11889music 1 year ago
@11889music
Well this most likely is not going to work on a MAC. It was only built for linux and windows as I don't have access to a MAC. The xml files are just a wrapper for the actual shader code, so you might wanna look into the xml files inside ths shader folder.
Ingrater88 1 year ago
@Ingrater88 It should work on a mac, you might just have to do some conditional compilation for the extension code.
avansc 1 year ago
damm that's some bad ass graphics.
mengthor 1 year ago
This looks amazing, great job!
fingerprint211b 1 year ago
Awesome! That's gorgeous.
supernewuser 1 year ago
looks like the minininjas-engine xD
XanatosFan 1 year ago
very nice looking
ikekszi 1 year ago
Very, very good!!!
I wish I would be as good as you.
clezZ1895 1 year ago
this is sweet as hell
locdown120 1 year ago
that is incredible! it looks like it was painted! its so beautiful!
ERTLPFM 1 year ago
Very nice, It doesn't look incredible like some of the demos out there, but i'm just starting learning opengl and this must have ALOT of work behind it, and is very very nice, even more so being made by a single person. I can't wait to get far enough that I can make something at least approaching this!
Imprezaman555 1 year ago
DUDE u r my hero D:
AeRoS0n 1 year ago
wow nice, the water and movement of grass ! good job
AeRoS0n 1 year ago
beautiful work, just stared with opengl/glut and i hope ill be as good as u in a year of coding, this work is just amazing what you can do with c++
YouKondziu 1 year ago
great ,how much time u spent for doing that.?
FaulknerCk2 2 years ago
It's a hobby of mine so I'm spending pretty much time with it. It's simply fun coding something graphical.
Ingrater88 2 years ago
okay well some people said they can do like that programs within even 1 hour so you think is it possible .? or just a fake talk
FaulknerCk2 2 years ago
Well if they use a already finished engine or something like XNA which does almost everything for you then yes. But if they write everything from scratch like I did, no definitly not. There are also plenty of things in this demo that you don't see. Debugging tools, a gui, camera path editor, etc.
Ingrater88 2 years ago
could you put a snake on the grass that's going to bite, to surprise the viewer.
lol
yerepramo 2 years ago
Very nice. a beautiful garden. I'm learning OpenGL and i'm stuck trying to make a cam to walk straight...
Grespano 2 years ago
how i can see this on my x1950 xtx crossfire ??
HatlabuFarkas 2 years ago
very nice!! :-)
the grass is moving, isn't it?
doesn't that slow down the simulation, if you want to create a map for a game for example?
i'm using blender + opengl together too :-)
szearox 2 years ago
The gras is moving. The movement is computed in the vertex shader so it does not slow down the simulation at all.
Ingrater88 2 years ago
The trees look a little bill-board-y (;D) but i love the grass!
LordQuizar 2 years ago
im currently learning c++, is opengl coding simlair to c++?
Necry3d 2 years ago
OpenGL is a C-Api so its only a bunch of function you have to call in the right order. It is not a programming language itself.
Ingrater88 2 years ago
this is amazing, thank you for this
Ultimarox 2 years ago
Wow, very nice work! If i saw this right, you're adjusting the detail level depending on the distance to the objects? And would you mind telling me how much of this is handwork, and how much generated? And what else besides OpenGL did you use? (modeling software, importers, etc).
narutofan9999 2 years ago
For modeling I used blender (for the gras shapes) the trees I've got from a friend, don't know what software he used. I wrote the file format importers myself. The used formats are 3ds and a self invented one. I used OIS for input. The landscape and tree / gras / bush positions are read from the coverage.tga in the gfx directory. The landscape is also read from a tga file. I made these using paint / gimp. The gras texture i made from a photo. The coulds are a simple noise texture made in gimp.
Ingrater88 2 years ago
thank you ^^
narutofan9999 2 years ago
For sound I used openAL.
Ingrater88 2 years ago
The foliage is amazing.
ChaosHalo 2 years ago
Amazing!! I'm looking forward to create my gardens and other green places in opengl (or other CG lib). At least it's not like those quake-style games that all guys want to make :P
homovegetus0 2 years ago
WOW!
DARKlilution 2 years ago
Es wäre schön wenn du auch einpaar Tutorials posten könntest.
amrosik 2 years ago
very good. that costs a lot of time.
amrosik 2 years ago
wow those leaves look so nice when near,
nice job!
remco138 3 years ago
The sounds add a lot to the experience.
cyborgtroy 3 years ago
pretty nifty, i think i have the same grass tex somewhere, whats the fps?? (10/20? with frustum cull)
Nevyle 3 years ago
The vid is recoreded with 30 FPS but on my system (Core 2 Duo E6600 with geforce 8800 gtx) I get about 60 Fps in the very high quality setting. But it is also possible to kill the best graphics card if you boost the settings to unrealisitc values. Like a 8096x8096 shadow map or 32x antialiasing
Ingrater88 3 years ago
This is realy amazing.I m working on a project in visual c++ using opengl and i need to load a .obj file (.3ds or something similar).Is there something you can suggest me?
Thanks
varkor87 3 years ago
Look for a file loading library / subroutine online or learn the file format and write it yourself. OpenGL doesn't have any function for loading meshes on its own.
cyborgtroy 3 years ago
It's so nice that I would like to die in a shade of that tree :)
systat 3 years ago 2
lol
FaulknerCk2 2 years ago
That was superb... Im just starting to learn opengl... And i have a question... There was no graphic program involved in this? I mean, you only used devc++ or microsoft visual studio and typed in all those verticles? If yes... you rox! :)
Szmajdziul 3 years ago
Shure there are graphic programs involved in this demo. No one does type this number of vertices into a c++ code. That is totaly insane. The trees and bushes are models in the 3ds format and the landscape is generated out of a heightmap.
Ingrater88 3 years ago
Thx for reply :)Heh i have an opengl course right now but everything taht we do needs to be typed in by hand... and that sux like you said :)... I know abouth the heightmap b/c im trying to use one instead hand-made verticles but i still dond know how to import 3ds objects into the scene :)... Still - you did a superb forest scene and i woud not change my mind about that:) Congratulations :)
Szmajdziul 3 years ago
Simply perfect!
Wish I could do something like that!
BJoe21 3 years ago
beautiful
Schicksalsstern13 3 years ago
Outstanding...the sound, the trees everything. I was stuck in a project of mine and after seeing this, I have fallen in a burst of ideas! Thanx!
ninapersson5 3 years ago
any tutorials? :'(
spider853 3 years ago
Great job. Machine specs?
BnRR34 3 years ago
The trees look that way because im lacking of an 3d artist. If you know one that can be improved very quickly.
Ingrater88 3 years ago
Are you saying everythng I see is coded (and not drawn)? I'm new to computer graphics and I want to dive into opengl programming. I have solid experience in Java, C, Python and a moderate knowledge of C++ but absolutely no knowledge of computer graphics. You got any suggestions or pointers? In the meantime, I already find interesting information about libraries you used in your demos in the readme.txt but I need the basics. Your demos looks amazing!
doseryder 3 years ago
The trees could be better, but great job!
nierdlord 3 years ago
holy shit it looks better than oblivion
Kyle15bitch 3 years ago
u said Morrowing didn't u.?
FaulknerCk2 2 years ago
What do you mean with Morrowing?
Ingrater88 2 years ago
I meant the Graphics.!
u look beat the Graphics of Morrowing
FaulknerCk2 2 years ago
You mean Morrowind the game?
I'm not looking to beat anyone, I'm doing this for fun and just wanted to share in case someone is interrested.
Ingrater88 2 years ago
I very like the demo.
frozenx7000 3 years ago
excellent demo
amcadam26 3 years ago
Wow, looks like a lot of work. I can't wait to start taking a look at GLSL (which is what I'm assuming you used?). Looks Fantastic!
neilgrey 3 years ago
Great demo, lots of very nice touches. I like the sound as well, very peaceful :)
randomelginguy 4 years ago
Impressive.. I'm not even close on learning to use shaders in oGL. The water looks great, grass looks nice n detailed, awesome shadows, the trees are maybe a bit cartoony, and clouds like they're square tiled.. Nevertheless a great demo. Well done..
cypher1554R 4 years ago