[EMAIL PROTECTED] wrote:
Hi,

I'm implemented a geomipmap terrain in a larger project, the project is using OpenSG, and the problem is that according to the algorithm I need to be constantly creating new geometry (the terrain patches with different LODs). This makes the application slow when it is creating the patches (when the camera moves), I was wondering if there is anything that could be done to accelerate this.

You could try to keep a cache of patches and reuse them, thus minimizing the number of alloc/free that is being done.

Also, note that OpenSG by default builds display lists by default for your geometry (this can be disabled on specific geometries). This means that the first rendering of an object after a creation/change will be slow.

You will have to think about whether this is suitable for your application or not, and maybe disable display lists (perhaps selectively) in order to maxmize performance.

/Marcus


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to