Results 1 to 8 of 8

Thread: Fade effect in my model

  1. #1

    Fade effect in my model

    I want to do this effect
    http://image.jeuxvideo.com/images/pc/i/0/i0flpc024.jpg

    Help me please

  2. #2

    Re: Fade effect in my model

    AFAIK, it's not a fade effect, it's the Depth of Field effect. I'm pretty sure there was a demo somewhere on the GLScene's newsgroup.

  3. #3

    Re: Fade effect in my model

    Sorry, but did you do anything yourself before asking this question?
    Please try to do some research yourself. There are alot of examples on the internet which you can use. Also, try to play around with the things you know and learn, instead of starting a topic for each thing you want.

    Ontopic: This effect is called depth-of-field. It's hard to do it yourself from scratch. Using an example is probably your best bet.
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  4. #4

    Re: Fade effect in my model

    Hm, but I think I can provide you with some source code on the matter: http://www.sendspace.com/file/rz1w7s
    I think it was put on the newsgroup sometime ago. That's why I told you to subscribe.

  5. #5
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    Re: Fade effect in my model

    @chrono Actually depth-of-field is not that hard to do. The only thing you need it the depth information of the rendered scene. You can get this information directly on DirectX 10/11 or render the depth yourself in DirectX 9. (dunno about OpenGL, but should be similar).

    After having the depth info it's just a simple blur-math-calculation with respect to the depth.


    @bazbazus
    If you know how to render 3D scenes and do some pixel(fragment) and vertex shader stuff, this should be a fairly easy implementation.
    If you are working 2D if you are working 2D you can apply the same trick.
    NecroSOFT - End of line -

  6. #6

    Re: Fade effect in my model

    thank you Brainer but where I find more exemple

  7. #7

    Re: Fade effect in my model

    Why would you need more examples? I looked at brainers example and it should give you all the information you need.
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  8. #8
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    Re: Fade effect in my model

    If you want more examples try google. Plenty of resources to find on the internet.
    NecroSOFT - End of line -

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
  •