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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Re: Any Advantages To Really Small Display Lists?

    Orzech and 31337, ROTFLMAO!

    Anyway, say I'm displaying an array of points as "tiles". I've got a 64x64 array, each with a z value that I use to construct a set of 3x3 tiles.
    ...
  2. Replies
    3
    Views
    168

    Re: Picking Slowdown in Fullscreen Mode?!

    Well. I tried several different driver versions for the Voodoo3 and finally, using 3dfx beta 1.07 drivers dated 1-15-2001 (actually shows up in game as 1-16-01), fullscreen picking works at full...
  3. Replies
    3
    Views
    168

    Re: Picking Slowdown in Fullscreen Mode?!

    After reloading the latest drivers (by way of the GLSETUP program) I now get an illegal operation and my engine crashes to the desktop in fullscreen mode when I right click.

    Geesh.

    When I do...
  4. Thread: ReleaseDC

    by Heaven
    Replies
    18
    Views
    1,261

    Re: ReleaseDC

    From MSDN Home > MSDN Library > Windows GDI > Device Contexts > Device Context Reference > Device Context Functions:

    "The ReleaseDC function releases a device context (DC), freeing it for use...
  5. Thread: ReleaseDC

    by Heaven
    Replies
    18
    Views
    1,261

    Re: ReleaseDC

    You know, you don't have to release the DC of a classed window.

    Here's my shutdown code:

    if (hRC) // Do We Have A Rendering Context?
    {
    if (!wglMakeCurrent(NULL,NULL)) // Are We Able To...
  6. Replies
    3
    Views
    168

    Picking Slowdown in Fullscreen Mode?!

    Hi there. This is weird. I'm trying to get picking working using the GL_SELECT rendermode. When I'm in fullscreen mode, each pick takes like 1 full second to process. When I'm in windowed mode it...
  7. Replies
    7
    Views
    1,575

    Re: Rubber-band method drawing lines ??

    Can't you get the initial position of the mouse on a mousebutton down event, then get the final position of the mouse on the mousebutton up event?

    In between you draw a rectangle every frame from...
  8. Replies
    0
    Views
    107

    OpenGL RTS Game Engine Work in Progress

    Revised the rendering function. Now renders terrain mesh, water mesh, and objects in one pass instead of three.

    Added some functions like wireframe, texturing toggle, adjustable water depth,...
  9. Replies
    0
    Views
    204

    OpenGL RTS Game Engine Work in Progress

    Revised the rendering function. Now renders terrain mesh, water mesh, and objects in one pass instead of three.

    Added some functions like wireframe, texturing toggle, adjustable water depth,...
  10. Replies
    8
    Views
    159

    Re: Basic Texturing...

    From what I read, Windows BMPs don't have an alpha channel. First I load the bitmap into a temporary buffer, then I copy that buffer to my texture adding a 4th byte for the alpha. This means I have...
  11. Rendering Waves in Realtime - Ideas for Shoreline Wave Foam/Whitecaps?

    I've got what I feel is a decent water model going so far, where the water is represented by a height field just like my terrain and is perturbed with sine functions in realtime (check out ...
  12. Replies
    1
    Views
    248

    Re: Alpha 2D/3D RTS Engine - Comments Wanted!

    I have a question regarding the way I'm drawing my objects (trees and boats so far).

    The landscape is a heightmap rendered as triangles to form a square grid. Projection is orthogonal. I first...
  13. Replies
    1
    Views
    248

    Alpha 2D/3D RTS Engine - Comments Wanted!

    Check out some shots and the zipped executable at:
    http://www.knology.net/~heaven

    Let me know what you think. I'm hoping to accomplish something at least as good as War 2. ...
  14. Replies
    4
    Views
    203

    Re: Shadows in terrain engine

    Couldn't you just take the dot product between each vertex normal and the light vector? Or is that just another way of saying "casting a ray"? Heh heh.

    Are you doing this in realtime or...
  15. Replies
    12
    Views
    592

    Re: Water in a terrain engine

    Just a few comments about my progress on the off chance anyone's interested.

    I load in a greyscale bitmap and generate my map information dynamically based on size (memory permitting). I've got...
  16. Replies
    12
    Views
    592

    Re: Water in a terrain engine

    More quads mean a slower engine, but how else can you get sinusoidal perturbations in wave height to emulate real ocean like waves?

    I've got an additional "height map" for my ocean grid which I am...
  17. Replies
    12
    Views
    592

    Re: Water in a terrain engine

    I've got the same problem and am using the same method as you are until I get a textured wavy surface going. When I zoomed my camera in and scaled my view down to keep everything the same size it...
  18. Replies
    5
    Views
    304

    Re: view-frustum culling

    I believe the FAQ code said that since the projection and modelview matrices are already normalized, you don't need to normalize the results. Thus, you can take out all the "normalize the result"...
  19. Re: Terrain - How to Get Height at [x,y] - Still Having Probs! Help Plz?

    I finally got it. Thanks Dans for your help. I really appreciate it.

    Persevering under your expert tutelage I finally found the cause of my problems. My "xpos" and "ypos" (and BTW I force the...
  20. Terrain - How to Get Height at [x,y] - Still Having Probs! Help Plz?

    I've done my best to implement the code Dans gave me in my previous post, but with mixed results. It gets me in the ballpark but it's chopping like mad on me. The transitions are not smooth between...
  21. Terrain Renderer - How to Get Height at [x, y]?

    I've checked a few other posts but I'm still not getting this.

    My map is a height field, with fixed distance x/y and variable z.

    My eyepoint goes from [0.0...1.0] before you wrap to the next...
  22. wglCreateContext failing after my program performs an illegal op?!

    Any way to avoid having to reboot to clear this up so I can recompile and rerun the program?

    Much thanks in advance for any help on this one.


    Heaven
    heaven@knology.net
  23. 3D Tree Trunks/Branches Using Texture-Mapped Lines

    I was just thinking, since we can texture any primitive (including lines), what would prevent me from drawing the trunk and branches of a 3D tree using fat GL_LINEs? I could then slap some...
  24. Replies
    1
    Views
    200

    Fog Color Doesn't Match Clear Color?

    I was just wondering what could be going on here. Clear color is set to 0.5f, 0.5f, 0.5f, 0.5f, and the fog color is set to exactly the same. That's nice, right? Well, my distant polys aren't...
  25. Replies
    1
    Views
    162

    Terrain Rendering Using Vertex Arrays?

    Could somebody help me out with theory here? I'd sure appreciate it.

    Map is say, 1024x1024, an array of floats representing z values loaded from a greyscale bitmap at runtime:

    float...
Results 1 to 25 of 31
Page 1 of 2 1 2