On Mon, Jun 2, 2008 at 11:46 AM, John Vidar Larring <[EMAIL PROTECTED]> wrote: > Hi Robert, > >> Could it be that I have compiled the OSG uses a release build and >> you've compiled debug, or not enabled the release build. > > Due to debugging etc. I went blind to the fact that I was doing the timing > of the test application in debug mode. In release build the updated after > vertical scaling took approx 4-6 secs. which is significantly less than 16 > secs., however, a 1 second delay as you report would definitely be > preferable.
Differences in the models and hardware could make up the delta between what we've seen. Ideally we see real-time rates of update, i.e. change the vertical scale and see the result in the next frame without any frame drops - this is possible when using shaders, but this obvious requires lots of code changes. Making the existing code update the vertices and normals in response to vertical scale changes would be the next most efficient way to do it. However, I don't have either of these more advanced approaches in my schedule, so for the time being we'll just have to put with less than stellar performance when interactively updating the scale. Most apps won't ever touch the vertical scale so it's rather a niche requirement. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

