[osg-users] Terrapage loader and bad data?

Tomlinson, Gordon GTOMLINSON at overwatch.textron.com
Mon Sep 15 12:13:47 PDT 2008

Don't know about your specifics but when I was working with the TXP
stuff a while ago it would throw a one all over the place never found a
way to stop the dang things...


Gordon Tomlinson

Product Manager 3D
Email  : gtomlinson @ overwatch.textron.com

(C): (+1) 571-265-2612
(W): (+1) 703-437-7651

"Self defence is not a function of learning tricks 
but is a function of how quickly and intensely one 
can arouse one's instinct for survival" 
- Master Tambo Tetsura


-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of
Sent: Monday, September 15, 2008 12:10 PM
To: OpenSceneGraph Users
Subject: [osg-users] Terrapage loader and bad data?


When loading certain (many) terrapage files I notice that there are a
lot of failed calls to getData. It seems as if it's often trying to read
beyond the limits of the buffers that it has. For example it constantly
calls "throw 1" in functions like:
trpgMemReadBuffer::GetData(char *ret,int rlen) after failing a
"TestLimit" call.

I'm curious about this. These exceptions are obviously being caught and
the loader recovers (the terrain does load) but I'm not sure what these
exceptions mean. Do they mean I'm loading a terrain that's not of a
version that the loader understands? Does it mean that the data in the
terrain is formatted badly?

Anyone have any insight?

osg-users mailing list
osg-users at lists.openscenegraph.org

More information about the osg-users mailing list