Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: OceanJeff40

Page 1 of 5 1 2 3 4

Search: Search took 0.00 seconds.

  1. Thread: Rotation

    by OceanJeff40
    Replies
    1
    Views
    103

    Without seeing more code, my guess is that the 3D...

    Without seeing more code, my guess is that the 3D cube's points (vertices) are all centered around (0,0,0).
    You must either use an offset in your rotation calculations, or center the points of the...
  2. NanoGui wouldn't generate project with CMake

    Anybody have any lucky with NanoGui, I see there are some videos on youtube of programmers using NanoGui for OpenGL projects.

    I downloaded the full repository from GitHub.com, but could not get...
  3. Without more info, we may not be able to say, you...

    Without more info, we may not be able to say, you may want to consider posting this on a Visual Studio 2017 forum.... it could even be a bug that needs to be reported.

    The only real problem that...
  4. Replies
    3
    Views
    192

    Each wall will have 4 points, so the 4 calls to...

    Each wall will have 4 points, so the 4 calls to glMultiTexCoord2f and glVertex3f functions are handling one wall, and it's in a loop, with a nested loop, so it looks like it's a 20x20 maze.

    Oh,...
  5. Yes, a big one is binding your vertex array...

    Yes, a big one is binding your vertex array object, before you call the drawing command. First you have your program initialization (not in the main draw loop yet), which probably has the proper VAO...
  6. Replies
    1
    Views
    197

    Hmmmm.. this looks familiar? Duplicate thread. ...

    Hmmmm.. this looks familiar? Duplicate thread.

    duplicateThread.delete() or bothThreads.merge()

    haha,

    jeff
  7. Replies
    1
    Views
    155

    Have you written any basic opengl programs yet? ...

    Have you written any basic opengl programs yet? I ask because if you had, your questions would probably be answered.....by you!

    Give it a try, is my #1 recommendation, start slow, draw a...
  8. Sounds like a plan to me, not shaky at all. I...

    Sounds like a plan to me, not shaky at all.

    I would verify that you can properly parse the version # from all versions before relying on it, but that's just me.

    Jeff
  9. Replies
    1
    Views
    157

    You are creating your Vertex Array Object, but...

    You are creating your Vertex Array Object, but never binding it, and thus molding to do your bidding. You are binding the GL_ARRAY_BUFFER, but then a few lines later, you are binding something else...
  10. Replies
    1
    Views
    312

    I think 3D Textures is an advanced topic, I still...

    I think 3D Textures is an advanced topic, I still don't know how to properly utilize them yet. Might want to start with 2D Textures first, it's got a much less steep learning curve.

    Jeff

    P.S....
  11. What does it render so far? I have done some...

    What does it render so far?

    I have done some simple videos on instanced rendering on my youtube channel, just FYI, here's a link:

    First a video on instancing (at least one way to do it!):
    ...
  12. Just for giggles, I decided one day, that I had...

    Just for giggles, I decided one day, that I had to draw a dodecahedron (12-sided polygon) !!!

    Here's the youtube link:

    https://www.youtube.com/watch?v=bHMdzx8AvV0

    Jeff
  13. I don't do this, by the way, I'm probably a freak...

    I don't do this, by the way, I'm probably a freak of nature, for programming in normalized device coordinates. lol

    Jeff
  14. Are you referring to viewport coordinates? You...

    Are you referring to viewport coordinates? You can program in viewport coordinates, but then must specify to opengl when using drawing commands that your vertices are not normalized, and therefore,...
  15. Yes, I agree, base your movement on pixels per...

    Yes, I agree, base your movement on pixels per time, rather than pixels per frame.

    Jeff
  16. I'm not sure that it would matter, but why does...

    I'm not sure that it would matter, but why does it matter to you? Just curious.

    Also, if you resize the window, is it the same effect?

    Jeff
  17. Move less quickly through your screen...

    Move less quickly through your screen coordinates.
    Jeff
  18. Interesting. I had plans to set up a Linux...

    Interesting. I had plans to set up a Linux system and devote a section of my YouTube channel on OpenGL, just to that.

    Anyways, aside from my lack of Linux experience.... It looks like you have a...
  19. In my youtube video channel on opengl tutorials,...

    In my youtube video channel on opengl tutorials, I have been slowly building and playing with a particle system that is just POINTS (Point Sprites), however, I use the Fragment shader to map either...
  20. Replies
    5
    Views
    615

    Looks like a good start. Jeff

    Looks like a good start.

    Jeff
  21. Replies
    1
    Views
    409

    Are you adding too much in your intSpacing...

    Are you adding too much in your intSpacing variable with each loop iteration?
    Jeff
  22. might have to do with glFrontFace(GL_CCW) just...

    might have to do with glFrontFace(GL_CCW)

    just guessing

    Jeff
  23. Replies
    1
    Views
    341

    I was just noticing the standardization of your...

    I was just noticing the standardization of your shader filenames, except the depth shaders, the debugDepthQuad and depthShader fragment shaders have names that are not expected. Could this be the...
  24. Replies
    12
    Views
    907

    Also, yeah, if you're using the code from the...

    Also, yeah, if you're using the code from the website, make sure you have all of it, some of the code is linked with URLs hyperlinks in the source code of main.

    Also, make sure if you have all the...
  25. That sounds interesting, like it might be a...

    That sounds interesting, like it might be a compiler glitch? What compiler are you using?

    Thank goodness there is usually more than one way to do something...!

    Jeff
Results 1 to 25 of 106
Page 1 of 5 1 2 3 4