On Thu, Jan 28, 2010 at 3:53 AM, Florian Bösch <[email protected]> wrote:

> On Jan 27, 9:12 pm, Tristam MacDonald <[email protected]> wrote:
> > My assertion was never that wave.py could be perform better - though it
> > obviously can. My assertion is that you cannot make a general statement
> > about the performance of OpenGL on the basis of a single test program.
>
> I think that greenmoss now has a fairly good idea what a quagmire this
> brave new OpenGL world beyond 2 is.


   - You were aware that GL_RGB was a poor choice of format, as (and I quote
   from your own source code) "#GL_RGB might be a cludge".
   - You clearly failed to run a profiler, which would have demonstrated
   that an asynchronous copy was not happening asynchronously.
   - Most pages on r2vb found via a quick google search at least allude to
   the fact that supported formats can be a performance issue.
   - I didn't use any black magic to solve this performance problem: a
   single run of the built-in Python profiler to identify the bottleneck, 10
   minutes on google to identify a solution, and ironically the hardest part:
   20 minutes to adapt pyglet to support 4 component normals.

-

I am very keen that greenmoss (and others) not take away from this your
erroneous view that it is impossibly hard to achieve performance in OpenGL
2+.

The simple fact of the matter is that your example program is doing
something that *cannot be performed on pre-2.0 OpenGL*. It is complete
nonsense to claim that this offers any insight into ease of attaining
performance under OpenGL 2+ versus OpenGl 1.x - unless you can present an
OpenGL 1.x program which implements the same program, and demonstrates
comparable performance.

-

I believe I have made my point, and the atmosphere in here is at this point
overly antagonistic (for which I admit I am at least partly to blame). I
will leave it to others to draw their own conclusions, and will not myself
partake further in this particular discussion.

-- 
Tristam MacDonald
http://swiftcoder.wordpress.com/

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to