Advertisement Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

758 Good

About Kambiz

  • Rank
  1. For fast square root and FloatToInt you can use this:
  2. Kambiz

    about OpenMP

    Even if you use 'a', the compile might still optimize the loop away and replace it by a simple assignment. Few compilers out there recognize such simple pattern very well.
  3. Kambiz

    Direct X or OpenGL?

    The code is just broken. The 3rd parameter in glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, hdrTextures[0], 0); is GL_TEXTURE_2D while he is attaching a GL_TEXTURE_2D_MULTISAMPLE. This fixed the "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT" error message. There must be at least another mistake somewhere causing the rest of the error messages.
  4. Kambiz

    Direct X or OpenGL?

    I replaced the 1 in the line WGL_ACCELERATION_ARB, 1, // must be HW accelerated with a valid value like WGL_FULL_ACCELERATION_ARB according to the documentations and it fixed the error (Chapter 13 block_redux). For some demos I get only a black or white window. I'm not going to fix all those demos... Look at the following thread for some newer tutorials: OpenGL 3.x tutorial Edit: I missed you post. I don't get any errors in chapter 9, only a black window but I'm pretty sure also that is not a problem with OpenGL itself.
  5. Kambiz

    Direct X or OpenGL?

    Quote:Original post by Kurasu1415 The bible comes with executables that do not work. They run, but throw OpenGL errors. I have tried them both under Linux and Windows, they work for me. What error message do you get? Regardless of the demos, OpenGL application should work on newer hardware. Continue learning the API. EDIT: I found a demo that does not work. I will have a closer look.
  6. Kambiz

    Direct X or OpenGL?

    Quote:Original post by Kurasu1415 Every example I find, even the ones in the NEWEST Superbible do not work on the newer cards, because the newest drivers support a newer version of OpenGL. It must have some other reason why the demos don't work. Both nVidia and AMD/ATI drivers still support all older versions of OpenGL. I have a GF260 and the demos work fine. Maybe you are missing some dlls from freeglut.
  7. Kambiz

    Forming a Game Development Company

    A very useful link:
  8. Kambiz

    Linux use and development, finally...

    Qt Creator is the best IDE I know under Linux. It has even replaced Visual Studio for me under Windows. Other alternatives are Netbeans and Eclipse. But, many Linux developers prefer text editors like gVim or Emacs.
  9. Personally, I don't care about 1MB, even on my phone. but, are You sure you are not using a debug build because the shared library I have for Linux is only 78KB. Though, I don't know how much including the header's would contribute.
  10. Kambiz

    whats this called please

    I think You mean Circular dependency.
  11. Kambiz

    OpenGL tutorials

  12. Kambiz

    How is Ruby? JRuby?

    Quote:Original post by WilleRoberts Do you mean that you don't declare something as an "int" or something like that in Ruby the way you do in C++? How problematic does this become? No, read what a specification is. Basically there is no document that tells you what a piece of code is meant to do. EDIT: Just found out that a draft exist. (Last update 11/27/2009)
  13. Kambiz

    How is Ruby? JRuby?

    Something you should know about Ruby is that it has no specification, it is based on a reference implementation. At a more advanced level I found it to be very confusing and when I found out that there is no specification I basically gave up.
  14. I think GeeXLab support everything up to OpenGL 4.1. Tough, it is not just a simple binding. [Edited by - Kambiz on December 7, 2010 4:18:45 AM]
  15. Kambiz

    How do you pass a float to a shader program?

    D3DXHANDLE nTest=mFX->GetParameterByName(0,"nTest"); Shouldn't that be "fTest" instead of "nTest"?
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!