Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Dynamic clouds?

  1. #1
    Guest

    Dynamic clouds?

    Hello,
    the etx_fog_coord helped a bit, i didnt make it work lol... Anyway, i must make a simple class that will make dynamic clouds. some cloud layers, moving in the sky.. they can be textures i think, but im noit very sure.. Any ideas???

  2. #2
    Junior Member Regular Contributor
    Join Date
    Apr 2001
    Posts
    132

    Re: Dynamic clouds?

    i think u change the tex coords of the clouds little by little to make it look like its moving

  3. #3
    Guest

    Re: Dynamic clouds?

    Yea, that would work. But just imagine, that if we have a very huge landscape, and put a quad patch over it at some height, with a texture, the fps will go all the way down, wont they?

  4. #4
    Junior Member Regular Contributor
    Join Date
    Feb 2000
    Location
    Brisbane,QLD, Australia
    Posts
    107

    Re: Dynamic clouds?

    youll be hit with the extra fill rate, which on some cards will cause a slow down..

    you dont need to put sky geometry over the map. Do this..

    glDisable(GL_DEPTH_TEST);
    // draw small sky box/dome/cylinder or whatever
    glEnable(GL_DEPTH_TEST);

    your skybox then has only to be big enough to fill the viewing area.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •