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 3 1 2 3

Search: Search took 0.00 seconds.

  1. You said it draws the function fine..... where...

    You said it draws the function fine..... where does it draw the function?

    If it's in the top left, then simply add half the screen coordinates to your drawing function:


    glVertex2f(x+(1/2...
  2. I am just beginning myself, and from my...

    I am just beginning myself, and from my experience, learning vertex shaders and fragment shaders are pretty much necessary to start programming at all in opengl, so might as well pick those up first....
  3. I dont' know python, unfortunately.... but can...

    I dont' know python, unfortunately.... but can you use an Unsigned Int, or one of the GL variable types?

    Jeff
  4. Were you first getting the error from the...

    Were you first getting the error from the compiler? and now you're getting the error when running the program?

    Jeff
  5. Where's the like button? :biggrin-new: Jeff

    Where's the like button? :biggrin-new:

    Jeff
  6. Replies
    1
    Views
    180

    Have you tried swapping the WS and AD around? ...

    Have you tried swapping the WS and AD around?

    Since W and S input response works, try, swapping the code around, so the W and S control the X axis, and A and D control the Z axis.

    Let me know,...
  7. Replies
    1
    Views
    120

    I don't always use a text editor to look at raw...

    I don't always use a text editor to look at raw binary data....

    ... but when I do, I always use Word Pad.

    Jeff

    P.S. Sorry, I had to....

    Also, have you tried loading the file with a Binary...
  8. Replies
    4
    Views
    196

    Ah, thank you for that, I appreciate the...

    Ah, thank you for that, I appreciate the clarification, I didn't get that from the opengl specs description of the variable.

    Thanks,
    Jeff
  9. Replies
    4
    Views
    196

    Ok, so I just found a thread on reddit that fixes...

    Ok, so I just found a thread on reddit that fixes this with this brute force line of code:


    glEnable(0x8861);

    This is the old enum constant for GL_POINT_SPRITE apparently, which is no longer...
  10. Replies
    4
    Views
    196

    gl_FragCoord and gl_PointCoord

    Hey all,

    I'm new to OpenGL, and to this forum as well, and I appreciate everyone's kind support, this is a great community!

    Anyways, I wanted to ask about these two built in input variables in...
  11. Replies
    1
    Views
    155

    Here is a great website to try: ...

    Here is a great website to try:

    http://www.shadertoy.com

    Jeff
    My YouTube channel devoted to OpenGL Basics
  12. Yes, I agree Instancing is what you need! I...

    Yes, I agree Instancing is what you need! I learned quite a lot following the tutorial here:

    http://www.learnopengl.com

    also made a video on the first method described in the tutorial, and...
  13. Powershell Function to generate Texture Coordinates

    Hey all,

    I was just thinking about Powershell and OpenGL, and decided to make a function to output Texture Coordinates for sprites within pics.... not sure if the beginners forum was the place to...
  14. Nice, thank you. I'll have to re-create the...

    Nice, thank you. I'll have to re-create the error, and try that.

    Jeff
  15. I posted the video that I was working on, on my...

    I posted the video that I was working on, on my youtube channel (yet another shameless plug). See link below.

    https://www.youtube.com/channel/UCzx8alrxVELz5h1dfCdkdfg?view_as=subscriber

    Gnite...
  16. NVM, this is just a glitch, I moved the code down...

    NVM, this is just a glitch, I moved the code down further in the same main() function, and it works fine.......

    Gotta love Microsoft Visual Studio 2017 (it just updated yesterday too, 5GB...
  17. Program.exe has stopped working.... error

    Hey all,

    I've added one line to a working opengl program, here it is:


    glGenVertexArrays(1, &pVAO);

    then I compile and run the program, and it stops with the error in the subject line:
    ...
  18. Replies
    4
    Views
    239

    Do you have a buffer bound to...

    Do you have a buffer bound to GL_ELEMENT_ARRAY_BUFFER?

    I'm still looking through your code, so I might find it.....but haven't seen it yet.

    Jeff
  19. Replies
    13
    Views
    743

    Actually, yes, what helped me get started was...

    Actually, yes, what helped me get started was this page also:

    https://learnopengl.com/

    He shows how to use CMake to get the third party libraries going, right from the start.

    Regards,

    Jeff
  20. Replies
    13
    Views
    743

    I'm currently making my way slowly through that...

    I'm currently making my way slowly through that very same book, and had the same startup problem as you had.

    I devoted a youtube channel to helping individuals start with opengl, and I'm making...
  21. Replies
    1
    Views
    212

    I'm fairly new to OpenGL, and the only stuff I...

    I'm fairly new to OpenGL, and the only stuff I know about .NET is from powershell.....

    but I would draw colored triangles (two for a square ie. cell) and let OpenGL render to the back buffer for...
  22. Replies
    2
    Views
    809

    If you are doing this in 2D and you want gravity,...

    If you are doing this in 2D and you want gravity, then all the platforms will be underneath the player, so you just need to test if the player's bottom hits the platform's top, then stop the movement...
  23. Is this related to back face culling? Let me...

    Is this related to back face culling?

    Let me know if that's the issue.

    Jeff

    P.S. I might as well put in a shameless plug for my youtube channel, which has some basic opengl and...
  24. I am currently still working my way through that...

    I am currently still working my way through that website, and also http://www.openframeworks.cc

    I've started to feature the openframeworks API in my youtube video library. Feel free to check it...
  25. Replies
    1
    Views
    373

    Where are you lost? What does the program do...

    Where are you lost? What does the program do when it runs?

    Jeff
Results 1 to 25 of 66
Page 1 of 3 1 2 3