Results 1 to 4 of 4

Thread: Is it necessary to do the needless work?

  1. #1
    Junior Member Newbie Fraktalius's Avatar
    Join Date
    Jul 2008
    Location
    Russia, Moscow
    Posts
    12

    Is it necessary to do the needless work?

    When we rotating, translating or scaling a scene, we must draw the scene again and again and it extremely slowing down the computer work, if the scene contains difficult images. Is there in OpenGL a way to avoid a reiteration?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Mar 2001
    Posts
    3,574

    Re: Is it necessary to do the needless work?

    This is how rendering applications work. You draw the whole scene every frame.

  3. #3
    Member Newbie
    Join Date
    May 2001
    Posts
    38

    Re: Is it necessary to do the needless work?

    Best you can do is draw simplified geometry during the rotation/panning, and then the complete mesh again when the motion has finished.

  4. #4
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: Is it necessary to do the needless work?

    Be sure to submit the geometry efficiently to the GPU. No need to transfer all this data each frame. Use at least old fashionned display lists, or even better : VBO (vertex buffer objects).

    For zoom/pan, you may get away with capturing to texture the first render, then only manipulate a quad texture with it. Very fast.

Similar Threads

  1. Replies: 5
    Last Post: 04-03-2015, 04:34 AM
  2. Work Group and Work Item sizes
    By howard in forum OpenCL
    Replies: 1
    Last Post: 03-08-2013, 11:08 PM
  3. Replies: 2
    Last Post: 12-14-2011, 05:47 PM
  4. Replies: 1
    Last Post: 11-18-2011, 10:05 AM
  5. help with work items in work groups
    By gatodelsol in forum OpenCL
    Replies: 3
    Last Post: 09-14-2011, 10:12 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