Norman Vine wrote:

> Curtis L. Olson writes:
>  
> > Could the hitlist code be overly aggressive on what it's caching
> > internally?
> 
> Maybe - should be easy enough to back out almost all of the
> modifications as I do not believe that the Interface ever changed
> much

Oh yea - there is an indexing bug in the FAST TRISTRIP logic that 
somehow never got changed even though the fix was in several of 
my submissions

maybe this has finally reared it's head if the scenery has hit a 
tristrip but I didn't think we were actualy using any yet

easiest to check by just falling back to the 'slightly' slower version
by changing the lines in 

void FGHitList::IntersectBranch( ssgBranch *branch, sgdMat4 m,
                                 sgdVec3 orig, sgdVec3 dir )
....

-       GLenum primType = ((ssgLeaf *)kid)->getPrimitiveType();
-       IntersectLeaf( (ssgLeaf *)kid, m, orig_leaf, dir_leaf, primType );

to

+         IntersectLeaf( (ssgLeaf *)kid, m, orig_leaf, dir_leaf );




_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to