Sign in to follow this  
Lazy Foo

OpenGL What's are some good appplied OpenGL books?

Recommended Posts

Lazy Foo    1113
I read through the OpenGL SuperBible 4th edition, currently planning to get through the OpenGL SuperBible 5th to beef up my shader knowledge. The books are excellent at explaining the OpenGL API and the fundamentals of graphics programming.

While it's nice to be able to render a sphere, texture it, cell shade it, apply bloom to it, display it's normals, and phong shade it. I would like to do more real world oriented stuff. Like how would I take animation made in 3DSmax or Maya and implement it on OpenGL efficiently? How would I achieve Street Fighter IV or Okami style shader effects? How would I implement facial animation system? How would I implement motion capture?

I know all these topics aren't likely to be covered single book (or even in OpenGL). It's just some of the topics I'm interested in. What I'm searching for is something a more advanced so I can continue building my graphics programming skills.

Share this post


Link to post
Share on other sites
mmakrzem    1036
you might be interested in viewing the video tutorials that i posted on my site.

i basically show how to create a game engine using openGL

Share this post


Link to post
Share on other sites
TTT_Dutch    240
[quote name='mmakrzem' timestamp='1311194850' post='4838129']
you might be interested in viewing the video tutorials that i posted on my site.

i basically show how to create a game engine using openGL
[/quote]

How would I access those free? I really can't pay :P

Share this post


Link to post
Share on other sites
mmakrzem    1036
You can sign up for a free membership here: [url="http://www.marek-knows.com/createAccount.php5"]http://www.marek-knows.com/createAccount.php5[/url]

Share this post


Link to post
Share on other sites
Hiwas    5807
[quote name='Lazy Foo' timestamp='1310947379' post='4836545']
I read through the OpenGL SuperBible 4th edition, currently planning to get through the OpenGL SuperBible 5th to beef up my shader knowledge. The books are excellent at explaining the OpenGL API and the fundamentals of graphics programming.

While it's nice to be able to render a sphere, texture it, cell shade it, apply bloom to it, display it's normals, and phong shade it. I would like to do more real world oriented stuff. Like how would I take animation made in 3DSmax or Maya and implement it on OpenGL efficiently? How would I achieve Street Fighter IV or Okami style shader effects? How would I implement facial animation system? How would I implement motion capture?

I know all these topics aren't likely to be covered single book (or even in OpenGL). It's just some of the topics I'm interested in. What I'm searching for is something a more advanced so I can continue building my graphics programming skills.
[/quote]

