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

Search: Search took 0.01 seconds.

  1. Re: gluSphere crashes if GLUquadric is member pointer

    For testing sake, in your draw function add an if statement that test's to see if you have a valid pointer and place a breakpoint there.
  2. Replies
    5
    Views
    605

    Re: specular lighting does nott wor

    Did you by chance enable lighting by setting glEnable(GL_LIGHTING); ??
  3. Thread: Thick Outlines

    by Jon723
    Replies
    3
    Views
    450

    Re: Thick Outlines

    Another option is to use the stencil buffer to render an outline and them blur the outline a little to make it thicker. This is probably a slower than the previous method mentioned but it was the...
  4. Replies
    2
    Views
    136

    Re: how to avoid colors blended ...

    Yea, I agree with V-man. Before you draw your objects I would disable blending and, if needed re-enable blending afterwards.
  5. Replies
    4
    Views
    221

    Re: specular lighting looks wrong

    From the looks of it, it seems that the highlight is being interpolated over a single quad with one normal (am i correct?). You might want to try breaking up the "table" into a grid like structure...
  6. Replies
    8
    Views
    308

    Re: How can i activate antialiasing?

    If you're trying to do regular polygon anti-aliasing then you also want to set the hint for the anti-aliasing. For polygons you would want something like glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST).
  7. Replies
    4
    Views
    200

    Re: Texture blending woes

    Well, I used the code to add a alpha channel to the data (I even tried using a PNG texture with an alpha channel to achieve the same effect) but the texture still shows up transparent. Black colors...
  8. Replies
    4
    Views
    200

    Texture blending woes

    Hello everyone. In my scene I am displaying a jpeg image on a quad (I am completely aware that jpeg do not support an alpha component natively). The quad with the applied texture are faded in until...
  9. Thread: An Alpha Light

    by Jon723
    Replies
    2
    Views
    145

    Re: An Alpha Light

    Just like the alpha term for a color when using glColor4* it determines the "hardness" of the color for the light. Object transparency for the light is dependent on the material properties for the...
  10. Replies
    5
    Views
    449

    Re: Calculating position in a 3d space

    If im not mistaken what you need to do is take your image and do a simple check to see if your image x_position+x_width/2 and y_position+y_height/2 (that might not be right) is greater or less than...
  11. Replies
    2
    Views
    194

    Vertex array trouble

    I've decided to move my drawing routines from standard immediate mode routines to use vertex arrays (after I get this to work properly I'll move it to use vertex buffer objects). Basically, I have my...
  12. Replies
    1
    Views
    145

    Picking with a rotating camera

    Hello everyone, I've been having some probablems lately with my object picking code in which there are no hits detected if I rotate my camera. Things work fine (most of the time) if I just translate...
  13. Replies
    3
    Views
    211

    looking for a good gui toolkit

    I'be been looking everywhere for a gui toolkit that supports skinnable widgets. Is anyone familiar with a toolkit that supports this feature??
  14. Thread: Picking problem

    by Jon723
    Replies
    1
    Views
    111

    Picking problem

    I'm trying to debug my program that implements picking with the mouse. I'm able to pick objects with the mouse when I dont move my camera but as soon as I move my camera and try to select an object...
  15. Replies
    2
    Views
    160

    Using OpenGL within HTML

    Hello, I was wondering if there is a way to implement OpenGL with HTML. If there is a way please let me know. Thank you.
  16. Replies
    1
    Views
    175

    Using OpenGL in webpages

    Hello, I was wondering if there is a way to implement OpenGL with HTML. If there is a way please let me know. Thank you.
  17. Replies
    1
    Views
    407

    Random Placement on a grid?????

    Hello. I was wondering if someone could tell me how I would go about placeing objects in a random position on a grid.

    Actually this is what I did. I created a display list that contained the...
  18. Replies
    2
    Views
    124

    Re: ASE file loading

    hello, I am alos in the process of writing an ASE loader and the way I am going about it is that I am creating an array that can hold the index and the 3 vertices (x,z,y). Loop through the file and...
  19. Replies
    9
    Views
    284

    Re: console app VS win32 app

    If your gonna use a Win32 app you might need to know some windows programming if you plan on it handling how things are viewed, especially if your using OpenGl!!!!!
  20. Replies
    0
    Views
    90

    Collision detection in ASE files?????

    Hello again, I was wondering after I have an ASE file loaded and I want to do some collision dectection with certain objects in the file how would I go about that?? Do I have to group certain...
  21. Replies
    7
    Views
    1,074

    Re: ASE file loading?????

    Thanx everyone!!!! I think that if you use opengl cameras rather than 3DS cameras you could save your self a lot of trouble. If would be easier to control the opengl camerasrather than the 3DS ones.
  22. Replies
    7
    Views
    1,074

    ASE file loading?????

    Hello, I have this ASE file that I exported from 3DS Max and I'm creating a program to read the file and display it using OpenGL. When I read in the vertex information am I supposed to store the...
Results 1 to 22 of 22