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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,248

    I suppose you could put both rotation calls into...

    I suppose you could put both rotation calls into one. glRotatef(//not sure how you'd work this out probably some sining and cosining//, 1, 1, 0);
  2. Replies
    1
    Views
    529

    Some Help With VBOs

    I need to draw lots of cubes and so I'm using VBOs.

    I need them to have vertexes(obviously), normals and textures, so I've defined all the data like this:


    GLfloat cubeVertexData[] =
    {
    ...
  3. Replies
    4
    Views
    2,331

    Ok, in the GiGi documentation they use boost...

    Ok, in the GiGi documentation they use boost 1.34. I downloaded this and tried to compile my program with it. I got the error

    Also, in the output window, for each file compiled it says


    Is...
  4. Replies
    4
    Views
    2,331

    Thanks, GiGi looks like the sort of library I was...

    Thanks, GiGi looks like the sort of library I was after. Only problem is, It needs the file boost/serialization/is_abstract.hpp. I'm using boost 1.52.0 and I can't see the file. Do I need an older...
  5. Replies
    4
    Views
    2,331

    Graphical Text Input Boxes

    In most games there are input boxes; for example, username and password details at the start of an MMO, or entering a characters name at the start of an RPG. In previous projects I've created pop-up...
  6. Replies
    4
    Views
    1,323

    Why shouldn't a transparent object write to depth...

    Why shouldn't a transparent object write to depth buffer? How else am I meant to change the drawing order without major changes to my code?
  7. Replies
    4
    Views
    1,323

    Weird overlap effect

    When I enable depth testing in my program I get this weird overlap effect. I gather it's something to do with blending but I don't know much about texture blending.
    http://i.imgur.com/vBAtP.png
    In...
  8. ~~~bump~~~

    ~~~bump~~~
  9. Although you seem fairly anti-hardware occlusion...

    Although you seem fairly anti-hardware occlusion queries I'm just curious on how you would do it and see whether it has any effect on my programs fps.
  10. What is the easiest way to do occlusion culling?

    I can't seem to find any easy to follow tutorials on how to implament occlusion culling

    Any help is much appreciated!
    Thanks,
    Rowan.
  11. Replies
    1
    Views
    1,208

    Culling objects that are behind objects?

    Is there a name for culling objects that are hidden by other objects? And how is it done?
  12. Replies
    3
    Views
    1,912

    Thanks, that's solved it! For future reference...

    Thanks, that's solved it! For future reference this is the new quads list. I worked it out by making one face at a time have red, yellow, green and blue in each corner (in that order), and then...
  13. Replies
    3
    Views
    1,912

    Back-face culling not working correctly

    I'm new to culling and I've followed a tutorial but in my program it doesn't seem to be culling correctly.

    What's happening;
    http://i.imgur.com/bIz8F.png
    http://i.imgur.com/Tqlu1.png

    Some...
  14. Replies
    1
    Views
    1,082

    Most efficient way to draw a cube?

    I'm making a voxel engine which requires a lot of cube to be drawn, thus I need a better way to draw a cube than GL_QUADS for all the sides. Which way of drawing a cube uses the least vertexes?
  15. Replies
    0
    Views
    933

    SOIL error - "Unable to open file"

    During a class construction no matter what I put as the file name SOIL_load_OGL_texture always returns "Unable to open file". This is a very annoying problem that I haven't been able to figure out...
  16. Replies
    0
    Views
    900

    SOIL - "Unable to open file"

    I'm having a problem with loading textures in soil at the moment. It only seems to work when I give to whole directory of the file as opposed to the directory relative to the executable file.

    tex...
  17. Replies
    3
    Views
    902

    Re: Overlay / GUI / UI

    Don't worry figured it out myself :)
  18. Replies
    3
    Views
    902

    Re: Overlay / GUI / UI

    How do I do that?
  19. Replies
    3
    Views
    902

    Overlay / GUI / UI

    In a simple top-down shooter shooter I'm making to make the camera follow the character i put
    glTranslatef(Player_1.x - Player_1.next_x, Player_1.y - Player_1.next_y, 0); at the beginning of the...
  20. Replies
    2
    Views
    728

    Re: Unintended Lines And Boxes

    It was an initialised variable in the cuboid class. I didn't realise that you needed to put in all variables in the setter
  21. Replies
    2
    Views
    728

    Unintended Lines And Boxes

    I have a program which, simply put, is just a large collection of cuboid however, despite not being in the code, in release mode a random line comes out of every cuboid stretching on for infinity...
  22. Replies
    2
    Views
    838

    Re: Get 3D Mouse Corordinates.

    Works a treat, thanks
  23. Replies
    2
    Views
    838

    Get 3D Mouse Corordinates.

    Is it possible to get the 3D coordinates of the point the mouse is pointing to.

    This example might help.
    http://i.imgur.com/e9v5v.jpg

    Thanks,
    Rowan
  24. Thread: No Clipping

    by Fezziwig
    Replies
    3
    Views
    912

    Re: No Clipping

    Thanks, that solved the problem. :)
  25. Thread: No Clipping

    by Fezziwig
    Replies
    3
    Views
    912

    No Clipping

    How is it possible to stop or highly reduce clipping because in a simple 3D world I created objects seem to 'fall behind the screen' a long time before they should when you moving around?

    This...
Results 1 to 25 of 40
Page 1 of 2 1 2