Results 1 to 4 of 4

Thread: Glow / blur / trails ?

  1. #1
    Junior Member Newbie
    Join Date
    May 2007
    Posts
    1

    Glow / blur / trails ?

    I cant seem to find out what its called but what I'm trying to accomplish is the glowing/blur effect on an object. Like a circle that is glowing and when moved it will give off a trail or hue. kind of like the Solorwinds Screen saver

    http://www.geeklan.co.uk/images/solarwinds.jpg

    Any ideas what its called and how i can achieve this?

  2. #2
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001
    Location
    Germany
    Posts
    1,931

    Re: Glow / blur / trails ?

    Render the objects multiple times over different positions, while increasing the alpha value. The current position will have the alpha value of 1.0 (fully opaque).

  3. #3
    Junior Member Newbie
    Join Date
    May 2007
    Location
    Detroit
    Posts
    2

    Re: Glow / blur / trails ?

    another good way to accomplish this effect if you want it for all of your objects as your screenshot shows is to:

    do your rendering, then copy the screen to a texture
    then on subsequent renders, draw the copied texture over the screen at some alpha before doing your next rendering
    zig

  4. #4
    Super Moderator OpenGL Guru imported_dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    3,966

    Re: Glow / blur / trails ?

    You're looking for "motion blur" there are many ways but it's generally expensive and so it is usually approximated of done incorrectly.

    The accurate way is to integrate all positions between the last frame and this.

    Zengar's suggestion does not accomplish this because the recent frame has a weight of 1.0, ziggle's suggestion does not accomplish this because it convolves inter frame and not intra frame.

    Either or a combination of their suggestions may provide something that looks 'cool' heck it might even be closer to what you're looking for than true motion blur.

    Good luck.

Similar Threads

  1. Replies: 0
    Last Post: 03-16-2015, 11:48 AM
  2. Motion blur/swipe trails with accumulation buffer
    By ChucklesDarling in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-20-2014, 11:20 AM
  3. Glow & Texture scale/bias & Blur on old hardware
    By de_iru_ch in forum OpenGL: Advanced Coding
    Replies: 10
    Last Post: 03-10-2009, 04:36 PM
  4. Explosions smoke and trails on nv35
    By Roman Grigoriev in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 09-04-2003, 04:53 AM
  5. Particle Trails
    By TheMyriad in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 04-26-2003, 03:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean