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

Search: Search took 0.00 seconds.

  1. Okay. I did some profiling, and I found out that...

    Okay. I did some profiling, and I found out that Display.Update takes about 0.01 second. The rest takes almost nothing. What's wrong???
  2. I fixed the texture issue, and vsync is disabled....

    I fixed the texture issue, and vsync is disabled. I am sure that I should be able to get more FPS with this.
  3. Okay.I got to the point where the first step of...

    Okay.I got to the point where the first step of deferred shading works. Screenshot:

    http://i.imgur.com/q0fZWqk.png


    Bottom left looks fine. (world pos)
    Top left is supposed to be the texture...
  4. Ok thanks alot.

    Ok thanks alot.
  5. Thank you both for your info. I'm not really...

    Thank you both for your info.

    I'm not really making a Minecraft clone, it's more like a Voxel-world mmorpg. (Yes, I still have a long way to go but I'm willing to learn and spend a few years on it...
  6. Thank you for your post. Also I would like to...

    Thank you for your post. Also I would like to apologise for my behaviour, I do appreciate your time and help. I just had a horrible day and I should not have abreacted that on you. (I hope that's...
  7. Actually you answer IS wrong. I tried it here on...

    Actually you answer IS wrong. I tried it here on a 2.1 card, and I can calculate the 100 lights with a 27 FPS. I'm looking for more answer then just yours, that's why I ask it here. I'm not dumb, so...
  8. A hundred lights (Sending light data to shaders)

    I'm developing a lighting system for my Voxel engine. It's simply a list of lights containing the following information:


    Light Position (Vec3)
    Light Color (Vec3)
    Light strength (float)

    ...
  9. Replies
    8
    Views
    4,658

    Hi guys, I still have not found the...

    Hi guys,


    I still have not found the solution, and I really want this to work. I packed the eclipse project in a rar. Could anyone please take a look at the code, and see if anything is wrong?
    ...
  10. Replies
    8
    Views
    4,658

    Thanks for the answer, but I already fixed the...

    Thanks for the answer, but I already fixed the error.
    I placed it in my last posts. I now simply don't get anything on my screen.

    Thanks!
  11. Replies
    8
    Views
    4,658

    Compiling works fine the status said it's...

    Compiling works fine the status said it's compiled successfully. I dont know how to check if there are link errors. Could you provide me with an example?

    Thanks again for your help :)

    Edit:
    I...
  12. Replies
    8
    Views
    4,658

    Thank you for the answer. As I'm completely new...

    Thank you for the answer. As I'm completely new to shaders, and the example didn't provide a fragment shader, could you give me a basic fragment shader?

    Thanks, I appreciate it!

    Edit:
    I tried...
  13. Replies
    8
    Views
    4,658

    Instancing code doesn't work

    Hey guys,

    For the last couple of days I got interested in Instanced Rendering. After some research and examples, I tried to do a little test myself.
    I followed this guide:...
  14. Replies
    6
    Views
    2,070

    Thank you for your reply. Is seems that I...

    Thank you for your reply.

    Is seems that I actually am not missing an argument in glNormalPointer, as this works fine with quads. Also, could you explain how the last parameter works?...
  15. Replies
    6
    Views
    2,070

    Hmm, I'm now switching the code from quads to...

    Hmm, I'm now switching the code from quads to triangles, but I simply can't get it to work.

    Here is my vertex buffer:



    private float[] buffer_data {
    0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f,...
  16. Replies
    6
    Views
    2,070

    Thank you for your answer. I'm gonna try to...

    Thank you for your answer. I'm gonna try to implement a few optimalisations.
    Another quick question: can I remove faces in a VBO with glBufferSubData?
  17. Replies
    6
    Views
    2,070

    Voxel engine optimalisation

    Hi all,

    For the last few days I have worked on my first OpenGL test project. It's a simple voxel engine in Java with the LWJGL library. I used chunks, just like Minecraft. Those chunks are...
Results 1 to 17 of 17