Results 1 to 4 of 4

Thread: fluid render

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2002
    Posts
    2

    fluid render

    hi!
    i'd like to know if there is an option or something to write in order to have a fluid render.
    At present when i rotate or translate my object i see it beeing erased and drawn again (quickly but i see it...).
    i don't think my datas are too big because i've seen others opengl tools which had a fluid render for the same datas.
    thanks

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,753

    Re: fluid render

    - Use double buffering. (How you set this up depends how you are creating your window. glut, Win32, MFC, SDL, etc.)
    - If using MFC, be sure to override OnEraseBkgnd and make it always return TRUE.
    Deiussum
    Software Engineer and OpenGL enthusiast

  3. #3
    Junior Member Newbie
    Join Date
    Sep 2002
    Posts
    2

    Re: fluid render

    i use glut
    i think i use already double buffering when i write:
    glutInitDisplayMode( GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE );

  4. #4
    Senior Member Regular Contributor
    Join Date
    Jul 2000
    Location
    Arlon, Belgium
    Posts
    477

    Re: fluid render

    On the NVIDIA webiste, they have a fluid render.

Similar Threads

  1. Replies: 3
    Last Post: 04-01-2015, 02:05 AM
  2. Fluid Simulation
    By Numan.pk in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 04-05-2013, 06:35 AM
  3. OpenCL Fluid Simulator
    By enjalot in forum OpenCL
    Replies: 2
    Last Post: 01-11-2011, 04:43 PM
  4. GLSL Suitable for fluid physics?
    By LemonScentedJack in forum OpenGL: GLSL
    Replies: 7
    Last Post: 04-22-2009, 05:06 PM
  5. using FL (fluid)
    By lahianim in forum OpenGL: General
    Replies: 0
    Last Post: 01-06-2004, 10:27 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