Learning the API is one thing, learning the items you mention is generally something different and not normally part of the api or books about the api as you kinda guessed. Probably one of the most comprehensive books to start with would be[font="verdana, arial, helvetica, sans-serif"][size="2"]: Real-Time Rendering by Moller/Haines. It is a bit terse and meant more as a reference book than a learning book but it can get you started on an area of interest, specific terms to search for etc to find other books.[/size][/font]
[font="verdana, arial, helvetica, sans-serif"][size="2"]
[/size][/font]
[font="verdana, arial, helvetica, sans-serif"][size="2"]Given the mentioned items I'll make a couple suggestions. For animation this has two separate sides, one is the export from the tool (you can't simply read in a Max/Maya file for the most part, so you need an exporter) for which I suggest Maya and the books: Complete Maya Programming - Volume 1+2. (This is a preference, 3DS Max is what we use at my current job, it works fine, I just used to do all the exporters and animation systems for a prior job using Maya.) An other way to approach it is to look into FBX and/or Collada as intermediate formats and then just write a translator between that and your game requirements. Actually performing the animation itself on the engine side, I don't have any particularly good book suggestions, the Real-Time Rendering book is all I remember for reference material since I really don't remember when/where I learned how to do the actual math for the underlying systems involved. (Yeah, I've been doing this since even before Voodoo cards, so I learned the hard way.)[/size][/font]
[font="verdana, arial, helvetica, sans-serif"][size="2"]
[/size][/font]
[font="verdana, arial, helvetica, sans-serif"][size="2"]I won't go into detail on the shaders, just do an Amazon search for that and you'll find dozen's of books on the subject, I'll just say that the Shader X series usually seemed to focus more on actual effects while others traversed into what I'm about to mention. I would suggest moving back a step though and starting with a more practical approach in terms of getting your foundation solid before getting into specifics. Being able to do effects and all that is a good starting point but managing a 3D engine in the context of a game is considerably more complicated. As such, I suggest a more fundamental starting point so you have a good foundation before simply writing a graphics engine. I'd suggest something along the lines of: Game Engine Architecture as a fundamental starting point, just read through it so you have a better understanding of how a graphics engine needs to work within the context of other game systems.[/size][/font]
[font="verdana, arial, helvetica, sans-serif"][size="2"]
[/size][/font]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • By markshaw001
      Hi i am new to this forum  i wanted to ask for help from all of you i want to generate real time terrain using a 32 bit heightmap i am good at c++ and have started learning Opengl as i am very interested in making landscapes in opengl i have looked around the internet for help about this topic but i am not getting the hang of the concepts and what they are doing can some here suggests me some good resources for making terrain engine please for example like tutorials,books etc so that i can understand the whole concept of terrain generation.
       
    • By KarimIO
      Hey guys. I'm trying to get my application to work on my Nvidia GTX 970 desktop. It currently works on my Intel HD 3000 laptop, but on the desktop, every bind textures specifically from framebuffers, I get half a second of lag. This is done 4 times as I have three RGBA textures and one depth 32F buffer. I tried to use debugging software for the first time - RenderDoc only shows SwapBuffers() and no OGL calls, while Nvidia Nsight crashes upon execution, so neither are helpful. Without binding it runs regularly. This does not happen with non-framebuffer binds.
      GLFramebuffer::GLFramebuffer(FramebufferCreateInfo createInfo) { glGenFramebuffers(1, &fbo); glBindFramebuffer(GL_FRAMEBUFFER, fbo); textures = new GLuint[createInfo.numColorTargets]; glGenTextures(createInfo.numColorTargets, textures); GLenum *DrawBuffers = new GLenum[createInfo.numColorTargets]; for (uint32_t i = 0; i < createInfo.numColorTargets; i++) { glBindTexture(GL_TEXTURE_2D, textures[i]); GLint internalFormat; GLenum format; TranslateFormats(createInfo.colorFormats[i], format, internalFormat); // returns GL_RGBA and GL_RGBA glTexImage2D(GL_TEXTURE_2D, 0, internalFormat, createInfo.width, createInfo.height, 0, format, GL_FLOAT, 0); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); DrawBuffers[i] = GL_COLOR_ATTACHMENT0 + i; glBindTexture(GL_TEXTURE_2D, 0); glFramebufferTexture(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + i, textures[i], 0); } if (createInfo.depthFormat != FORMAT_DEPTH_NONE) { GLenum depthFormat; switch (createInfo.depthFormat) { case FORMAT_DEPTH_16: depthFormat = GL_DEPTH_COMPONENT16; break; case FORMAT_DEPTH_24: depthFormat = GL_DEPTH_COMPONENT24; break; case FORMAT_DEPTH_32: depthFormat = GL_DEPTH_COMPONENT32; break; case FORMAT_DEPTH_24_STENCIL_8: depthFormat = GL_DEPTH24_STENCIL8; break; case FORMAT_DEPTH_32_STENCIL_8: depthFormat = GL_DEPTH32F_STENCIL8; break; } glGenTextures(1, &depthrenderbuffer); glBindTexture(GL_TEXTURE_2D, depthrenderbuffer); glTexImage2D(GL_TEXTURE_2D, 0, depthFormat, createInfo.width, createInfo.height, 0, GL_DEPTH_COMPONENT, GL_FLOAT, 0); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glBindTexture(GL_TEXTURE_2D, 0); glFramebufferTexture(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, depthrenderbuffer, 0); } if (createInfo.numColorTargets > 0) glDrawBuffers(createInfo.numColorTargets, DrawBuffers); else glDrawBuffer(GL_NONE); if (glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) std::cout << "Framebuffer Incomplete\n"; glBindFramebuffer(GL_FRAMEBUFFER, 0); width = createInfo.width; height = createInfo.height; } // ... // FBO Creation FramebufferCreateInfo gbufferCI; gbufferCI.colorFormats = gbufferCFs.data(); gbufferCI.depthFormat = FORMAT_DEPTH_32; gbufferCI.numColorTargets = gbufferCFs.size(); gbufferCI.width = engine.settings.resolutionX; gbufferCI.height = engine.settings.resolutionY; gbufferCI.renderPass = nullptr; gbuffer = graphicsWrapper->CreateFramebuffer(gbufferCI); // Bind glBindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo); // Draw here... // Bind to textures glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_2D, textures[0]); glActiveTexture(GL_TEXTURE1); glBindTexture(GL_TEXTURE_2D, textures[1]); glActiveTexture(GL_TEXTURE2); glBindTexture(GL_TEXTURE_2D, textures[2]); glActiveTexture(GL_TEXTURE3); glBindTexture(GL_TEXTURE_2D, depthrenderbuffer); Here is an extract of my code. I can't think of anything else to include. I've really been butting my head into a wall trying to think of a reason but I can think of none and all my research yields nothing. Thanks in advance!
    • By Adrianensis
      Hi everyone, I've shared my 2D Game Engine source code. It's the result of 4 years working on it (and I still continue improving features ) and I want to share with the community. You can see some videos on youtube and some demo gifs on my twitter account.
      This Engine has been developed as End-of-Degree Project and it is coded in Javascript, WebGL and GLSL. The engine is written from scratch.
      This is not a professional engine but it's for learning purposes, so anyone can review the code an learn basis about graphics, physics or game engine architecture. Source code on this GitHub repository.
      I'm available for a good conversation about Game Engine / Graphics Programming
    • By C0dR
      I would like to introduce the first version of my physically based camera rendering library, written in C++, called PhysiCam.
      Physicam is an open source OpenGL C++ library, which provides physically based camera rendering and parameters. It is based on OpenGL and designed to be used as either static library or dynamic library and can be integrated in existing applications.
       
      The following features are implemented:
      Physically based sensor and focal length calculation Autoexposure Manual exposure Lense distortion Bloom (influenced by ISO, Shutter Speed, Sensor type etc.) Bokeh (influenced by Aperture, Sensor type and focal length) Tonemapping  
      You can find the repository at https://github.com/0x2A/physicam
       
      I would be happy about feedback, suggestions or contributions.

    • By altay
      Hi folks,
      Imagine we have 8 different light sources in our scene and want dynamic shadow map for each of them. The question is how do we generate shadow maps? Do we render the scene for each to get the depth data? If so, how about performance? Do we deal with the performance issues just by applying general methods (e.g. frustum culling)?
      Thanks,
       
  • Popular Now