Added: 4 years ago
From: Ingrater88
Views: 27,078
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (91)

Sign In or Sign Up now to post a comment!
  • 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

    Try starting with SFML, its a 2D/3D multimedia library, with an interface to OpenGL.

    Viel Spaß

  • @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.

  • lol i am gettin huge lag

  • 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 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"

  • How do you sort the grass from back to front for transparent rendering?

  • @Shadows0fIntent The gras is rendered with alpha to coverage. Using that you don't need to do, back to front rendering

  • 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.

  • realtime?

  • @XeadXhot Yes realtime

  • @Ingrater88 Be proud. I would be, thats awesome.

  • How in the....

  • Looks amazing. How long did it take for you to code all of this? :D

  • perfect place for meditation.

    i can almost smell the tree leaves and flowers!

  • the grass are cards?

    

  • @xXxDiukexXx yes they are crads in a star pattern

  • @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 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.

    Cheers, Josh

  • 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);

  • 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 Look like u missed some driver or something like this. Got same (other parts but same power) PC and this gave me ~100fps always.

  • Nicer than stupid "photorealism"!

  • realy love this fluffy grass and leaves on the tree´s:) way better than boring flat ground and so on:)

  • 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

    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 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

    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 It should work on a mac, you might just have to do some conditional compilation for the extension code.

  • damm that's some bad ass graphics.

  • This looks amazing, great job!

  • Awesome! That's gorgeous.

  • looks like the minininjas-engine xD

  • very nice looking

  • Very, very good!!!

    I wish I would be as good as you.

  • this is sweet as hell

  • that is incredible! it looks like it was painted! its so beautiful!

  • 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!

  • DUDE u r my hero D:

  • wow nice, the water and movement of grass ! good job

  • 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++

  • great ,how much time u spent for doing that.?

  • It's a hobby of mine so I'm spending pretty much time with it. It's simply fun coding something graphical.

  • 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

  • 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.

  • could you put a snake on the grass that's going to bite, to surprise the viewer.

    lol

  • Very nice. a beautiful garden. I'm learning OpenGL and i'm stuck trying to make a cam to walk straight...

  • how i can see this on my x1950 xtx crossfire ??

  • 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 :-)

  • The gras is moving. The movement is computed in the vertex shader so it does not slow down the simulation at all.

  • The trees look a little bill-board-y (;D) but i love the grass!

  • im currently learning c++, is opengl coding simlair to c++?

  • 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.

  • this is amazing, thank you for this

  • 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.

  • thank you ^^

  • For sound I used openAL.

  • The foliage is amazing.

  • 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

  • WOW!

  • Es wäre schön wenn du auch einpaar Tutorials posten könntest.

  • very good. that costs a lot of time.

  • wow those leaves look so nice when near,

    nice job!

  • The sounds add a lot to the experience.

  • pretty nifty, i think i have the same grass tex somewhere, whats the fps?? (10/20? with frustum cull)

  • 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?

    Thanks

  • 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.

  • It's so nice that I would like to die in a shade of that tree :)

  • lol

  • 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 :)

  • Simply perfect!

    Wish I could do something like that!

  • beautiful

  • 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!

  • any tutorials? :'(

  • Great job. Machine specs?

  • The trees look that way because im lacking of an 3d artist. If you know one that can be improved very quickly.

  • 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!

  • The trees could be better, but great job!

  • holy shit it looks better than oblivion

  • u said Morrowing didn't u.?

  • What do you mean with Morrowing?

  • I meant the Graphics.!

    u look beat the Graphics of Morrowing

  • 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.

  • I very like the demo.

  • excellent demo

  • 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!

  • Great demo, lots of very nice touches. I like the sound as well, very peaceful :)

  • 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..

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more