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

Search: Search took 0.01 seconds.

  1. Thread: Shadow casting

    by dpsv
    Replies
    1
    Views
    284

    Shadow casting

    Hi ,
    My model needs to cast and receive shadows. How do I do this. Do I have to test each polygon with every other polygon and calculate the shadow polygon. My models generally have about 5,000...
  2. Replies
    1
    Views
    219

    Questions on Stencil and Dissolve

    Hi ,
    I need to dissolve 'Polygon A' into the 'Polygons B'. What does glDepthMask(False) do and how is it different than glDisable(GL_DEPTH_TEST) ?

    Below is what I am doing. I am working on...
  3. Replies
    5
    Views
    1,216

    Re: Help!!! OpenGl and CreateDIBSection

    Hi,
    I do the following and it works

    GlMemDC = CreateCompatibleDc(NULL);
    memBitmap = CreateDIBSection(0,BitmapInfo,DIB_RGB_COLORS,&pBits,NULL,0);
    OldmemBitmap = SelectObject(GlMemDc,...
  4. Replies
    0
    Views
    126

    HLR and Shadows using BSP

    Hi ,
    I have been able to create a BSP tree successfully and display my polygons correctly. Next I need to do is Boolean Calculations for HLR and secondly create Shadows. How do I do that. Can...
  5. Replies
    1
    Views
    108

    Re: OpenGL and DDB ?????

    Hi,
    Use CreateDIBSection and use compatable DC with 0.

    DPS

    [This message has been edited by dpsv (edited 01-20-2002).]
  6. Thread: Color problem?

    by dpsv
    Replies
    2
    Views
    145

    Re: Color problem?

    Is GL_COLOR_MATERIAL enabled ?
  7. Thread: Displaying Text

    by dpsv
    Replies
    2
    Views
    132

    Re: Displaying Text

    Hi ,
    try disabling the depth buffer and then try.

    DPS
  8. Thread: Big polygon

    by dpsv
    Replies
    4
    Views
    226

    Re: Big polygon

    Why not break the polygon into smaller polygons. Break your 4 sided polygon into 2 triangles and then take the centroid and create 3 new triangles. Repeat the process until the size is good enough.
    ...
  9. Replies
    5
    Views
    246

    Re: Where do I find opengl32.dll file

    Download from

    ftp://ftp.microsoft.com/softlib/mslfiles/opengl95.exe contains the Dlls and Lib files

    DPS
  10. Replies
    0
    Views
    200

    Splitting polygon in BSP

    Hi ,
    Following is the source code which I use to split a polygon by a plane. Sometimes the polygons that are split are not correct and I can't seem to understand why. The source code is a pascal...
  11. Replies
    2
    Views
    112

    Flags effecting Transparency

    Hi,
    Please tell me what state (Enabled/Disabled) should be of the following when I have to implement transparency.
    a. GL_DEPTH_TEST
    b. GL_CULL_FACE
    c. GL_ALPHA_TEST
    I am rendering the opaqe...
  12. Replies
    3
    Views
    204

    BSP - Nathan Dobbs

    Hi,
    I found an example of BSP tree by Mr. Nathan from Dr. dobbs journal site, and seems it has some bugs as it crashes one of my same input file. The other bug i found is in the Split procedure
    ...
  13. Thread: Color Space

    by dpsv
    Replies
    5
    Views
    189

    Re: Color Space

    Hi ,
    Just figured out that using blending I can never get a white color , which means I cannot create a color space. Its because the value of RGB colors will keep on decreasing and will make a...
  14. Thread: Color Space

    by dpsv
    Replies
    5
    Views
    189

    Re: Color Space

    Hi,
    Thanks for the replies...
    Yes,I was drawing from back to front and still I cannot get the colorspace to work even with 0.33 .

    Here is the figure that i want to achieve
    ...
  15. Thread: Color Space

    by dpsv
    Replies
    5
    Views
    189

    Color Space

    Hi ,
    Trying to draw 3 polygons (Red , Green , Blue) overlapping each other to get the RGB color space using blending but cant get it to work. Any ideas. I am using
    glBlendFunc(GL_SRC_ALPHA,...
Results 1 to 15 of 15