I built the snap-shot from feb 01. My setup is VC7.1 Athlon XP 1500 GeForce 5700.
The big UI demo runs at 1.5 fps. Thanks N.A --- [EMAIL PROTECTED] wrote: > Send ngl-devel mailing list submissions to > [EMAIL PROTECTED] > > To subscribe or unsubscribe via the World Wide Web, > visit > https://mail.gna.org/listinfo/ngl-devel > or, via email, send a message with subject or body > 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it > is more specific > than "Re: Contents of ngl-devel digest..." > > > Today's Topics: > > 1. NUI Performance Analysis (Nikolay Avrionov) > 2. Re: NUI Performance Analysis (Sebastien > Metrot) > 3. Re: NUI Performance Analysis (Ilya > Palopezhentsev) > > --__--__-- > > Message: 1 > Date: Wed, 2 Feb 2005 18:09:58 -0800 (PST) > From: Nikolay Avrionov <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [ngl-devel] NUI Performance Analysis > Reply-To: [EMAIL PROTECTED] > > I was really impressed by NUI huge number of > components, but the poor performance makes it > unusable > for any real application. > > The single bottleneck is drawing and the way NUI > uses > OpenGL to draw the user elements. > > Almost every component has a part that is > implemented > quite ineffectively. > > Examples: > TreeView draws the triangles that represent > opened/closed nodes as filled contours using glu > tessellation engine to tessellate an every triangle. > The operation is slow and awkward. > Knob draws a circle point by point using > sin/cos. > > Possible improvements: > Implement the basic primitives as fast opengl > operations (dont rasterize circles using cos/sin - > it is so 70s.) > Redraw the UI only when it is necessary. > > > -N.A > > > > __________________________________ > Do you Yahoo!? > The all-new My Yahoo! - What will yours do? > http://my.yahoo.com > > > --__--__-- > > Message: 2 > Date: Thu, 03 Feb 2005 04:26:14 +0100 > From: Sebastien Metrot <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: [ngl-devel] NUI Performance Analysis > Reply-To: [EMAIL PROTECTED] > > Hi Nikolay, and welcome :) > > I'm curious about the hardware (and os) you are > trying to get nui > running on. It's quite fast and useable (actually we > do release > shrinkwrap software based on it here). > > Win32: I test mainly on a 1.7Ghz Laptop with a > GeForce FX 5200 which is > my main dev platform. > Mac: OSX 10.3, our target machine are the PowerBook > G4 1GHz and 2xG5. > > I have used many tools like Shark (on the Mac) and > VTune on the PC to > find the bottlenecks of nui and I can tell you the > tesselation is not > even showing on the list of highly demanding > functions. Actually GLU > tesselation is quite fast but even if it wasn't > every tesselated object > is cached in an element list and are drawn very fast > every time with > calls to glDrawElements. That's the job of nuiShape: > act as a very high > level Quartz like rendering object that mainly > caches rendering > operations so that the video card just have to > execute a list of > actions. Shapes can tesselate circles, ellispses, > polygons, splines, > rectangles into a list of triangles or a list of > lines. GLU tesselation > engine also optimizes the rendering because it tried > to give triangle > fans and triangle spans instead of stupid basic > triangles when it can > and this is what can make the rendering API of nui > very fast. However, I > know there are some optimisation posible in the > actual rendering code to > improve the triangle throughouput. > > Partial redraw of the UI is implemented too, you can > just call > EnablePartialRedraw() on your nuiTopLevel object and > voila (I believe it > is enabled by default but if i'm not mistaken, but I > disable it in the > nuiTest example for obscure benchmarking reasons). > If there are no > animations on screen no redraw operation should > occur. I try to verify > that every few weeks to check that one widget is not > spoiling the CPU > for all the others. > > Anyway, I'm always open to receiving feature and > performance fixing > patches :-). > > Sebastien > > > Nikolay Avrionov wrote: > > >I was really impressed by NUI huge number of > >components, but the poor performance makes it > unusable > >for any real application. > > > >The single bottleneck is drawing and the way NUI > uses > >OpenGL to draw the user elements. > > > >Almost every component has a part that is > implemented > >quite ineffectively. > > > >Examples: > > TreeView draws the triangles that represent > >opened/closed nodes as filled contours using glu > >tessellation engine to tessellate an every > triangle. > >The operation is slow and awkward. > > Knob draws a circle point by point using > sin/cos. > > > >Possible improvements: > > Implement the basic primitives as fast opengl > >operations (dont rasterize circles using cos/sin > - > >it is so 70s.) > > Redraw the UI only when it is necessary. > > > > > >-N.A > > > > > > > > > > > > > > --__--__-- > > Message: 3 > Date: Thu, 3 Feb 2005 09:37:48 +0600 > From: Ilya Palopezhentsev <[EMAIL PROTECTED]> > To: Nikolay Avrionov <[EMAIL PROTECTED]> > Subject: Re: [ngl-devel] NUI Performance Analysis > Reply-To: [EMAIL PROTECTED] > > > I was really impressed by NUI huge number of > > components, but the poor performance makes it > unusable > > for any real application. > I tested NUI in September and can second this > statement. NUI looks > cool but hardly can be used for CPU-intensive task. > (I planned to use > it in an audio app where CPU is the main working > force). > > I'm sure it can be made faster, because OpenGL > should actually > _accelerate_ performance, not slow it down. Though, > I do not have > concrete patches :( > > > > > --__--__-- > > _______________________________________________ > ngl-devel mailing list > [EMAIL PROTECTED] > https://mail.gna.org/listinfo/ngl-devel > > > End of ngl-devel Digest > __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250