Hi, Robert,
Robert Osfield wrote:
Without knowledge of the actual format/loader this looks like a
fragile loop to me.
Grumble, grumble...
Yeah, I had problems with this before. I was hoping 0.1 would be
enough, but not too much of a tolerance. Basically, the vertices array
holds a quad that is going to be tessellated, and
dispInfo.start_position indicates which vertex is to be the start of the
tessellation (the code inside the loop just rotates the vertices until
the 0th vertex is the start. Unfortunately, start_position doesn't
always hold the exact value of one of the vertices.
The odd thing is, the map loads for me with that code.
I'll try re-working it to use a distance computation instead (this will
at least avoid the infinite loop).
--"J"
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org