performance

81 views
Skip to first unread message

Darrell Esau

unread,
Nov 14, 2012, 10:46:05 PM11/14/12
to os...@googlegroups.com
Hi Cedric et al,

In a previous thread, you mentioned that to get good performance rendering thousands of quads, I need to perform one render call.  I'm not quite sure what this means - can you elaborate slightly on this?

Specifically, this is what I'm doing:

My scene has a number of textured quads which render a globe (again - ReadyMap).  From there, I've appended thousands of quads (either textured or just using custom shaders) to the root node.  So -- when the root node rotates, all of my geometries also rotate.  That rotation gets quite slow when there are around 1000 quads added.  500 is still good performance (this is while using an AMD Radeon HD 6870).  

However, I've seen many examples (and most recently: http://workshop.chromeexperiments.com/stars/) which are able to render thousands of points quite smoothly.  

Any pointers?

Thanks again!
-d

Cedric Pinson

unread,
Nov 16, 2012, 7:25:55 PM11/16/12
to os...@googlegroups.com
What you will need is to merge you geometry in one call. I improved performance in osgjs since version 0.0.5 so I guess it would be better to upgrade, but I know you can't is there an url I could try to make a bench ?
Did you try to profile performance in chrome dev tools ?

Cedric Pinson
Provide OpenGL, WebGL services
+33 659 598 614 - 
http://cedricpinson.com - http://osgjs.org - http://sketchfab.com

Yulia

unread,
Feb 6, 2013, 4:40:25 AM2/6/13
to os...@googlegroups.com
Hello Darrell!

I have read your messages here, and some your questions helped me. Cedric thank you for your answers.

In this time I work with the same things: ReadyMap and OSGJS. My goal is to place buildings model (*.osgjs) on globe. If I understand correctly, I can load a converting model only in osg-0.1.0, that's why I am in the process of changing ReadyMap from osg-0.0.5 to 0.1.0. In this moment it works with osg-0.0.7.

May be Webstorm can help you to program. It made my work easier.

Darrell Esau

unread,
Feb 21, 2013, 12:50:27 PM2/21/13
to os...@googlegroups.com
Hi Yulia,

I attempted to port ReadyMap to osgjs 0.0.7 and failed - if you can get this done, I'd love to see how you did it!

Thanks!
-darrell

Yulia

unread,
Feb 27, 2013, 3:38:41 AM2/27/13
to os...@googlegroups.com
Hello Darrell,

In a few days I hope I could place the results of my work on Github.

However it doesn`t work. I try to load my model and I add it in mapView.root, webGL inspector "see" a model, but I don`t find it in browser. I don`t know where is an error.
Reply all
Reply to author
Forward
0 new messages