Results 1 to 6 of 6

Thread: OpenGL lightning effect...

  1. #1

    OpenGL lightning effect...

    Hi All,
    I wanted to create an OpenGL lightning effect, with thunder sound effect, and wondered if just turning an OpenGL light on and off randomly would be sufficient to get the mood across?

    Essentially this will appear on the main menu and when the light is on it would highlight the background image.

    Also for a rain drop effect, would it be best to use a texture or draw the drop effect manually using circle routines?

    All thoughts/suggestions welcome.
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  2. #2

    OpenGL lightning effect...

    Have you seen latest ATI Toy Shop demo: rain drops, etc...
    Just kidding
    There are only 10 types of people in this world; those who understand binary and those who don't.

  3. #3

    OpenGL lightning effect...

    Don't I wish
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  4. #4

    Re: OpenGL lightning effect...

    Quote Originally Posted by savage
    Also for a rain drop effect, would it be best to use a texture or draw the drop effect manually using circle routines?

    All thoughts/suggestions welcome.
    youre kidding, what you need is a rain drop texture, and simple transluscent alpha channeled particle quads, you don't need circles!!
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  5. #5

    OpenGL lightning effect...

    Argument you?¢_Tre statements Delfi, maybe he does need circles for ripples or something, a circle would be split in lots of triangles, but it could hardly be an issue for a menu. For lightning a white quad blended on top with its alpha along with scenes ambient component synced to thunder sound volume should do nicely.

  6. #6

    OpenGL lightning effect...

    just color the background. 0,0,0 when there's no thunder. and set color to 1,1,1 when there comes a thunder and slowly decrease it downto 0,0,0 again when the thunder is over

    a simple looping animated texture with raindrops splashing and fading out should do the trick with the rainy thing. maybe a little particle system could be a fine supplement. you could eventually blend two of the animated raindrop textures with different scaling/positioning for variation
    Peregrinus, expectavi pedes meos in cymbalis
    Nullus norvegicorum sole urinat

Bookmarks

Posting Permissions

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