[osg-users] slow rendering of large quantities of text

2021-04-29 Thread Robert Kiser
Hello All A question about how to improve the performance of rendering a lot of small pieces of text. For example, I am rendering a point cloud of 5014 points (rendered as small spheres). On my machine, this takes about 0.86 seconds. Very acceptable. But when I add a text object to note

Re: [osg-users] slow rendering of large quantities of text

2021-04-29 Thread Robert Osfield
Hi Bob, Are you doing your tests with debug or release build of the OSG? How long are the labels and how what is the range of characters that they labels have? What properties do you set on the text labels? i.e. autoscale/autorotation etc? Robert. -- You received this message because you are

Re: [osg-users] slow rendering of large quantities of text

2021-04-29 Thread Robert Kiser
Thanks for the quick reply! 1. I believe I am using the release build of OSG, in Release|x64 mode. 2. The labels are just numbers, like: "1", "387", or "5014". (without the quote marks.) All are unique, corresponding to the number of the point in the point cloud. 3. I have tried it with

Re: [osg-users] slow rendering of large quantities of text

2021-04-29 Thread Robert Osfield
Hi Bob, The performance of creating the labels is an oddity, 5000 labels is quite a few but surprised it's taking that long. I don't have any suggestions as to what is causing things to be so long. For the type of task you have a general purpose text class like osgText::Text will not be the