Results 1 to 3 of 3

Thread: How do you do this: a 'dissolve' effect.

  1. #1
    Senior Member Regular Contributor
    Join Date
    Aug 2000
    Posts
    118

    How do you do this: a 'dissolve' effect.

    I wonder how would you do the effect of having a texture dissolve, or, better, having an object, and then make it dissolve in a 'random pattern'...I think it has to do with pixel or vertex shaders, but Im not sure...Maybe you can point me to some resources...Thanks...

  2. #2
    Guest

    Re: How do you do this: a 'dissolve' effect.

    I think the standard way is to use the stencil buffer. You have an example in the glut source distribution also available here http://trant.sgi.com/opengl/toolkits.../advanced.html

  3. #3
    JasonM [ATI]
    Guest

    Re: How do you do this: a 'dissolve' effect.

    The Rage128CrossFade sample does something like this with the stencil buffer. The 3D scenes on either side of the transition are just toruses, but could be whatever 3D geometry you want. To get a dissolve, just use a different pattern than the plasma pattern used in this sample.

    -Jason

Similar Threads

  1. Dissolve between 2 images and loading ppm file
    By Yoghurt in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 11-09-2009, 12:59 PM
  2. Is it in effect?
    By _student in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 11-12-2004, 08:11 AM
  3. Fog Effect
    By seainblue in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 07-16-2003, 04:40 PM
  4. demomaker effect
    By Arath in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 09-18-2002, 11:54 AM
  5. Questions on Stencil and Dissolve
    By dpsv in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 01-21-2002, 10:32 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