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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Thread: beginning

    by Vincent22
    Replies
    4
    Views
    691

    You mean book about opengl 3.3+? I read only...

    You mean book about opengl 3.3+?
    I read only "Beginning OpenGL: Game Programming (second edition)" , but Opengl superbible ( the red book) maybe is better
  2. Replies
    7
    Views
    960

    Yes I know Bionic. Actually my "demo" should...

    Yes I know Bionic.

    Actually my "demo" should be in its final form for wednesday so I don't have the time to improve my GLSL knowledge, but I'll follow your suggestion in the future.
  3. Replies
    7
    Views
    960

    Thank you, I use glDrawArray (no indices) and it...

    Thank you, I use glDrawArray (no indices) and it works fine, I apply normals, vertexs and colors. I made a lot of initialization stuff in my display Func (glGenBuffer, glBufferData, etc..), now I...
  4. Replies
    1
    Views
    701

    glutIdleFunc() performance problem

    Hi,

    I have a problem with my project. If I activate glutIdleFunc() after several minutes I have a bad performance problem, slow framerate and I need to forced exit from the program.
    I tried with...
  5. Replies
    1
    Views
    531

    low framerate problem

    Hi, I have a problem with my game.
    After playing for several minutes framerate goes to low.

    I've tried playing in a simple scene: 3d model draw with VBO, no collisions, simple level e no other...
  6. Replies
    7
    Views
    960

    How can apply colors if I want to use VBO (or...

    How can apply colors if I want to use VBO (or glDrawArrays) ?
  7. Replies
    7
    Views
    960

    the problem was that I call glBegin for each obj...

    the problem was that I call glBegin for each obj model face.

    Now I've noticed a new problem, after playing for several minutes there's a bad framerate loss even If I remove all algorithm expect...
  8. Replies
    7
    Views
    960

    obj laoder performance

    Hi everyone,

    I'm developed a simple demo of a tron arcade-like game.
    I wrote an obj loader to draw my cycles, my problem is that I have a great loss performance when I draw more then one cycle...
  9. Replies
    11
    Views
    1,417

    Solved! I've implemented ray casting (using...

    Solved!
    I've implemented ray casting (using bresenham algorithm to "draw" my ray) to check collisions and now it works

    Thank you all for your answers!
  10. Replies
    11
    Views
    1,417

    Yes it's my case: fast cycle relative to thin...

    Yes it's my case: fast cycle relative to thin trail! Should I use raycast?

    thokra, trail is like a "wall" left behind the cycle while it's moving. I don't have disc in my demo.
  11. Replies
    11
    Views
    1,417

    You're right, I check collisions using precise...

    You're right, I check collisions using precise cycle position and objects "bounding box" but sometimes it fails and I don't know why. I thought it's because collision algorithm have to iterate a...
  12. Replies
    11
    Views
    1,417

    I've read something about quad tree. I think I...

    I've read something about quad tree.
    I think I could implement a simplified version of quadtree (because I have only two dynamic objects and simple arenas with small dimension). I could divide space...
  13. Replies
    11
    Views
    1,417

    Dynamic objects are two: player cycle and IA...

    Dynamic objects are two: player cycle and IA cycle, but at the moment I've implemented only the player cycle.
    Trail is static but it's generated procedurally while cycle is moving. You suggest quad...
  14. Replies
    11
    Views
    1,417

    Collisions and performance

    Hi, I need some suggests about collisions and performance.

    I'm developing a simple 3D demo of a "tron arcade" game. I'm implementing collisions using something similar to bounding box but exluding...
  15. Replies
    5
    Views
    804

    Solved my problem! I didn't put GLUT_DEPTH in my...

    Solved my problem! I didn't put GLUT_DEPTH in my glut window!
  16. Replies
    5
    Views
    804

    I'm trying to test light and my .obj loader in a...

    I'm trying to test light and my .obj loader in a simple scene using a simple .obj polygon ( a parallelepiped).
    If I don't enable light the polygon seems ok.
    If I enable light I've noticed that one...
  17. Replies
    5
    Views
    804

    Another information. In my code I draw at...

    Another information.

    In my code I draw at first some objects without light, then I set up light and draw my 3D model.
    Here is the code:


    glEnable(GL_NORMALIZE);


    //...
  18. Replies
    5
    Views
    804

    Thank you, I've already read your topic but my...

    Thank you, I've already read your topic but my znear value is 1.0 in reshape func



    glViewport(0, 0, (GLsizei)width, (GLsizei)height);
    glMatrixMode(GL_PROJECTION);
    glLoadIdentity();
    ...
  19. Replies
    5
    Views
    804

    lighting problem

    Hi, I have a problem using openGL light.

    I draw two 3D .obj model. Loader works fine, vertex and normals are correct. The problem is that when I enable light the effect on one of the model is bad:...
  20. You need passing vertices to vertex array, colors...

    You need passing vertices to vertex array, colors to color array and use faces indices (lines strating with "f") to create your index array to pass it to glDraw
    I don't know exactly how to implement...
  21. Replies
    1
    Views
    434

    glutIdleFunc performance issue

    Hi,

    in my program I have a 3D model, it starts moving pressing one button in towards only one direction (movement = speed *Dt, speed increase till it reaches max speed).

    At first I call the...
  22. solved deleting "glLoad()" on GL_PROJECTION at...

    solved deleting "glLoad()" on GL_PROJECTION at the beginning of Selection Scene display func
  23. Passing from one "scene" to another problem

    Hi everybody. I'm an Opengl beginner, I developed a simple program made up of two "different scene".
    I have a start menu and a selection scene, If I load them individually they work fine.
    The...
  24. Replies
    0
    Views
    426

    3D Object translation and resize

    Hi, in my scene I have two 2D squares and a 3D model. The model is centered inside one of the square using "glTranslate" with empiric values.

    The problem is that when I resize the window the model...
  25. Replies
    3
    Views
    830

    Re: obj loader problem

    Loaded data are correct.

    I fix my problem, it was something wrong in 3D models. I fix them using Maya and now materials work fine!
    Now drawing is also faster than before. Maybe I made something...
Results 1 to 25 of 52
Page 1 of 3 1 2 3