Results 1 to 10 of 10

Thread: FS Glow

  1. #1

    FS Glow

    Hi,
    have You seen a demo from www.theproduct.de ? It's really amazing. (There are 4 demos, 3 in 64kb (they are really long, have many textures and so on (program will take 200 mb of ram during playing) and 1 in 8 mb).
    In the biggest demo (8mb) there is a Full Screen Glow Effect.
    Does anybody have an idea how to implement something like this?

  2. #2
    Member Contributor
    Join Date
    Feb 2003
    Location
    Mitishy
    Posts
    59

    Re: FS Glow

    render your scene to texture with all objects colored by black and the glowing object colored by it's glowing color, then blur the picture(could be done multiple times), and at last render quad, that will cover screen with blending enabled, and applied with generated texture...

  3. #3

    Re: FS Glow

    No... because it's Full Screen Glow. Everything is shining. Glow of thing that are darker is smaller that thing that are brighter (something like radius of the blur - darker have smaller radius of blur), but everything shines... That's the problem.

  4. #4
    Member Contributor
    Join Date
    Feb 2003
    Location
    Mitishy
    Posts
    59

    Re: FS Glow

    i do not understand what you mean in "...Full Screen Glow. Everything is shining..."
    everything is shinging? then draw all objects to texture with glow-color, blur and...

    or

    "...something like radius of the blur - darker have smaller radius of blur..."
    then you could draw each object on different textures, changing blur parameters...

    i am not able to check the demo, becaouse of my dial-up connection. could you send me screenshot of that effect? (not big much, and packed...)( gvm@nm.ru )

  5. #5

    Re: FS Glow

    My mail doesn't work
    There is this screen: http://www.czacki.edu.pl/~tweety/scoolpage/sphere1.JPG

    Yes I can do it by rendering each object into separate textures, but it will
    take too much time to render whole scene.

    This screen shows what I am talking about.
    Look - the lighter pixels are shining more than the darker ones.
    This is normal GLOW effect in postproduction of movies. In Combustion (great
    program to make a movie, to add some effects and so on) there is such effect
    and it take a milisecond to add GLOW effect, so I think that it's is
    possible to use that effect in Real-Time.

    It's makes movies ... more real

  6. #6
    Member Contributor
    Join Date
    Feb 2003
    Location
    Mitishy
    Posts
    59

    Re: FS Glow

    i don't think it will be slow...
    you can render to small-size texture, and i think you can render the scene once to texture with blurring it once... just pixels that aren't glow much are darker, and pixels that glow very lightly are lighter...

    i'm shure that the scene one picture is rendered twice:
    1. rendering the sphere with lighting
    2. (to texture) render sphere "glow-colored" and blurred, and draw screen-quad...

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

    Re: FS Glow

    You don't have to draw your glow texture at full screen resolution, you don't have to render everything to the glow texture. Yes it tends to slow you down. Try copytexsubimage ve render to texture & pick the fastest.

  8. #8

    Re: FS Glow

    Now I found another problem... my blur is slow. I blur 256x256 image every frame with blur radius about 10 and I have 15 FPS Do You know how to do very fast blur?

  9. #9
    Member Contributor
    Join Date
    Feb 2003
    Location
    Mitishy
    Posts
    59

    Re: FS Glow

    2dorbie:
    if you will not draw all objects the effect will be different...
    what if glowing object partly closed by other objects, but still visible?
    2Bobo.Bobo: I don't know, but I want to know too!

    [This message has been edited by gvm (edited 08-10-2003).]

  10. #10
    Senior Member Frequent Contributor
    Join Date
    Dec 2002
    Location
    Espoo, Finland
    Posts
    599

    Re: FS Glow

    Hi,

    Very fast blur would generating mipmaps and using a lower level mipmap to draw the fullscreen quad. It's not as bad as it might appear, because the lower levels get well antialiased, but still... Let's say you get what you pay for.

    A relatively fast way to do better blur is described in this paper: http://developer.nvidia.com/docs/io/..._EffectsNV.pdf

    -Ilkka

Similar Threads

  1. How to implement glow
    By karx11erx in forum OpenGL: Advanced Coding
    Replies: 8
    Last Post: 11-13-2008, 08:55 AM
  2. glow occlusion
    By Bruno in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 01-28-2005, 08:19 AM
  3. glow problem
    By Bruno in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 06-19-2004, 03:42 AM
  4. Tron 2.0 like glow
    By SeskaPeel in forum OpenGL: Advanced Coding
    Replies: 13
    Last Post: 11-12-2003, 02:45 PM
  5. Whats CPW and GLOW?
    By Keermalec in forum OpenGL: General
    Replies: 2
    Last Post: 02-06-2002, 08:40 AM

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