taskpyFormex - Tasks: task #12366, Change the rendering engine to use...


You are not allowed to post comments on this tracker with your current authentification level.

task #12366: Change the rendering engine to use vertex buffers and shaders

Submitted by:  Benedict Verhegghe <bverheg>
Submitted on:  Sat Dec 22 19:11:30 2012  
Should Start On: Mon Dec 31 23:00:00 2012Should be Finished on: Sun Jun 30 22:00:00 2013
Category: NonePriority: 7 - High
Status: In ProgressPrivacy: Public
Percent Complete: 20%Assigned to: Benedict Verhegghe <bverheg>
Open/Closed: OpenEffort: 0.00

Mon May 6 07:54:29 2013, comment #2:

We have the basic parts of the new rendering engine working. This includes computing the matrices, use vertex buffer objects, basic shader programs, uploading of shader uniforms. The engine renders object color and vertex color modes. Element color and lighting still need to be done. Also a lot of the traditional rendering attributes of pyFormex need to be added. And any objects more complex than points, lines or triangles needs to be transformed to those.

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
Sat Dec 22 20:52:57 2012, comment #1:

I created a new subdirectory 'opengl' for the development of the new rendering engine. I prefer this to using a branch, because most of the source will remain the same. I intend to create a command line option to switch to using the new model. When it is finished, we can then remove the old drawing functionality from the 'gui' directory. Having separate gui/opengl directories makes sense: opengl may be useful without gui (rendering in a buffer to create images, movies; or creating webgl output).

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
Sat Dec 22 19:11:30 2012, original submission:

The current rendering engine in pyFormex uses only OpenGL v1 features. More precisely, we use display lists. While we have highly optimized this (critical functions are in the compiled C library), this technique has been deprecated by the OpenGL developers. And although compatibility layers may continue to be created in future, we are left with some inevitable shortcomings:
- new hardware (graphics cards) can not be used optimally,
- it is not compatible with OpenGL ES. This is used in embedded systems (e.g. Android, WebGL).

Therefore we aim to replace the current rendering engine with a new one, using vertex buffers and shaders. This is a major overhaul and it will therefore be done outside the main svn tree. It will become part of the main tree only after release 1.0 of pyFormex. Because we are convinced that this change is important for the future of pyFormex, this task will get high priority and we aim to finish it by mid 2013.

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by bverheg (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon May 6 07:54:29 2013bverhegStatusNone=>In Progress
      Percent Complete0%=>20%
      Assigned toNone=>bverheg

    Back to the top

    Powered by Savane 3.1-cleanup1